Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5224

Graphics programming • Re: login to raspi with ssh -X; bookworm runs Xwayland; see xeyes on raspi display not desktop

$
0
0
figured it out.

Sorry I should clarify the main problem.
The context is that I develop code from a terminal on the desktop. The terminal is logged on by "ssh -X" to the raspi where the code is stored.
The code runs on the raspi. I have to see if the gui code creates a window that fits on the tiny raspi monitor. When the gui code is stable it will run in kiosk mode on the raspi.


Suppose user1 executes on the desktop

Code:

$ ssh -X user2@raspi$ export DISPLAY=:0$ xclock &
This only works if user2 is running the xserver on the raspi of course. Then the xclock appears on the monitor directly connected to the raspi as desired. That was what was confusing me. Silly but browsing other logs perhaps lots of other people were confused by that.

Statistics: Posted by garberw — Tue Feb 20, 2024 10:38 am



Viewing all articles
Browse latest Browse all 5224

Trending Articles