I have local machine (A) and Raspberry PI 3 (B).
B has HDMI monitor connected, and is running Raspbian OS.
I want to run X application on A - say Libre Office Impress presentation that I have on A, and have it visible (be displayed on) on screen connected to B.
I want to do that in front of A machine:
- not by
ssh -X to_Afrom B,
- nor using VNC from B to get output from A
I am not looking for:
- Running X app on B using ssh from A and having its output displayed on A (this can be done either by
from_a $ ssh -X machine_Bor rdp/remmina/vnc clients)
- Running X app on B using ssh from A and having its output displayed on B (this can be done either by exporting display in ssh and proper configuration of xhost, for example
from_a $ ssh machine_b from -> at_a_but_sshed_onto_b $ xhost + && export DISPLAY=:0 xeyes)
- solution that requires direct physical access to B
What I tried, was setup (B) in order to run remote X items...if I haven't forgotten about anything - since
nmap -p6000 machine_B returned that port is closed, and running (from A's commandline):
A_machine $ env DISPLAY=B_machine:0 xeyes
where B_machine is set in
/etc/hosts as well as
What I suspect, is that I miss entirely step with copying X11 magic_cookies from .Xauthority...but maybe this step is not necessary and there is a simpler way?
Edit: in response to @Rostislav Kandilarov question - it would seem that lightdm starts X server, but soonest I'll be able to check that its Monday, as well as verifying if it starts with