Hi everybody,
i've got a problem whenever i become root and try to open a window in
my user X session:
for example:
[EMAIL PROTECTED]:~$ su
[EMAIL PROTECTED]:~$ eog
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified
Does anybody can diagnose the problem?
Thanks,
MC
Marco Calviani wrote:
Hi everybody,
i've got a problem whenever i become root and try to open a window in
my user X session:
for example:
[EMAIL PROTECTED]:~$ su
[EMAIL PROTECTED]:~$ eog
Xlib: connection to :0.0 refused by server
Xlib: No protocol specified
Does anybody can diagnose
Hello,
You have to export the variable XAUTHORITY before invoke su
export XAUTHORITY=~/.Xauthority
su
do not use the '-' in su command because this invoke the shell which read the
.profile files and over write you XAUTHORITY variable.
You will find a sample .bash_profile under
Hi Pavlos,
thanks for your help, i've inserted the export command inside the
.bashrc file.
Thanks again,
MC
Pavlos Parissis wrote:
Hello,
You have to export the variable XAUTHORITY before invoke su
export XAUTHORITY=~/.Xauthority
su
do not use the '-' in su command because this invoke
4 matches
Mail list logo