Sending a window to different display



Preparation

(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
echo $DISPLAY
This will show you something like:
localhost:10.0 

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


Comments

Popular posts from this blog

Morning Quotes

QCalendarWidget CSS Stylesheeting