Problem installing VNC
Posted: Sun Nov 21, 2010 7:13 pm
I've just re-installed Fedora and Amahi to a new disk in my server. Everything seemed to go fine until I tried to get VNC installed. I followed the steps in the wiki but when I got here:
service vncserver start
it failed saying No displays were defined. So I followed the next step as root:
* Edit /etc/sysconfig/vncservers and change lines as follows (username is your linux user for the VNC session):
VNCSERVERS="2:username"
VNCSERVERARGS[2]="-geometry 1024x768 -nolisten tcp -localhost"
But when I tried to start the vncserver as username it asked for a password which I gave it then it failed saying it couldn't open /home/username/.vnc/passwd for writing.
So I tried the # passwd command as username but it did nothing.
Interestingly, vncserver will run under root and I can access it from vncviewer as root but not as my username. This is curious because the first time I installed Amahi, VNC installed without a hitch. Can anyone shed some light here?
Thanks!
service vncserver start
it failed saying No displays were defined. So I followed the next step as root:
* Edit /etc/sysconfig/vncservers and change lines as follows (username is your linux user for the VNC session):
VNCSERVERS="2:username"
VNCSERVERARGS[2]="-geometry 1024x768 -nolisten tcp -localhost"
But when I tried to start the vncserver as username it asked for a password which I gave it then it failed saying it couldn't open /home/username/.vnc/passwd for writing.
So I tried the # passwd command as username but it did nothing.
Interestingly, vncserver will run under root and I can access it from vncviewer as root but not as my username. This is curious because the first time I installed Amahi, VNC installed without a hitch. Can anyone shed some light here?
Thanks!