xstart접속 실패 [1]

xstart접속 실패

2012-11-12 10:15 - 육경민

안녕하십니까
centos6.3을 깔아서 서버를 운영하고 있는데 며칠전부터 start접속이 안되서 문의드립니다.
xshell로는 root와 다른 타계정들의 접속이 쉽게 이루어지는데 start로는 root계정으로만 접속이 이루어집니다.
제가 변경한것은 /etx/sysconfig/network 에서 호스트네임을 변경한 것 밖에없습니다.

예전 질문들중에 이러한 현상에 대한 답들을 찾아보니 /etc/hosts에서
127.0.0.1 localhost.localdomain localhost
란 문구를 입력하라 했는데 이 방법으로도 해결이 되지 않습니다.

프로그램 버전 : Xmanager 3.0
연결 방법 : Xstart connection


[11:13:51] Connected.
[11:13:51] Version exchange initiated...
[11:13:51] server: SSH-2.0-OpenSSH_5.3
[11:13:51] client: SSH-2.0-nsssh2_3.0.0019 NetSarang Computer, Inc.
[11:13:51] SSH2 is selected.
[11:13:51] Algorithm negotiation initiated...
[11:13:51] key exchange: diffie-hellman-group14-sha1
[11:13:51] host key: ssh-dss
[11:13:51] outgoing encryption: aes128-cbc
[11:13:51] incoming encryption: aes128-cbc
[11:13:51] outgoing mac: hmac-sha1
[11:13:51] incoming mac: hmac-sha1
[11:13:51] outgoing compression: none
[11:13:51] incoming compression: none
[11:13:52] Host authentication initiated...
[11:13:52] Hostkey fingerprint:
[11:13:52] ssh-dsa 1024 3b:f7:88:7b:dc:91:26:a7:d3:cc:ab:0a:a5:cb:70:61
[11:13:52] Accepted. Verifying host key...
[11:13:52] Verified.
[11:13:52] User authentication initiated...
[11:13:52] Sent user name 'kmyuk'.
[11:13:52] Sent password.
[11:13:52] Access granted.
[11:13:52] X11 포워딩을 요청했습니다...
[11:13:52] 성공.
[11:13:52] 실행명령을 보냈습니다.
[11:13:52] /usr/bin/xterm -ls -display $DISPLAY
[11:13:52] Start timer (TIMER_SHUTDOWN, 180).
/usr/bin/xauth: timeout in locking authority file /CHASER/kmyuk/.Xauthority
[11:14:13] X11 채널(id=1)이 시작되었습니다.
[11:14:13] Stop timer (TIMER_SHUTDOWN).
[11:14:13] X11 채널(id=1)이 종료되었습니다.
[11:14:13] 모든 X11 채널이 종료되었습니다.
[11:14:13] Start timer (TIMER_SHUTDOWN, 60).
/usr/bin/xterm Xt error: Can't open display: localhost:11.0


Re: xstart접속 실패

2012-11-12 18:14 - 넷사랑

안녕하십니까?
넷사랑컴퓨터 기술지원입니다.

Xstart 세션에서 정한 SSH 프로토콜을 사용하는 Xstart 세션에서 특정 사용자가 로그인이 안되는 이유는 해당 사용자의 홈디렉토리나 필요한 파일 등에 대한 권한의 문제일 수 있습니다.

보내 주신 로그를 보니 SSH 접속 시 사용하는 .Xauthority 파일에 문제가 있는 것 같습니다.
사용자의 홈디렉토리에서 다음 명령으로 .Xauthority 파일을 초기화해 보십시오.
$ rm .Xauthority*

그리고 해당 사용자의 홈디렉토리에 접근 권한이 있는지 확인해 보십시오.

감사합니다.


이전 조회수: 344