contactopublico n00b
Joined: 22 Dec 2023 Posts: 37
|
Posted: Wed May 15, 2024 9:32 pm Post subject: run0 can not open display (resolved) |
|
|
I suppose this topic is somewhat premature as it relates to systemd 256, but since you devs are pretty sharp here goes.
Systemd 256 installed (not on my Gentoo installation).
Typed run0 and specified file manager, and subsequently other programs but consistently got: message to the effect of:
"unable to open display"
xhost + did not resolve the issue.
Code: | echo $DISPLAY shows :0.0 |
.bashrc specifies:
Code: | export DISPLAY=:0.0 |
sudo works fine with file manager and other programs opening display in X.
Was not able to find an answer in man run0.
Was not able to find an answer searching online.
Apparently run0 is tied to systemd but unknown how to configure in order to open display.
Sudo functions ok, but Is there a parameter that needs to be specified within.bashrc or .profile in order for run0 to connect to X/open display?
Resolved as follows:
run0 --setenv=DISPLAY=$DISPLAY /path/to/target |
|