-
Notifications
You must be signed in to change notification settings - Fork 9
X11 over ssh
Frank Bauernöppel edited this page Jan 15, 2019
·
2 revisions
This applies only when the Yocto image was built with X11 support (which is not the default) or Raspian or other off-the-shelf distros are used.
Raspi needs to be connected to a XServer via network. For a Linux host, this works out of the box. for a Windows host, you might want to try VcXsrv
From the host, login on the Raspi via ssh:
(root is the user on Raspi, for Raspbian this is pi, set IPv4 address of Raspi accordingly)
frank@Mothership17:~$ ssh -X pi@192.168.2.114
once logged in, set some environment variables (set IPv4 address of XServer host accordingly) for this ssh session:
pi@raspberrypi:~ $ export DISPLAY=192.168.2.116:0.0
pi@raspberrypi:~ $ export LIBGL_ALWAYS_INDIRECT=1
Check that your X11 Server allows connection from remote network clients.