4

I want to forward an Xsession over ssh to another system, but I get this error:

Fatal server error:
Server is already active for display 0
    If this server is no longer running, remove /tmp/.X0-lock
    and start again.

I don't want to kill the currently running Xsession. How can I start a new Xsession for ssh forwarding?

Running Ubuntu 12.04 on both client and server.

Rucent88
  • 2,058

1 Answers1

4

As an alternative solution to your problem, you can reuse the existing display :0 for running applications.

DISPLAY=:0 ssh -X username@192.168.0.100

Source:
http://www.raspberrypi.org/phpBB3/viewtopic.php?t=8455

Seth
  • 59,332
Sepero
  • 4,627