I just started using a Raspberry Pi 4 Model B which I flashed to "Debian GNU/Linux 12 (bookworm)" using the Raspberry Pi Imager. I'm trying to display X-windows apps back to a Mac (macOS Sequoia 15.4) on which I installed the latest version of XQuartz available on xquartz.org (v2.8.5) on the Mac. It seems to have installed correctly because when I use the command , XQuartz fires up in the Mac Dock. At this point, I'm logged into the Pi, but I've run into a couple of issues:
First is that it doesn't seem like many X-windows apps are preinstalled on the Pi. There is a /etc/X11 folder, but few things living there (and it's not in the default path). Some of the forum posts and blogs I've found on this topic indicate that you should be able to automatically run common X apps like xeyes, etc., but I can't find any of them on the Pi. So I guess the first question is how would I install them (is there an apt package for them)?
Secondly is that when I try one of the apps that *is* on the Pi (several blogs suggest trying lxsession which does exist in /usr/bin), I never get a window opening on the Mac, nor does it seem to throw any errors. For example:
When I look in the log file, it shows quite a bit of set up entries, but then it logs a couple of warnings which seem to hint at the fact that files it expects cannot be found, e.g.:
Then finally, it throws this error a number of times:lxsession never exits itself; I have to break out of it. So wondering if I'm missing some key packages to make this work?
Thanks in advance.
Code:
ssh -X <Pi IP address>
First is that it doesn't seem like many X-windows apps are preinstalled on the Pi. There is a /etc/X11 folder, but few things living there (and it's not in the default path). Some of the forum posts and blogs I've found on this topic indicate that you should be able to automatically run common X apps like xeyes, etc., but I can't find any of them on the Pi. So I guess the first question is how would I install them (is there an apt package for them)?
Secondly is that when I try one of the apps that *is* on the Pi (several blogs suggest trying lxsession which does exist in /usr/bin), I never get a window opening on the Mac, nor does it seem to throw any errors. For example:
Code:
$ lxsession** Message: 11:58:22.122: main.vala:103: Session is (null)** Message: 11:58:22.122: main.vala:104: DE is (null)** Message: 11:58:22.122: main.vala:108: No session set, fallback to LXDE session** Message: 11:58:22.122: main.vala:114: No desktop environnement set, fallback to LXDE** Message: 11:58:23.004: main.vala:135: log directory: /home/shawn/.cache/lxsession/LXDE** Message: 11:58:23.005: main.vala:136: log path: /home/shawn/.cache/lxsession/LXDE/run.log
Code:
...** (lxsession:3246): WARNING **: 11:59:53.687: process.vala:49: Failed to execute child process “xprop” (No such file or directory)** (lxsession:3246): WARNING **: 11:59:53.687: process.vala:50: Error when launching xprop...** Message: 11:59:54.215: app.vala:76: Launching lxpanel ** Message: 11:59:54.224: app.vala:76: Launching pcmanfm ** (lxsession:3246): WARNING **: 11:59:54.234: app.vala:86: Failed to execute child process “xscreensaver” (No such file or directory)** (lxsession:3246): WARNING **: 11:59:54.234: app.vala:87: Error when launching xscreensaver
Code:
(lxpanel:3254): GLib-GObject-WARNING **: 11:59:54.533: invalid cast from 'GdkWaylandDisplay' to 'GdkX11Display'** Message: 11:59:54.602: app.vala:130: lxpanel exit with this type of exit: 11** Message: 11:59:54.602: app.vala:148: Exit not normal, try to reload** Message: 11:59:54.605: app.vala:76: Launching lxpanel ** Message: 11:59:54.605: app.vala:130: /usr/bin/ssh-agent exit with this type of exit: 0(lxpanel:3338): GLib-GObject-WARNING **: 11:59:54.768: invalid cast from 'GdkWaylandDisplay' to 'GdkX11Display'** Message: 11:59:54.775: app.vala:130: lxpanel exit with this type of exit: 11** Message: 11:59:54.775: app.vala:148: Exit not normal, try to reload** Message: 11:59:54.782: app.vala:76: Launching lxpanel ...** Message: 11:59:55.625: app.vala:148: Exit not normal, try to reload** Message: 11:59:55.625: app.vala:156: Application crashed too much, stop reloading
Thanks in advance.
Statistics: Posted by shawnc1959 — Fri Apr 11, 2025 4:10 pm