Tuesday, January 6, 2015

Sending a window to different display


(you do this only once)
In your desktop install SSH server
sudo apt-get install openssh-server

From your laptop:

ssh -X username@desktop_pc_ip
In the terminal you get whatever you run will be on your desktop but displayed on your laptop. If you want to do the same while seated on your desktop (and send windows on your laptop) then go on.
On your terminal you run
This will show you something like:

From your desktop:

Open a terminal and run
DISPLAY=:10.0 firefox
This should send a firefox window on your laptop but running on your desktop. Make sure the number you put (e.g. 10.0) is the same as in the echo result

No comments:

Post a Comment