Difference between revisions of "Remote display connections"

From gr0x0rd
Jump to navigation Jump to search
Line 13: Line 13:
 
This is possible via a combination of tigerVNC and xrdp. First, make sure the ''server'' USE flag is configured for tigerVNC.
 
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
 
  '''$''' 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
 +
<pre>
 +
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"
 +
</pre>
 +
  
 
<!--
 
<!--

Revision as of 15:05, 24 November 2016

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"