Header RSS Feed
If you only want to see the articles of a certain category, please click on the desired category below:
ALL Android Backup BSD Database Hacks Hardware Internet Linux Mail MySQL Monitoring Network Personal PHP Proxy Shell Solaris Unix Virtualization VMware Windows Wyse

Share your desktop with VNC server on Linux (openSuSE 12.1)
Sunday - Aug 12th 2012 - by - (0 comments)

This is a fast and working method, how one can share his desktop session with VNC server on a Linux machine running X.
In this case I did it with openSuSE 12.1, but this should work on all Linux distros running X. Only the way how you install x11vnc may be different of course.

1. Install VNC Server program (x11vnc)

# zypper install x11vnc

2. Create the VNC password (otherwise no password would be required)

# x11vnc -storepasswd

By default, this will create a .vnc folder in your $HOME path, with a file called passwd:

3. Launch VNC server

# x11vnc -forever -rfbauth ~/.vnc/passwd &

And voilĂ , you can connect to your own desktop with a VNC viewer from a remote computer.

In case you want to share your desktop and want to confirm remote vnc requests, you can ask for a pop up window to appear:

# x11vnc -forever -rfbauth ~/.vnc/passwd -accept "popup" &

The popup will (by default) time out after 120 seconds. This can be set with -accept "popup:N".
See x11vnc --help for more details.


Add a comment

Show form to leave a comment

Comments (newest first):

No comments yet.

Go to Homepage home
Linux Howtos how to's
Monitoring Plugins monitoring plugins
Links links

Valid HTML 4.01 Transitional
Valid CSS!
[Valid RSS]

6938 Days
until Death of Computers