I have a desktop running Ubuntu 10.04 (which I should upgrade - I know!), which uses GDM. It currently has 2 screens installed, which are configured using xorg.conf. It includes using xinerama to act as one large display.

Is it possible to use an Xserver on the RPi as another display in this configuration? I'm happy to use any RPi distribution, but Arch is currently installed. To clarify, I want to extended my computer's desktop across the Pi.

2 Answers 2


I am doing this right now, however not using xorg configuration, as I hate editing that horrible file. Using this method requires the Pi to be plugged into the second monitor and works by sending your mouse and keystrokes over SSH to the Pi's xsession. This may not be what you want. However, it is much easier.

This is achieved by using x2x, which can be installed and set up very easily.

Install x2x on both devices:

sudo pacman -S x2x

Configure SSH:

On the Raspberry Pi edit /etc/ssh/sshd_config and add/uncomment the following line:

X11Forwarding yes

and restart sshd using

sudo /etc/rc.d/sshd restart

SSH to the Pi from your other device and run x2x:

ssh -X 'x2x -east -to :0'

Replace the IP with the address of your Raspberry Pi.

Now you should be able to move your mouse between the two X sessions.

  • 2
    Synergy can be installed to accomplish something very similar.
    – user606723
    Commented Jul 3, 2012 at 11:15
  • Synergy just moves the mouse and keyboard, right? You still run programs on the Pi. I just want to use it as a display. Commented Jul 3, 2012 at 11:17
  • I get an error No protocol specified x2x - error: can not open display :0 Commented Jul 3, 2012 at 11:20
  • I've got it working! And you're quite right, it's not what I want... Commented Jul 3, 2012 at 11:33
  • I'm interested in doing domething similar. What is not working? Commented Jul 3, 2012 at 12:32

With a little hacking, you might be able to pull it off. What you'll need to do is set of a "fake" display and then use VNC to connect to that display.

This would basically be replicating what zonescreen does. http://www.zoneos.com/zonescreen.htm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.