Xmanager 연결 불가 [2]

Xmanager 연결 불가

2017-11-21 12:31 - 최우성

안녕하세요.

아래와 같은 설정으로 Xmanager를 진행하였으나 접속이 되지 않고 검은색 희색이 번갈아 점으로 표시되는 회색 화면에 X 자 마우스 표시만 뜬후 XDMCP 연결이 불가능합니다. 다시 연결하시겠습니까? 라는 팝업만 뜹니다.

환경은 다음과 같습니다.
1. Ubuntu 14.04.2 LTS
2. Xubuntu 설치 완료 (Ubuntu 기본에서 apt-get으로 설치)
3. 방화병 off (ufw status 확인시 disable 확인)
4. Lightdm.conf [XDMCPServer] enable=ture 완료
5. reboot 혹은 lightdm service restart 모두 해봄
6. Widnow쪽은 Windows 10, 방화벽 off 완료, 백신 방화벽 off 완료
7. Static IP를 통해 기본 port 접속 (177 및 6000~)
8. 혹시나 하여 Windows 방화벽 rule에 xmanager 실행파일들 모두 allow 등록 완료
9. XDMCP query, Secure XDMCP 모두 같은 결과로 동작하지 않음
10. Xshell의 경우 terminal 이 뜨는 것을 확인 (gnome-terminal 띄움)
11. 두 피씨 사이에 다른 방화벽은 없음 (Local network, subnet은 다름)

로그는 다음과 같습니다.
해결 방법 확인 부탁 드립니다.

Xmanager 5030
Copyright (c) 1997-2016 NetSarang Computer, Inc.
All rights reserved.

UTC Date: Mon Nov 20 10:30:05 2017
Local Date: Mon Nov 20 19:30:05 2017

Compiler version: 170060610
X Server Directory: "C:\Program Files (x86)\NetSarang\Xmanager Enterprise 5\"
LANG ID: 1042
Session File: D:\user\문서\NetSarang\Xmanager\Sessions\Xmanager\Local.xdts
Connection Method: 1
Xdmcp UDP Port: 177
Xdmcp Host: '10.253.57.243'
Product Code: 6
License Type: 2

Server Generation 1
CreateConfig returns a return value: 3
Server profile: %system%\Default Profile.xcf
Desktop composition is enabled.
Default Display Number: 0
Local Time: Mon Nov 20 19:30:05 2017

============ Global Memory Status ==========
Memory Load : 33%
Total Physical Memory : 16294 Mbytes
Available Physical Memory : 10897 Mbytes
Total Page File : 18726 Mbytes
Available Page File : 11357 Mbytes
Total Virtual : 4095 Mbytes
Available Virtual : 3965 Mbytes
=============================================

<Hardware information>
Processor architecture: 0
Number of processors: 4
Page size: 4096
Processor type: 586
Minimum application address: 10000
Maximum application address: fffeffff
Active processor mask: 15
Allocation granularity: 65536
Processor level: 6
Processor revision: 0x8e09

<OS Version Information>
Platform id : 2
Major Version : 6
Minor Version : 2
Build Number : 9200
Description : ""
Country Code : 82
Country String: 대한민국
ANSI Code Page: 949
Language ID : 18

WinSock Version 2.2 is selected.
Highest Version 2.2
Description: WinSock 2.0
System Status: Running
Max Sockets: 0
Max UDP Datagram: 0
Local Hostname: 'NO-woo-sung-c05'
RGB database: C:\Program Files (x86)\NetSarang\Xmanager Enterprise 5\rgb\rgb.txt
Local Address: fe80::2d7e:4052:936f:fd69
Local Address: 10.253.58.82
Local Address: ::1
Local Address: 127.0.0.1
Listening port: 6004
XDMCP Display Number: 4
Xdmcp: sent a QUERY message.
Window Mode: 0
Primary Screen Resolution: 1536 x 864
Size of Palette: 0
Number of Reserved Colors: 0
Resolution of Color: 24
Depth of Screen: 32
Maximum Cursor Width: 32
Maximum Cursor Height: 32
Frame Width: 8
Frame Height: 8
Border Width: 1
Border Height: 1
Maximum Client Area Width: 1474
Maximum Client Area Height:841
Icon Width: 32
Icon Height: 32
Small Icon Width: 16
Small Icon Height: 16
Caption Height: 23
Shade Blend Pixel Alpha: 1
DBCS Enabled: 1
GDI batch limit: 20

Mouse buttons: 5
Waveform Output Devices: 2
Mouse wheel present: 1

Monitors: 2
Selected Monitor: SyncMaster S27A550H (Digital)
Same display format: 1
Virtual screen x 0, y 0, w 3072 h 864
Root Window x 1598, y 0, w 1600, h 1200
Exact StoreColor: 0
Reverse RGB Order: 0

Screen 0: 1600 x 1200, depth 24, dpi 96 x 96
Extension added: SHAPE, proc 128, event 64, error 0
Extension added: Extended-Visual-Information, proc 129, event 0, error 0
Extension added: XInputExtension, proc 130, event 65, error 128
Extension added: XTEST, proc 131, event 0, error 0
Extension added: BIG-REQUESTS, proc 132, event 0, error 0
Extension added: MIT-SUNDRY-NONSTANDARD, proc 133, event 0, error 0
Extension added: DEC-XTRAP, proc 134, event 80, error 133
Extension added: SYNC, proc 135, event 81, error 142
Extension added: XC-MISC, proc 136, event 0, error 0
Extension added: RECORD, proc 137, event 0, error 144
Extension added: DOUBLE-BUFFER, proc 138, event 0, error 145
Extension added: XC-APPGROUP, proc 139, event 0, error 146
Extension added: SECURITY, proc 140, event 83, error 147
Extension added: TOG-CUP, proc 141, event 0, error 0
Extension added: DPMS, proc 142, event 0, error 0
Extension added: XFree86-Bigfont, proc 143, event 0, error 0
Extension added: GLX, proc 144, event 84, error 149
Extension added: XFIXES, proc 145, event 101, error 161
Extension added: RENDER, proc 146, event 0, error 162
Extension added: RANDR, proc 147, event 103, error 0
Extension added: X-Resource, proc 148, event 0, error 0
Extension added: DAMAGE, proc 149, event 104, error 167
Keyboard file version: 3.0
Keyboard file: Korean 106 keyboard
Keyboard type: 3
nKeys, minKC, maxKC, mapWidth, nCompose: 106, 8, 114, 4, 0
Number of keycodes: 107
Number of KeySyms: 428
Bytes of KeySyms: 1712
Running Xsound...

Waiting for client connections ...

Xdmcp: Timed out, state 3. Retransmissions: 0
Xdmcp: sent a QUERY message.
Xdmcp: Timed out, state 3. Retransmissions: 1
Xdmcp: sent a QUERY message.
Xdmcp: Timed out, state 3. Retransmissions: 2
Xdmcp: sent a QUERY message.
Xdmcp: Timed out, state 3. Retransmissions: 3
XDM go to sleep: too many retransmissions
User forces server termination.

Exiting the waiting loop ...

FreeFontPath: FPE "C:\Program Files (x86)\NetSarang\Xmanager Enterprise 5\fonts\Misc" refcount is 2, should be 1; fixing.
X server was terminated normally.

프로그램 버전 : Xmanager 5
연결 방법 : XDMCP connection


Re: Xmanager 연결 불가

2017-11-21 17:16 - 넷사랑

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

보내 주신 로그상으로는 PC에서 Ubuntu 장비로 UDP 통신을 하지 못하는 상태입니다.
원인은 해당 서버가 XDMCP 서비스를 하고 있지 않거나, 방화벽이나 기타 네트워크 환경으로 UDP 포트 177번으로 통신을 할 수 없기 때문입니다.

보내 주신 정보를 보면 방화벽이나 네트워크 환경보다는 XDMCP 서비스 활성화에 문제가 있지 않았나 하는 생각이 듭니다.

우선 /etc/lightdm/lightdm.conf 파일에 오타가 없는지 확인 바랍니다.

[XDMCPServer]
enabled=true (enable이 아니고 enabled입니다.)

lightdm 서비스 재시작 후 netstat 명령으로 UDP 177번이 제대로 열려 있는지 확인해 보세요.

$ netstat -an |grep 177
udp 0 0 0.0.0.0:177 0.0.0.0:*
udp6 0 0 :::177 :::*
...

감사합니다.


Re: Xmanager 연결 불가

2017-11-22 12:30 - 최우성

안녕하세요.

enabled에 오타가 있는 내용이 맞습니다.
현재 정상 동작 합니다.

감사합니다.


이전 조회수: 909