How to remotely access a linux machine.
vncserver -geometry 1024x768 -depth 16When running vncviewer for the first time, it asks for a password for full access to the session. If needed, you can also provide a password for view-only access to the session.
The password(s) you are providing here are also used for future sessions started by the same user. They can be changed with the vncpasswd command.
IMPORTANT: Security Considerations
Make sure to use strong passwords of significant length (eight or more characters). Do not share these passwords.
VNC connections are unencrypted, so people who can sniff the network(s) between the two machines can read the password when it gets transferred at the beginning of a session.
To terminate the session shut down the desktop environment that runs inside the VNC session from the VNC viewer as you would shut it down if it was a regular local X session.
If you prefer to manually terminate a session, open a shell on the VNC server and make sure you are logged in as the user that owns the VNC session you want to terminate. Run the following command to terminate the session that runs on display :1: vncserver -kill :1
To connect to a persistent VNC session, a VNC viewer must be installed. The standard viewer on SUSE Linux products is vncviewer, provided by the package tightvnc. You may also view a VNC session using your Web browser and a Java applet.
To start your VNC viewer and connect to display :1 of the VNC server, use the command
vncviewer jupiter.example.com:1
Instead of the VNC display number you can also specify the port number with two colons:
vncviewer jupiter.example.com::5901
Alternatively use a Java-capable Web browser to view the VNC session by entering the following URL: http://jupiter.example.com:5801