다른 리눅스의 x프로그램 실행하기.
글쓴이: jenix / 작성시간: 금, 2004/12/31 - 5:23오후
안녕하세요.
192.168.123.1 pc 와 192.168.123.2 pc 가 있습니다.
(간략하게 앞으로 1 과 2 라고 표현하겠습니다.)
1번피시도 그놈까지 모든 것이 설치되어있구요.
2번피시도 그놈 모두 설치되어있습니다.
이 상황에서,
2번 피시 x윈도우 상태에서
1번 피시에 ssh -X 로 x11 forwarding 으로 접속을 하여
x응용프로그램을 실행하면,
2번 피시 x윈도우에 바로 실행되는걸로 알고 있는데요,
이게 실행이 안되더라구요.
에러메시지는 다음과 같습니다.
jenix@X40 ~ $ xchat-2 The program 'xchat-2' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 66 error_code 3 request_code 38 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) jenix@X40 ~ $
2번피시에선 xhost + 192.168.123.1 이라고 ip 추가해 줬구요
1번 피시 sshd 설정엔 x11 포워딩관련 옵션 다 켜주었습니다.
무엇이 문제일까요>?
Forums:
ssh -Y 로 접속해보세요...
ssh -Y 로 접속해보세요...
댓글 달기