Xlib: connection to
时间:2007-02-08 来源:wtwang1985
Xlib: connection to ":0.0" refused by server
|
Solution:
usr A -- login user
usr B -- su user
As normal user, you can run:
and then this user will be able to open x programs. You can edit B's .bashrc and add the following line:
After editing /home/oracle/.basrc, you won't have to issue the command "xhost local:B" anymore after X starts.
|
Solution:
usr A -- login user
usr B -- su user
As normal user, you can run:
xhost local:B |
export XAUTHORITY=/home/A/.Xauthority |
相关阅读 更多 +