Debian Admin - Your way to Debian World

October 25, 2006

Remotely administring Machines Using X11VNC

by @ 5:36 pm. Filed under General

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

x11vnc - VNC server uses current X11 session.x11vnc allows one to view remotely and interact with real X displays (i.e. a display corresponding to a physical monitor, keyboard, and mouse) with any VNC viewer. In this way it plays the role for Unix/X11 that WinVNC plays for Windows.

Limitations of X11vnc

VNC uses a separate authentication system. It’s not yet integrated with PAM, for example.

Users need to know the X display number to which they can connect.

Unlocking a screen remotely also unlocks it locally.

Install X11VNC in debian

#apt-get install x11vnc

This will complete the installation

Now you need to start the x11vnc server using the following command

#x11vnc

or

#x11vnc -many

-many parameter means that when a connection is terminated it starts listening again for many more incoming connections

After starting vnc session it will give you a warning message telling about you are running x11vnc without password if you want to enable password you can do so and end of that it will provide a desktop number you can connect example you can see as below

Example

the vnc desktop is debiantest:0
port 5900

debiantest is my machine name

If you want to test your x11vnc you need to install any one of vnc viewers.You can use tight VNC viewer and you can download from here

Now if you want to use password protected VNC sessions you can use any one of the following options

x11vnc -storepasswd password /path/to/passfile

or x11vnc -storepasswd /path/to/passfile

or x11vnc -storepasswd (this will use ~/.vnc/passwd)

example

#x11vnc -storepasswd ’secret password’ ~/.clientpasswd

Once the password has been stored you can tell the server to use it using the following command

#x11vnc -rfbauth ~/.clientpasswd

Make sure any -rfbauth and -passwdfile password files cannot be read by untrusted users.

If you want to know all the available command line options check here

Installing VNC Client in Debian

#apt-get install xvnc4viewer

Once it’s installed you can connect to a running server by using:

#Xvnc4viewer hostname

If invoked with no arguments you’ll be prompted for the host you wish to connect to, and if necessary a password.

Tags: , ,

You may also be interested in...

Leave a Reply

Subscribe RSS Feed

subscribe to the Debian Admin RSS feed

Internal links:

Sponsors:



Categories:

Support Debian Admin

Amount $:
Website(Optional):

Sponsors:

Archives:

Related Links:


Favourite Sites:

Wordpress Collection
Windows Reference
Ubuntu Geek
DebianHelp
All About Debian Tutorials
Power Electrical
Check Your IP Here
Debian,Ubuntu News
DebCentral
Tuxmachines
Capnkirby
Libervis
Nuxifield
Linux Horizon
Linux Appfinder
Debuntu
GNU/Linux For Everyone
Free Penguin
DebianAdmin is not related to the Debian Project.
This site is copyright © 2006,2007 Debian Admin
All Trademarks are the property of their respective owners.
The contents of this website may not be mirrored or archived without the express written permission of DebianAdmin Site Owner.

DISCLAIMER: All the information, troubleshooting methods, utilities offered in this website is provided AS-IS, without any warranties. Though I strive for perfection, and always test the validity and effectiveness of the troubleshooting content in various systems, I assume no responsibility for your use of these Fixes, Utilities and other troubleshooting advice. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason. All use is completely at your own risk. Changes to the existing content and new additions are made to this website periodically, without notification.
Rodney's Kontera DynamiContext Plugin plugged in.