You are not logged in.
I am running a 2 GPU System and trying to start BSWPM on my second GPU. I switched from AwesomeWM to BSWPM.
What I've tried:
With AwesomeWM I just had:
export DISPLAY=:0; awesome &
export DISPLAY=:0.1; awesome &which worked totally fine. But when I try the same thing with BSWPM:
export DISPLAY=:0; bspwm &
export DISPLAY=:0.1; bspwm &I get the error message:
Another window manager is already running.Anyone knows how to start BSPWM on another DISPLAY?
Last edited by Doctor_Apparatus (2022-07-03 14:25:43)
Offline
From which instance?
Also let's not mess around w/ the exports and have a sleep against race conditions:
DISPLAY=:0 bspwm &
echo "Started :0"
sleep 5
DISPLAY=:0.1 bspwm &
echo "Started :0.1"Offline
The first instance on Display 0 is starting without a problem. From within the first instance I am just opening a terminal emulator and then setting the DISPLAY and trying to start bspwm which results in the error.
Offline
DISPLAY=:0.1 xprop -root _NET_SUPPORTING_WM_CHECK
DISPLAY=:0.1 xprop -id 0xthe_id_from_aboveOffline
DISPLAY=:0.1 xprop -root _NET_SUPPORTING_WM_CHECK results in
_NET_SUPPORTING_WM_CHECK: not found.Offline
Doesn't look like some NETWM … WM - bspwm actually just tests for the event mask https://github.com/baskerville/bspwm/bl … spwm.h#L37
You could try "xrestop -d :0.1" to see what is currently running on that display.
Last edited by seth (2022-07-06 20:21:07)
Offline
xrestop - Display: :0.1
Monitoring 16 clients. XErrors: 0
Pixmaps: 46731K total, Other: 16K total, All: 46747K total
res-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier
0000000 2 0 2 0 282 14400K 8K 14408K ? <unknown>
0e00000 8 4 1 4 36 9221K 2K 9223K ? <unknown>
1a00000 0 0 0 1 0 9000K 0B 9000K ? <unknown>
1000000 1 2 0 0 14 8709K 408B 8710K ? <unknown>
1800000 0 0 0 1 0 5400K 0B 5400K ? <unknown>
0800000 0 0 0 0 112 0B 2K 2K ? <unknown>
0a00000 1 2 1 0 11 0B 1K 1K ? <unknown>
0600000 5 0 0 0 36 0B 984B 984B ? <unknown>
0400000 2 2 0 0 2 0B 144B 144B ? <unknown>
0c00000 0 2 0 0 2 0B 96B 96B ? <unknown>
1e00000 1 2 0 0 0 0B 72B 72B ? xrestop
1c00000 1 0 0 0 0 0B 24B 24B ? <unknown>
1600000 1 0 0 0 0 0B 24B 24B ? <unknown>
1400000 1 0 0 0 0 0B 24B 24B ? <unknown>
1200000 1 0 0 0 0 0B 24B 24B ? <unknown>
0200000 0 0 0 0 0 0B 0B 0B ? <unknown> Offline
Plenty of unidentifiable clients… "Great"
What other processes do you start on that display?
Offline
export DISPLAY=:0.1
xwininfo -tree -root
xwininfo: Window id: 0x484 (the root window) (has no name)
Root window id: 0x484 (the root window) (has no name)
Parent window id: 0x0 (none)
0 children.Also thanks for helping me out with this. I am absolutely lost with this problem tbh.
Offline
The clients do not necessarily have a window.
If you just start an xterm on 0.0 and try to start bspwm on 0.1, does that work?
And can you afterwards run bspwm on 0.0?
Also, compare xrestop when there's just an xterm on 0.0
Offline
I've started checking out bspwms code and the whole X11 connection segment is kinda how you do it. Started fixing some things and got it to work. Pull request will be sent out soon.
Offline