hi walter, thank you for your help. it is working better now. I'm running RH8.0 and KDE
Now it does not automatically boot into the gui desktop (I guess that is expected? what would I change if I wanted the system to have a gui (ctrl-alt-F7) and a vncserver available at boot up?). When I run vncviewer from another machine, it comes up nicely and I can run the gui apps. However, when I open a console there appears extra tabs or spaces between characters on the prompt and anything I type on the command line. Also if I su to root and try to run, say , kate, I get the message Xlib: connection to "SERVER:1.0" refused by server Xlib: Client is not authorized to connect to Server kate: cannot connect to X server SERVER:1.0 jonathan. ----- Original Message ----- From: "Walter Harms" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 13, 2003 5:51 AM Subject: vncsetup - step by setp > hi jonathan, > I asume you have a perfecly running SERVER with X11-login. > > 1. make sure that xdm accept xdcmp comment the following line > in /etc/X11/xdm/xdm-config > > !DisplayManager.requestPort: 0 > > (the ! is the comment symbol for X11) > restart the xdm so he reads the new config > go into a runlevel (should be 5) where see your xdm-login again. > > test the config: > go to the ascii console (ctrl-alt F1) > X :1 -query SERVER > > (:1 is the second server, :0 should be your acttual running one) > > (perhaps you try (ctrl-F8)) > this should show you the xdm yet again (break the Xserver with (ctrl-bs) > if ist grey only check XDM again. It should be possible from any > linux machine with an Xserver. > > > 2. edit /etc/services > add as many you would like to have: > # > vnc_0 5950/tcp # verserver 0 > vnc_1 5951/tcp # verserver 1 > > > > 3. edit /etc/inetd.conf (or xinetd.conf if you use it) > make sure that you have as many vnc_X in /etc/services as in /etc/inetd.conf > (and the same spelling!) > (check if the Xvnc is in /usr/local/bin your setup may vary) > > > # vnc serverstuff > vnc_0 stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc -inetd -query SERVER -once -geometry 1260x1000 -depth 16 > vnc_1 stream tcp nowait nobody /usr/local/bin/Xvnc Xvnc -inetd -query SERVER -once -geometry 1260x1000 -depth 16 > > restart the inetd (rcinetd reload, kill -1 what ever you like) > > 4. When you connect via 'vncviewer SERVER:50' you should see the xdm login screen > > > 5. if anything works you can adjust the setting in inetd.conf to your needs > > I tried some different setups (inclusive XDM only config but i was more > complex and caused some other problems as well. so i sticked with this one.) > > in not so secure notworks your should add access restrictions via > /usr/sbin/tcpd > > If you use kdm to need to enable the xdmcp stuff in the kdmrc as well. > > If your into problems again pl mail me. > > walter > > btw: dont blame me if you blow up your server :) _______________________________________________ VNC-List mailing list [EMAIL PROTECTED] http://www.realvnc.com/mailman/listinfo/vnc-list
