Your last post is a bit hard to follow.
You seem to have resolved the dependencies
Now the problem is passwords? I think the trouble is that we are starting a
vncserver, for the first time, from
rc.local
The first time you start it, you need to think of and supply a password, but
rc.local cannot interact with you because you are not logged in. I think that's the reason for the error message.
So:
Comment out those
vncserver lines in
rc.local
Reboot, or just kill all
vnc processes
Start a vncserver for
user1 like this (for simplicity, I am going to delete the old passwd file, if it exists):
Code:
su - user1
rm /home/user1/.vnc/passwd
vncserver :1 -geometry 1024x768 -depth 24
You should be asked for a password (twice).
Give it. It then says "Starting applications specified in
/home/user1/.vnc/xstartup"
Make sure that the file
xstartup is starting the correct thing: I am using KDE so it just needs one line:
If you are using gnome, you'll need something else, or when you login to your vnc "desktop" you might find yourself at no desktop, or a very strange one. If this happens, kill the
vnc process, edit
xstartup so it will start the right thing, and re-try starting up a
vncserver
Now see if you can connect to the new desktop.
In a terminal:
vncviewer localhost:1
You will be asked for the password you gave earlier.
A new window will open in your GUI, for
user1's desktop.
Once you have it working for
user1, do the same (Assign passwords, make sure
xstartup is starting the right window manager, make sure you can connect) for the other users.
When all is happiness, uncomment the entries in
rc.local so the
vncservers can be brought up on different displays for the different users at boot.