cannot run X application with su after a ssh login, one can face the following error :

root@ctrldb2:/home/ctrluser# emacs
X11 connection rejected because of wrong authentication.
Display localhost:10.0 unavailable, simulating -nw

In that case, solutions are 1)

ssh -X

su -

xauth merge /home/test/.Xauthority

or 2)

use sux

posted by citadel
By using ssh connection , the following problem is happened.

/usr/bin/X11/xauth:  error in locking authority file $HOME/.Xauthority

change owner .Xauthority from root to a normal user.

Or delete .Xauthority, and relogin.

'Computer > linux' 카테고리의 다른 글

Rsync  (0) 2008.02.27
/usr/bin/X11/xauth: error in locking authority file  (0) 2008.02.08
modified xorg.conf file  (0) 2008.02.06
XKB configuration - keyboard mappings  (0) 2008.01.10
posted by citadel