Friday, August 5, 2011

Setting up a Remote Desk Top View in Linux

Had a really hard time doing this.  There were two problems. VNC password and an ignored shift-key.

Host System
  • VNC has it own password setup.  I was thinking that the password was the user on the host system.
    • Setup a password using the first 8 chars of the system password.
$ vncpasswd
Using password file /home/stan/.vnc/passwd
Password: 
Verify:   
Would you like to enter a view-only password (y/n)? n


$ sudo x11vnc -nomodtweak -forever -usepw -httpdir /usr/share/vnc-java/ -httpport 5800
...
PORT=5900

There will be a port address given at the end that will need to be used in the VNC client.



Guest System

Found 3 options, all of which seem to work:

  • Terminal Server Client
    • using RealVNC vncviwer
      • This can be seen running the following command from a commandline.
        • $ vncviewer -?
        • The copy right is by RealVNC Ltd.
    • Terminal Server Client is selected from the menu; however, is you do 'ps aux | grep vncviewer' you can see it.
    • give IP:port
    • Set protocol to 'VNC'
  • Remote Desk Top Viewer
    • gives a command line.
  • TightVNC
    • full source code available, but no opensource
    • EXE for windows
    • java jar
      • $ java -jar tightvnc-jviewer.jar

No comments: