Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
run0 can not open display (resolved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
contactopublico
n00b
n00b


Joined: 22 Dec 2023
Posts: 22

PostPosted: Wed May 15, 2024 9:32 pm    Post subject: run0 can not open display (resolved) Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum