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_ipIn 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 $DISPLAYThis will show you something like:
localhost:10.0
From your desktop:
Open a terminal and runDISPLAY=:10.0 firefoxThis 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
Post a Comment