I already had vnc4server installed, so I started with step 3 which is to run vncpasswd to establish a password for the VNC connect. The first time I did this, I ran it as sudo and it didn't work so I had to go and delete the generated password file and do it again as my user account.
Next, I edited
 ~/.vnc/xstartup in vim. By default, 10.04 has the following lines commented out:#!/bin/sh unset SESSION_MANAGER
sh /etc/X11/xinit/xinitrcDigging into the log, I noticed that there was a permissions problem calling xintitrc. So, I ran
chmod +x /etc/X11/xinit/xinitrc, killed the server and tried again. This time it worked and all is well in linuxland.
 
 
 
No comments:
Post a Comment