[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

x11vnc session unrecoverable after trying to switch user in xfce



Hello.

I'm using debian 8 latest version of packages gdm3=3.14.1-7  task-xfce-desktop=3.31+deb8u1 x11vnc=0.9.13-1.2+b2 xfswitch-plugin=0.0.1-5

(I switched to gdm3 from lightdm with "dpkg-reconfigure gdm3")

I launch x11vnc with this command line:
/usr/bin/x11vnc -norc -forever -shared -bg -rfbauth /etc/x11vnc.pass -autoport 5900 -o /var/log/x11vnc.log

After I successfully log in into any account and then trying to switch user, the image in VNC client become corrupted and if I reconnect with VNC client then only black screen appears.
The issues recovered only after
systemctl restart gdm3
(even without restarting x11vnc)

Moreover, after I finish xfce session (end session), x11vnc server crashes (although I started x11vnc with -forever option) 

root@ExchangeServer:~# tail -20 /var/log/x11vnc.log
25/02/2016 18:32:31 Enabling full-color cursor updates for client ::1
25/02/2016 18:32:31 Enabling NewFBSize protocol extension for client ::1
25/02/2016 18:32:31 Switching from ZRLE to hextile Encoding for client ::1
25/02/2016 18:32:31 Pixel format for client ::1:
25/02/2016 18:32:31   32 bpp, depth 24, little endian
25/02/2016 18:32:31   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
25/02/2016 18:32:31 no translation needed
25/02/2016 18:32:33 copy_tiles: allocating first_line at size 33
25/02/2016 18:32:36 created selwin: 0x1000025
25/02/2016 18:32:36 called initialize_xfixes()
25/02/2016 18:32:36 cursor_noshape_updates_clients: 0
25/02/2016 18:32:38 cursor_noshape_updates_clients: 0
25/02/2016 18:32:40 cursor_noshape_updates_clients: 0
25/02/2016 18:32:40 cursor_noshape_updates_clients: 0
25/02/2016 18:33:57 Battling with something for -norepeat!! (1 resets left)
25/02/2016 18:33:57 Disabled X server key autorepeat.
25/02/2016 18:33:57   to force back on run: 'xset r on' (2 times)
25/02/2016 18:34:04 cursor_noshape_updates_clients: 0
caught XIO error:
25/02/2016 18:34:07 deleted 32 tile_row polling images.

root@ExchangeServer:~# systemctl status x11vnc
● x11vnc.service - VNC Server for X11
   Loaded: loaded (/etc/systemd/system/x11vnc.service; static)
   Active: failed (Result: exit-code) since Чт 2016-02-25 18:34:07 MSK; 16min ago
  Process: 16565 ExecStart=/usr/bin/x11vnc -norc -forever -shared -bg -rfbauth /etc/x11vnc.pass -autoport 5900 -o /var/log/x11vnc.log (code=exited, status=0/SUCCESS)
 Main PID: 16664 (code=exited, status=3)

фев 25 18:32:26 ExchangeServer x11vnc[16565]: PORT=5900
фев 25 18:34:07 ExchangeServer systemd[1]: x11vnc.service: main process exited, code=exited, status=3/NOTIMPLEMENTED
фев 25 18:34:07 ExchangeServer systemd[1]: Unit x11vnc.service entered failed state.

Regards,
Vyacheslav Napadovsky



--
Vyacheslav Napadovsky

Reply to: