Are you trying to remote control your new server? Do you want something that works and not using a lot of resources? My answer use x11vnc. x11vnc is a light weight VNC server that I use on my Lubuntu file server. I settled on this option after trying a few options and searching what other people suggest. You can install it using your distributions package manager.
The most basic command to run x11vnc in terminal using the command:
x11vnc -display :0
If you intend to constantly connect and reconnect; use:
x11vnc -forever -display :0
If you intend to run your Linux box using VNC and no monitor... You might want to make a simple script that runs at boot up. Create a file called startvnc.sh using:
#!/bin/sh x11vnc -forever -display :0
Save this file in /usr/bin and make it executable. If your using Lubuntu, you need to add the file to autostart. In terminal type in:
sudo leafpad /etc/xdg/lxsession/Lubuntu/autostart
At the end of the file add:
@startvnc.sh
Now you should be able to connect to your box remotely.
Here is a few other resources to help you expand upon x11vnc.
Add new comment