Remote Administration with VNC
From Rivendell Wiki
To remotely administer a Rivendell system it is usually necessary and desirable to be able to access the desktop being displayed on the local monitor (i.e. display :0). While the process for doing this can vary among the Linux distributions, these examples will hopefully point you in the right direction. I will assume that you have already installed the packages that are mentioned below.
NOTE: Port 5900 must be open if a firewall is used.
Contents |
Configuration on Suse
- Open YaST Control Center->Hardware->Graphics Card and Monitor
- Goto Remote Access
- Check "Allow access to display..."
- Check "Activate Password..." and enter in a password
- Click OK
- Reboot Suse or restart X server
You could skip step 1 by running sax2 directly from a console.
NOTE: Setting up Remote Access as described above is different then enabling Remote Administration (during installation of Suse or YaST->Network Services->Remote Administration). Remote Administration allows you to log in to a new session (i.e. display :1) which cannot be viewed by the local user.
Generic Configuration using x11vnc with KDE
Enter these commands in a console as the Rivendell user (i.e. rduser):
mkdir ~/.vnc x11vnc -storepasswd "password" ~/.vnc/passwd
Put this in the ~/.x11vncrc file:
display :0 rfbauth /home/rduser/.vnc/passwd forever bg o /home/<user>/.vnc/log.txt #may be omitted if logging in not desired
Now to autostart it each time the Rivendell user logs in:
ln -s /usr/bin/x11vnc ~/.kde/Autostart/x11vnc
Now reboot or logout and back in.
Remotely Connecting to Rivendell PC
After setting up your Rivendell PC as described above, you can connect to it using a VNC viewer running on any VNC compatible OS (i.e. Linux, Windows, Mac, etc.). Some examples are:
In your VNC Viewer enter the IP address or hostname of the Rivendell PC, a colon, and the display to connect to (0 in our case). For example:
192.168.123.100:0
Your VNC Viewer should then connect and prompt you for the password that you entered when you configured the Rivendell PC for Remote Access. This password is unrelated to the Linux user accounts. After entering the correct password, you will be able to see AND control the same desktop that is visible on the Rivendell's PC's monitor.
External Links
- How to Remote Control Linux (includes text and video tutorial)
- Real VNC Native X display support
- libvnc fails to load on Suse 10.2

