-
open X-application with su after ssh a user login.Computer/linux 2014. 9. 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.com
su -
xauth merge /home/test/.Xauthority
or 2)
use sux
'Computer > linux' 카테고리의 다른 글
한컴 - 한숨이 나오는 컴퓨터 환경을 만드는 회사 (0) 2014.10.17 find and remove different ssh host key (0) 2014.07.08 emacs korean font - 이멕스 한글 폰트 (0) 2014.06.07