18

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.

Alex Chamberlain
  • 15,530
  • 14
  • 67
  • 113

2 Answers2

10

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 192.168.0.70 '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.

Jivings
  • 22,538
  • 11
  • 90
  • 139
2

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

user606723
  • 464
  • 3
  • 8