하나만 질문드리겟습니다 [5]

하나만 질문드리겟습니다

2002-03-15 00:00 - 김원회

xmanager를 ssh를 통해 접속하여 사용중에

rebooting을 시키면 연결이 끊어지게 되는데

이 후에 연결시에 연결이 안됩니다.

이때의 해결책이 무엇이 있나요..

계정의 home/.DCOP~만 삭제하면 되나요...

아님 삭제하고 rebooting을 다시 해도 안되네요..

다른 계정으로 연결이 안됩니다.


다음과 같은 사항을 확인해 주세요

2002-03-15 00:00 - 넷사랑

고객님이 문의하신 글의 내용으로는 자세한 문제를 파악하기 어렵습니다.

번거로우시더라도 다음과 같은 내용을 확인해 주셔서 알려주시면 문제 해결에 도움이 되겠습니다.

1. 설치하신 리눅스의 종류와 버전, KDE의 버전

2. Xmanager를 사용하는 연결 방법
리모콘 연결을 하실 경우 사용하는 프로토콜에 관한 설정

3. 에러가 나타나기 까지의 진행과정
로그인 후의 작업 내용
진행과정에서 나타나는 에러 메세지

4. 원격 실행결과 창에 나타나는 내용(그대로)
(리모콘 연결시 '실행 결과 보여주기' 선택)

이상과 같은 내용을 게시판에 올려주시기 바랍니다.

--기술지원팀


다음과 같은 사항을 확인해 주세요_급합니다.

2002-03-15 00:00 - 김원회

1. redhat7.2
2. ssh설정은 default로 사용하고 아래것만 변경
- protocol: SSH 자동선택(ssh2 선호선택)
-
3. error전까지의 진행과정
- 리눅스 설치 후 /etc/ssh/sshd_config/X11forward yes로 설정
- 일반 계정을 하나 만들어 연결하여 사용
- 사용중 /etc/bashrc변경(아래것만 추가)
export ORACLE_BASE=/oracle
export ORACLE_SID=****
export ORACLE_OWNER=oracle
export ORACLE_HOME=/oracle/8.1.6
export NLS_LANG=AMERICAN_AMERICA.KO16KSC5601
export ORA_NLS33=$ORACLE_HOME/ocommon/nls/admin/data
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ORACLE_HOME/lib:/usr/lib
export PATH=$PATH:$ORACLE_HOME/bin:/usr/local

이 후에 xhost + 가 안되어 xmanager차창에서 reboot
- 연결 안됨(xterm은 연결되고 startkde하면 error나옴)
- message(popup)는
there was an error setting up inter-process commnication for KDE.
the message returned by the system was:

could not read network connection list. /home/oracle/.DCOPserver_test_test:10

please check that the "dcopserver" program is running!이라는 popup창에
그 뒤로 xterm창에는
DCOPClient::attachInternal. Attach failed authentification rejected,
reason: None of the authentification protocols speccitied are supported
and host-based authentification failed
DCOPServer self-test failed.
sh: iceauth : command not found
kdeinit : DCOPServer could not be startd, aborting.

그리고 리모콘 실행결과는

Connected to 10.10.20.137:22.

Exchanging SSH version...Done.
Server: SSH-1.99-OpenSSH_2.9p2.
Client: SSH-2.0-Xssh_1.0.
SSH2 is enabled.

Negotiating algorithms...
Initiating key exchange...Done.
Exchanging Diffie-Hellman KeyEx message...Done.
Waiting for new key message...Received.
Fingerprint: 1024 55:b2:5d:2e:f5:18:9b:18:3b:aa:d1:41:88:fb:2e:1a.Verifying host key...
Algorithm negotiation has been finished...
CS Cipher: 3des-cbc, SC Cipher: 3des-cbc
CS Compress: zlib, SC Compress: zlib
CS MAC: hmac-sha1, SC MAC: hmac-sha1

Trying to login as oracle.
Trying password authentication...Done.

Requesting session channel...Done.

Requesting X11 forwarding...Done.

Executing remote command...Done.

X11 channel request arrived.
Establishing X11 connection (id=2)...Done.

X11 channel request arrived.
Establishing X11 connection (id=3)...Done.

X11 channel request arrived.
Establishing X11 connection (id=4)...Done.

X11 channel (id=3) has been closed.

이와 같습니다..
Xdmp설정은 안하여도 ssh연결이 되길래 원 상태로 복귀하여 놓았음
그 file은 xdm-config, Xaccess, sshd_config, kdmrc입니다.

급해서 이렇게 부탁을 드립니다.
정상종료를 안해서 그런현상이 나오는 것 같기도 한데....


이렇게 하시면 됩니다.

2002-03-15 00:00 - 넷사랑

X설정에서 옵션 항목에서 'Xmanager 자동 끝내기'를
선택안한 상태로 설정을 하시면 됩니다.

리모콘으로 실행을 하실 때 바로 startkde 명령을
실행 시키시면 됩니다.

추가: 리모콘의 고급의 옵션 항목에서
원격 명령 실행 방법을 Shell 구동 후 실행으로 선택하셔야 합니다

--기술지원팀


이렇게 하시면 됩니다.

2002-03-15 00:00 - 김원회

님의 도움대로 하였습니다.
저는 먼저 계정의 home/.DCOP*을 삭제 후에
xmanager 설정을 xmanager자동끝내기를 off한 후
리모콘/고급/option/shell구동후 실행 하고
실행명령에 /usr/bin/startkde를 실행하였습니다.
/usr/bin/X11/xterm;/usr/bin/startkde
/usr/bin/X11/xterm:/usr/bin/startkde
/usr/bin/X11/xterm /usr/bin/startkde

그런데 역시 같은 메세지가 나오고 있네요.

아래는 실행결과입니다.
============================================
Connected to 10.10.20.137:22.

Exchanging SSH version...Done.
Server: SSH-1.99-OpenSSH_2.9p2.
Client: SSH-2.0-Xssh_1.0.
SSH2 is enabled.

Negotiating algorithms...
Initiating key exchange...Done.
Exchanging Diffie-Hellman KeyEx message...Done.
Waiting for new key message...Received.
Fingerprint: 1024 55:b2:5d:2e:f5:18:9b:18:3b:aa:d1:41:88:fb:2e:1a.Verifying host key...
Algorithm negotiation has been finished...
CS Cipher: 3des-cbc, SC Cipher: 3des-cbc
CS Compress: zlib, SC Compress: zlib
CS MAC: hmac-sha1, SC MAC: hmac-sha1

Trying to login as oracle.
Trying password authentication...Done.

Requesting session channel...Done.

Requesting X11 forwarding...Done.

Requesting pseudo terminal...Done.

Executing shell...Done.
Last login: Fri Mar 15 20:03:22 2002 from 10.10.20.249



/usr/bin/startkde

[oracle@test oracle]$ /usr/bin/startkde

/usr/bin/startkde: xsetroot: command not found

/usr/bin/startkde: mkfontdir: command not found

/usr/bin/startkde: xset: command not found

/usr/bin/startkde: mkfontdir: command not found

/usr/bin/startkde: xset: command not found

/usr/bin/startkde: xset: command not found

/usr/bin/startkde: xset: command not found


X11 channel request arrived.
Establishing X11 connection (id=2)...Done.
Xlib: extension "RENDER" missing on display "test:10.0".

sh: iceauth: command not found

ICE Connection rejected!

DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed




ICE Connection rejected!

DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed


DCOPServer self-test failed.




sh: iceauth: command not found

kdeinit: DCOPServer could not be started, aborting.


X11 channel request arrived.
Establishing X11 connection (id=3)...Done.
Xlib: extension "RENDER" missing on display "test:10.0".

sh: iceauth: command not found

ICE Connection rejected!


DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed


ICE Connection rejected!


DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed


DCOPServer self-test failed.


sh: iceauth: command not found

kdeinit: DCOPServer could not be started, aborting.

Could not register with DCOPServer. Aborting.


X11 channel (id=3) has been closed.
connect() failed: : Connection refused

[oracle@test oracle]$

All forwarding channels are closed, disconnecting...

Disconnected.

=====================================================


RE: 이렇게 하시면 됩니다.

2002-03-18 00:00 - 넷사랑

저희가 RedHat 7.2에서 ssh로 연결을 한 이후에 startkde로 KDE를 실행하는 과정을 테스트 했던 결과로는 전에 답변했던 내용으로 해결이 되었습니다.

아마 고객님께서 사용하는 환경이 일반적이 아니거나 다른 설정이 되어 있기 때문에 문제가 발생하는 것으로 생각이 됩니다. 이러한 문제는 저희가 직접 연결을 해서 테스트를 해보지 않으면 해결하기 어렵습니다.

직접 연결을 해서 테스트가 가능하다면 연결을 위한 정보를 메일로 보내주시기 바랍니다.

그리고 startkde가 아닌 gnome-session 명령을 이용하여 GNOME환경으로 실행을 시켜 보시기 바랍니다.

-- 기술지원팀


이전 조회수: 860