screen, blackbox, possible cross-strata oddness
I installed void in a QEMU VM. Once I rebooted into the system and set networking up, I installed xorg, xterm, windowmaker, screen and bash. I was able to run startx without problems.
Bedrocked it.
Fetched a Debian strata. Installed bash, screen, xorg and blackbox.
To reiterate: blackbox Debian, windowmaker void. Void init.
Set .xinitrc to run blackbox.
Blackbox came up OK. In blackbox, ran xterm.
Typed "screen". Got error message, "Must be connected to a terminal."
Typed "strat debian screen." Got error message, "Cannot make directory '/run/screen': Permission denied.
Typed "strat void screen". Got error message, "Must be connected to a terminal."
Used su to become root. Made directory /run/screen, set it 755 and sticky. became normal non-root user again. This time, "strat debian screen" worked.
If one types screen while still in the console (don't run startx), things are different. Void's screen command works fine. Debian's says "Cannot open your terminal '/dev/tty1' - Please check."
If one edits .xinitrc to run windowmaker, which is provided by void, not debian, one can then, in a term, run screen and "strat debian screen" with no problems.
In terms of all the cross-strata action going on, is this correct behavior under bedrock?
Thank you.
edit: If one reboots, so that /run/screen is not there, running debian's screen does fail in windowmaker.
Last edited by jr_bob_dobbs; 01-07-2019 at 03:18 PM.
|