vnc с использованием lightdm и x11vnc отключается сразу после действительного входа

, начиная с точной установки 64-битного сервера, я настроил следующее:

sudo apt-get install lightdm x11vnc
sudo dpkg-reconfigure lightdm

в /etc/init/x11vnc.conf, я поместил;

start on login-session-start
script
/usr/bin/x11vnc -xkb -auth /var/run/lightdm/root/:0 -noxrecord -noxfixes -noxdamage -forever -bg -rfbport 5900 -o /var/log/x11vnc.log
end script

Используя UltraVNC из windows, я подключаюсь и ввожу действительную регистрационную информацию, и окно сразу закрывается. Журнал VNC показывает;

30/04/2013 16:52:01 Got connection from client 10.0.2.2
30/04/2013 16:52:01   other clients:
30/04/2013 16:52:01 Disabled X server key autorepeat.
30/04/2013 16:52:01   to force back on run: 'xset r on' (3 times)
30/04/2013 16:52:01 incr accepted_client=1 for 10.0.2.2:61281  sock=8
30/04/2013 16:52:01 Client Protocol Version 3.8
30/04/2013 16:52:01 Protocol version sent 3.8, using 3.8
30/04/2013 16:52:01 rfbProcessClientSecurityType: executing handler for type 1
30/04/2013 16:52:01 rfbProcessClientSecurityType: returning securityResult for client rfb version >= 3.8
30/04/2013 16:52:01 copy_tiles: allocating first_line at size 33
30/04/2013 16:52:02 Pixel format for client 10.0.2.2:
30/04/2013 16:52:02   32 bpp, depth 24, little endian
30/04/2013 16:52:02   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
30/04/2013 16:52:02 no translation needed
30/04/2013 16:52:02 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000A)
30/04/2013 16:52:02 rfbProcessClientNormalMessage: ignoring unsupported encoding type zlibhex
30/04/2013 16:52:02 Using compression level 6 for client 10.0.2.2
30/04/2013 16:52:02 Enabling X-style cursor updates for client 10.0.2.2
30/04/2013 16:52:02 Enabling full-color cursor updates for client 10.0.2.2
30/04/2013 16:52:02 Enabling cursor position updates for client 10.0.2.2
30/04/2013 16:52:02 Using image quality level 6 for client 10.0.2.2
30/04/2013 16:52:02 rfbProcessClientNormalMessage: ignoring unsupported encoding type xorEnable
30/04/2013 16:52:02 Enabling LastRect protocol extension for client 10.0.2.2
30/04/2013 16:52:02 Enabling NewFBSize protocol extension for client 10.0.2.2
30/04/2013 16:52:02 rfbProcessClientNormalMessage: ignoring unsupported encoding type cacheEnable
30/04/2013 16:52:02 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFF8000)
30/04/2013 16:52:02 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFF8001)
30/04/2013 16:52:02 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFF8002)
30/04/2013 16:52:02 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFF8003)
30/04/2013 16:52:02 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xC0A1E5CE)
30/04/2013 16:52:02 Using ZRLE encoding for client 10.0.2.2
30/04/2013 16:52:03 Pixel format for client 10.0.2.2:
30/04/2013 16:52:03   32 bpp, depth 24, little endian
30/04/2013 16:52:03   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
30/04/2013 16:52:03 no translation needed
30/04/2013 16:52:03 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0x0000000A)
30/04/2013 16:52:03 rfbProcessClientNormalMessage: ignoring unsupported encoding type zlibhex
30/04/2013 16:52:03 Using compression level 6 for client 10.0.2.2
30/04/2013 16:52:03 Enabling X-style cursor updates for client 10.0.2.2
30/04/2013 16:52:03 Enabling full-color cursor updates for client 10.0.2.2
30/04/2013 16:52:03 Enabling cursor position updates for client 10.0.2.2
30/04/2013 16:52:03 Using image quality level 6 for client 10.0.2.2
30/04/2013 16:52:03 rfbProcessClientNormalMessage: ignoring unsupported encoding type xorEnable
30/04/2013 16:52:03 Enabling LastRect protocol extension for client 10.0.2.2
30/04/2013 16:52:03 Enabling NewFBSize protocol extension for client 10.0.2.2
30/04/2013 16:52:03 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFF8000)
30/04/2013 16:52:03 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFF8001)
30/04/2013 16:52:03 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFF8002)
30/04/2013 16:52:03 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xFFFF8003)
30/04/2013 16:52:03 rfbProcessClientNormalMessage: ignoring unsupported encoding type Enc(0xC0A1E5CE)
30/04/2013 16:52:03 Switching from ZRLE to hextile Encoding for client 10.0.2.2
30/04/2013 16:52:03 client_set_net: 10.0.2.2  0.0015
caught XIO error:
30/04/2013 16:52:07 deleted 32 tile_row polling images.
tail: x11vnc.log: file truncated
30/04/2013 16:52:08 passing arg to libvncserver: -rfbport
30/04/2013 16:52:08 passing arg to libvncserver: 5900

Есть идеи, что мне не хватает?

1
задан 30 April 2013 в 21:01

3 ответа

Проблема оказалась относительно простой, я не установил базового провайдера. Кроме того, в моем устройстве нет видеокарты и видеодрайвера, поэтому нет кадрового буфера для рендеринга.

Решение, которое сработало для меня, было найдено в в этом посте .

0
ответ дан 30 April 2013 в 21:01

Я наконец решил эту проблему, переключив диспетчер рабочего стола с lightdm на gdm.

Вот подробная инструкция: Как перейти с LightDM на GDM?

0
ответ дан 30 April 2013 в 21:01

Та же проблема возникла здесь, решение заключалось в применении этого ответа и правильной настройке глубины цвета (32 бита в моем случае). Последний был проблемой с remmina.

0
ответ дан 30 April 2013 в 21:01

Другие вопросы по тегам:

Похожие вопросы: