open X-application with su after ssh a user login.Computer/linux 2014.09.17 17:19
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 -nwIn that case, solutions are 1)ssh -X test@test_test.comsu -xauth merge /home/test/.Xauthorityor 2) use sux
/usr/bin/X11/xauth: error in locking authority fileComputer/linux 2008.02.08 06:38
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.