Date: Wed, 06 Feb 2002 04:34:10 -0800 From: Terry Lambert <tlambert2@mindspring.com> To: questions@freebsd.org Subject: VNC and KDM/KDE interaction Message-ID: <3C6122C2.A93A97B7@mindspring.com>
next in thread | raw e-mail | index | archive | help
It seems that there should be a FreeBSD-X list... I am using the VNC server on FreeBSD to bring up an X server on display :1 that I can then log into using a VNC client. Rather than using the "vncserver" program, which requires that you change the permissions on the local X11 FIFO directory, letting everyone write it, and rather than sticking the server to a single user, I decided to run it so that I could log into and out of it, to permit many users to use it. Toward this end, I removed the "DisplayManager.requestPort" line from the end of "/usr/X11R6/lib/X11/xdm/xdm-config", so that the KDM will serve XDMCP requests. Then I added the following to the /etc/rc.local directory, so that the VNC server would be there, when the machine was up: /usr/X11R6/bin/Xvnc :1 -desktop X -httpd \ /usr/X11R6/share/vnc/classes -auth \ /root/.Xauthority -geometry 1000x740 \ -depth 8 -rfbwait 120000 -rfbauth \ /root/.vnc/passwd -rfbport 5901 \ -query localhost -dontdisconnect The "-geometry" line makes it come up on a 1024x768 Windows client without scroll bars. 8-). I also added a "/usr/X11R6/lib/X11/xdm/Xsetup" file, with an "xsetroot" in it (for obvious reasons). Everything appears to work fine with this setup, except... logouts from KDE take a very long time to take effect, leaving the sreen at the KDE login. Would it be better to have the /etc/ttys version of KDM also start the Xvnc server? It's not obvious to me, but it seems that the logout is perhaps depending on the X server being stopped, therefore killing off the clients, rather than the logout itself doing the kill? Is this a known KDM/KDE problem with remote/non-standard X servers? -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C6122C2.A93A97B7>