Nifty - but the problem with this approach is as you note - its a one user logon method. I need to be able to have multiple users be able to logon. The fact that your approach points to just a single user passwd means it won't work in my case.

Many thanks though...

Evan Cooch wrote:
Sounds intriguing - I'd very much like to know how you did that. If you think it of general interest, perhaps reply to the list. Otherwise, to me privately. The differences in X between HREL and Fedora are pretty striking, and causing me no end of headaches.
First, create your VNC password. This is what the viewer will ask for when you first connect to the server (before it even lets you get to the gdm login screen.) You can do this with root if you want. Type 'vncpasswd' on FC5. This will create /root/.vnc/passwd - a file you can then move to anywhere on the system if you so desire. Mine resides in /etc/vnc/passwd just because.

Next, open up /etc/X11/xorg.conf and look for the Module section. Add the following to the list:

   Load "vnc"

Now scroll down and look for the Screen module and just before the EndSection line, add the following:

Option "passwordfile" "/path/to/passwd" (in my case /etc/vnc/passwd)

Save the file and restart X. If you're already logged in through X, hitting CTRL-ALT-backspace will kill and restart the X server.

Now on your remote machine, open up the viewer and go to your server.domain.com. It will ask you to authenticate with a password which is the one you used earlier with the vncpasswd command. Once authenticated, it will give you the gdm login screen and you can login as any user.

Keep in mind that this method is a one user log on method. Everything you do remotely, someone can stand in front of the monitor of the server and watch your every move. For me it made no difference because no one goes in my office. But it might for you. Conversely, you can log in and watch what someone else might be doing on the server. Sometimes I forget to log out when I leave the office so I come home and log in remotely and find my desktop the way I left it.

   Hope this helps.
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to