This is the best set of instructions that I have found: http://linuxreviews.org/howtos/xvnc/#toc13
They worked fine with both kdm (gentoo) and gdm (red hat). Are you running over ssh? If so, verify that you don't have any stagnant ssh sessions still running (yes, I wasted a lot of time before I figured that one out). Here's a bash script to open an ssh session, run the viewer, then close the session after the viewer closes: #!/bin/bash # usage: ssh-vnc localport remoteport [EMAIL PROTECTED] ssh -N -C -L $1:localhost:$2 $3 & PID=$! echo pid=$PID sleep 5 krdc --caption $3 -wc localhost:$1 kill -9 $PID The script does assume password-free ssh. HTH, Roy [EMAIL PROTECTED] wrote: >I emerged TightVNC and folow some instructions (Setup xinetd, Change the xdm >configuration, Configure your desktop manager, gdm, Set access, Add services) >from a wiki howto to configure it. But, after doing all the steps I still >can't make it work. When vncviewer is called I get the following message. > >bash-2.05b$ vncviewer localhost:71 >vncviewer: VNC server closed connection > >But that don't help me at all. There is a log with a bit more information? or >there is someone who face this problem before and solved it (would be great). > >Thanks > >Rodrigo > -- [email protected] mailing list
