X Windows

X Server

  1. VcXsrv is a very good option for Windows.
  2. Xming
  3. Cygwin X

Discussion on differences between Windows X Servers.

Good setup instructions for both options:

How can I connect to a remote X server without SSH?

Xrdp with XFCE on Manjaro

These instructions are a short version of arch Xrdp Wiki.

  1. Install xrdp
  2. Install xorgxrdp
  3. Create if missing or update /etc/X11/Xwrapper.config with line:

Note: The Xwrapper.config change is supposedly obsolete, but it was required to get screen properly displayed.

Start or restart services:

systemctl restart xrdp
systemctl restart xrdp-sesman


Enable XDMCP On the Remote Machine (server)

[Ubuntu 12.04 LTS+]() instructions work:

Ubuntu 12.04 LTS uses lightdm by default. XDMCP is disabled by default but can be enabled by adding the following to “/etc/lightdm/lightdm.conf”

[XDMCPServer] enabled=true

Restart lightdm after this:

sudo restart lightdm

You should now be able to query the server.

Putty Display Integration

  1. Enable X11 forwarding.
  2. Use option MIT-Magic-Cookie-1.

Enable XDMCP on Manjaro

(Ubuntu instructions for 12.04 work).

Manjaro Solution for XDMCP:

There is no preinstalled solutions but you can activate and run XDMCP protocol. It is native.

XDMCP is insecure and unencrypted - do NOT enable on public accessible networks.

As long as you do it on a local network you can use XDMCP and use the Xming X server for Windows. It is fairly easy to activate on a Manjaro installation which uses the LightDM display manager.

Edit /etc/lightdm/lightdm.conf

Under the section [XDMCPServer] remove the # in front of enabled= and change the value to true

Download and install the Xming server and you should be able to connect to your Manjaro box and run it like RDP on Windows.


The beauty of XDMCP is that you don’t have to launch the entire desktop - you can launch a .desktop file on connection and run a single app as if it were local to your machine.

Everything - including file system - will be the remote filesystem.

You can even launch it remotely over SSH which ensure the privacy of the connection.

Starting standalone:

$ xfdesktop --display=localhost:10.0
$ xfwm4  --display=<local_machine_ip>:1.0
$ xfce4-session  --display=<local_machine_ip>:1.0

Other References

  1. X Windows: Remote X to Linux has instructions to Plain Old Vanilla X11 Remote Connection.
  2. forum on connect to remote X server

Full Remote Session

  1. Using Xnest or Putty/VcXsrv to Start a Full Remote Session

Alt-Tab and Win-Tab Don’t Work in Fullscreen Mode

How to start clients: Open Session via XDMCP.

Can’t do anything with Alt-Tab.

For Win key to work add to Additional parameters for VcXsrv input box:


The option add the argument to the executable when it is started.

XFCE Screen Goes Black After Inactivity

Options to try:

  1. Disable monitor power management.
  2. Review discussion


Manual VNC approach:

  1. Install x11vnc server.
  2. start from currently running X11 desktop session with command x11vnc -noshm
  3. connect from VNC Viewer to IP address.

For integrated VNC server check /etc/lightdm/lightdm.conf for XFCE desktop.