Could one user be logged in to a virtual console and using Wayland while another user be logged in to another virtual console and using X11?It is simple to determine what compositor is in use on a host over ssh, but of limited value because if you are accessing the Pi remotely it will be using X.
I use the following code fragment :-Code:
if pgrep labwc > /dev/null; then echo "Running labwc"elif pgrep wayfire > /dev/null; then echo "Running wayfire"elif pgrep Xorg > /dev/null; then echo "Running Xorg"else echo "No Desktop"fi
I would assume this is possible, but never had the interest to try.
Statistics: Posted by ejolson — Mon Jun 15, 2026 3:49 am








