Step by Step on how to connect to coLinux using VNC with XDM authentication Author: James McDonald Date: 11/04/2005 I am using coLinux on a Windows XP Pro box with Debian installed. After doing these changes you will be able to connect by one of the following commands VNC vncviewer # 800x600 tcp/5900 vncviewer :1 # 1024 x 768 Cygwin XWin.exe :1 -screen 0 800x600 -query # 800x600 XWin.exe :2 -screen 0 1024x768 -query # 1024 x 768 NOTE: I don't cover making it secure in these instructions If you haven't already got X and KDE installed run these commands apt-get install x-window-system-core apt-get install kdebase # run apt-get install kde for everything edit /etc/X11/xdm/Xservers and comment out all the server entries coLinux will crash if it tries to launch a local X server and this stops that behaviour # :0 local /usr/X11R6/bin/X :0 vt9 -bpp 16 # :1 local /usr/X11R6/bin/X :1 vt10 -bpp 8 # :0 local /usr/X11R6/bin/X vt7 -dpi 100 -nolisten tcp # :0 local /usr/X11R6/bin/Xvnc -geometry 800x600 -depth 16 In some of the other instructions it says to put the value "null" into /etc/X11/default-display-manager however if you do the above step this is uneeded. edit /etc/X11/xdm/Xaccess and uncomment the following line #* #any host can get a login window so it is like this * #any host can get a login window edit /etc/X11/xdm/xdm-config and set "DisplayManager.requestPort" to 177 DisplayManager.requestPort: 177 edit /etc/inetd.conf and add the following (each entry must be on a single line) #:OTHER: Other services vnc-800x600 stream tcp nowait nobody /usr/sbin/tcpd /usr/bin/Xvnc :1 -inetd -query localhost -geometry 800x600 -depth 24 -once # securitytypes=none this only needed on readhat systems vnc-1024x768 stream tcp nowait nobody /usr/sbin/tcpd /usr/bin/Xvnc :2 -inetd -query localhost -geometry 1024x768 -depth 24 -once edit /etc/services and add entrys for the new services # Local services vnc-800x600 5900/tcp vnc-1024x768 5901/tcp Reboot coLinux Errors: I got a few xdm respawning too fast errors ... not sure why but adding the `-config' argument seemed to help