Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I want to display the desktop of my raspberry pi on my laptop. On the rPI runs Raspbian with LXDE. I am on Ubuntu 12.04/awesome. Is it possible to display the complete rPi-desktop on my laptops Xserver?

I dont want to see just windows with the ssh -X ... way. I want to have the complete desktop.

As I read VNC sends just picture over the net. And what exactly NX does, i did not understand really :D. Some compression on top of X11...

What is the real raw X windowing system remote desktop procedure?

share|improve this question
    
The “real raw X remote desktop procedure” is X forwarding, which is ancient and terrible to use over any connection that has a higher latency than LAN. That's why there are several attempts to reduce the number of passed messages. X a very low level protocol, e.g. compared to RDP which is aware of the windowing toolkit and its GUI objects. –  Marco Mar 16 '13 at 16:49

2 Answers 2

The "raw" version of connecting to a remote server and run X11 applications would be configuring XCDMCP on the rPi and the connecting to it from your Laptop with something like this:

X -query <ip>

This setup works fine in a LAN, but if you need a connection over the Internet, configuring something like NX is much better, it gives you less latency and an encrypted connection by default.

share|improve this answer
up vote 0 down vote accepted

Well first create a new nested Xserver:

user@host $ Xephyr :1 -screen 800x600 &

A window called "Xephyr on :1" should spawn. Ssh into the remote host an forward the display to the created display:

user@host $ DISPLAY=:1 ssh -Y username@remotehost

Now start a session on the remotehost, in my case LXDE:

user@remotehost $ lxsession

You should now see the desktop in Xephyr.

Otherwise a second xServer could be created.

hf

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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