i opened the terminal, without sudo su, then i vncpasswd ~/.vnc/passwd and ended up with server@server-desktop:~$ vncpasswd ~/.vnc/passwd Password: Verify: Couldn't open /home/server/.vnc/passwd for writing i used all of the passwords i would have used and the same error keeps appearing?? Thanks Dave
i entered that and ended up with No such file or directory, when i enter gliders code as this (hopefully it is right) server@server-desktop:~$ mkdir ~/.vnc nothing happens thanks Dave
Something does happen, it creates the directory (like it says in your error)... Try adding the password again
thanks i managed to get past this error and add the new pass word by following the steps you gave me, i then think i got past the making of the script as the file is there, but when i enter the next command sudo chmod 755 /usr/local/bin/sharex11vnc i get No such file or directory Many thanks again for you help, Dave
thanks glider, must have saved it in the wrong place But it is all working now and i am just about to setup the windows side of things will keep you posted Thanks Dave
i spoke to soon after setting up putty fine, i installed vnc on my windows pc i use the viewer and type in localhost:0 however instead of a password box i am given an error message connection failed- error reading protocol version, any ideas on what i need to change to get it to work Thanks Dave
Could be a number of things... Can you post the output of: Code: netstat -taunp | grep 5900 dpkg -l | grep vnc and the version of your VNC client (on the Windows machine)
i copied the code and heres what happened, server@server-desktop:~$ netstat -taunp | grep 5900 (Not all processes could be identified, non-owned process info will not be shown, you would have to be root to see it all.) server@server-desktop:~$ dpkg -l | grep vnc ii libgtk-vnc-1.0-0 0.3.4-0ubuntu2 A VNC viewer widget for GTK+ (runtime libraries) ii libvncserver0 0.9.3.dfsg.1-1ubuntu1 API to write one's own vnc server ii vnc4-common 4.1.1+xorg1.0.2-0ubuntu7 Virtual network computing server software ii x11vnc 0.9.3.dfsg.1-1ubuntu1 VNC server to allow remote access to an existing X session server@server-desktop:~$ im using ultravnc 1.0.5 Thanks Dave
Here are some other clients: http://www.karlrunge.com/x11vnc/#downloading Altough I don't think it's a client problem. Are you entering the correct password?
i dont even get chance to enter a password thats the annoying thing, il try some other hosts, no luck with them either, any more ideas??? Thanks Dave