Oh, sorry. "ken" is my username on that machine. You would use yours. You have to assign a username to each vncserver. It's like a detatched desktop, and desktops are always associated with a particular user.
The number 8 is the X display number. By default, the physical terminal is assigned 0, so I guess usually you would start with 1 in vncservers, but I used 8 for some reason. I don't think it matters what number you use, though there is surely some upper limit. Quote: |
Can vnc server start like Remote administrator which allow user to see login screen to choose who to sign in as?
| I'm don't know. But if you just run 'vncviewer' with no arguments, you get a tiny window prompting you for a VNC server. So you can type in 'homepc:1' for X display number 1 on the host named 'homepc'. Quote: |
can vnc server work just like ftp, telnet or http which do not require login to activate or start?
| Oh, I forgot another detail. You must have a file ~/.vnc/passwd with mode 0600, which is used for authentication. Create it with the 'vncpasswd' command. I think you can create it with an empty password, which would allow password-less login (maybe a bad idea).
But here's what I do that is even better. Create the passwd file on the host I will be logging into (assume it's 'homepc'). Then copy it securely to the remote PC I'll be logging from, but name it ~/.vnc/passwd_homepc or something. Then create this script: Code: #!/bin/sh
exec vncviewer -passwd ~/.vnc/passwd_homepc homepc:1
Then just run the script or call it from a menu to have your remote desktop popup. Another user can't use it unless he can log in as you (since the local password file is 0600), so it's not really a password-less login.
Of course this assumes you can reach homepc across a VPN or local ethernet or something. |