Remote display connections
Configuring your system - Remote display connections
Remote Desktop
Windows users will be familiar with remote desktop, which uses the RDP protocol. There are a number of linux clients that provide connectivity using RDP. Before you continue, you may want to ensure the rdesktop USE flag is set in your make.conf, or per-package as below.
The rdesktop package provides command-line functionality for RDP connections. There is a gtk based frontend for the redesktop package called grdesktop, which is what we will focus on here.
$ sudo emerge -av grdesktop
Once the emerge has completed, you can start the gui and create an RDP connection using the Network -> Remotedesktop Client item in your menu.
Inbound Remote Desktop Connections
This is possible via a combination of tigerVNC and xrdp. First, make sure the server USE flag is configured for tigerVNC.
$ sudo emerge -av xrdp
After the emerge, configure the tigerVNC server. You'll need to specify the user whose X environment should be virtualized, and the environment specifics.
$ sudo nano /etc/conf.d/tigervnc
DISPLAYS="username:1" # Specify any of vncserver(1) and Xvnc(1) options. See the respective man pages for more information. VNC_OPTS="-depth 24 -geometry 1280x800"
You will also need to set a password for vnc.
$ vncpasswd
When done, start the VNC server and add it to startup if desired.
$ sudo /etc/init.d/tigervnc start $ sudo rc-update add tigervnc default