Skip to content

Session crashed on reconnect #121

@PKizzle

Description

@PKizzle

When reconnecting to a xorgxrdp session running on Ubuntu 16.04 with X.Org X Server version 1.18.4 the session tries to load (cursor and blue background) but crashes after a few seconds. This might be related to multi-monitor usage.

This is the xrdp-sesman log file:

[20180606-09:28:22] [DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350)
[20180606-09:28:47] [CORE ] window manager (pid 17699) did exit, cleaning up session
[20180606-09:28:47] [INFO ] calling auth_stop_session and auth_end from pid 17696

xorgxrdp log file:

(This first message below appears many more times above)
[1576949.121] rdpRRCrtcSetGamma:
[1576949.121] rdpRRCrtcSetGamma:
[1576949.137] rdpRRCrtcSetGamma:
[1576949.137] rdpRRCrtcSetGamma:
[1576949.137] rdpRRCrtcSetGamma:
[1576949.153] rdpRRCrtcSetGamma:
[1576949.153] rdpRRCrtcSetGamma:
[1576949.153] rdpRRCrtcSetGamma:
[1576949.169] rdpRRCrtcSetGamma:
[1576949.169] rdpRRCrtcSetGamma:
[1576949.169] rdpRRCrtcSetGamma:
[1576949.185] rdpRRCrtcSetGamma:
[1576949.185] rdpRRCrtcSetGamma:
[1576949.186] rdpRRCrtcSetGamma:
[1576949.201] rdpRRCrtcSetGamma:
[1576949.202] rdpRRCrtcSetGamma:
[1576949.202] rdpRRCrtcSetGamma:
[1576949.218] rdpRRCrtcSetGamma:
[1576949.218] rdpRRCrtcSetGamma:
[1576949.218] rdpRRCrtcSetGamma:
[1576951.461] rdpRRCrtcSetGamma:
[1576951.462] rdpRRCrtcSetGamma:
[1576951.462] rdpRRCrtcSetGamma:
[1579730.004] rdpClientConRecv: g_sck_recv failed(returned -1)
[1579730.004] rdpClientConDisconnect:
[1579730.005] rdpClientConDisconnect: clientCon removed from dev list
[1579730.005] rdpClientConRecvMsg: error
[1579730.005] rdpClientConCheck: rdpClientConGotData failed
[1631654.122] rdpClientConGotConnection:
[1631654.148] rdpClientConGotConnection: g_sck_accept ok new_sck 49
[1631654.148] rdpClientConGotConnection: adding only clientCon
[1631654.175] rdpClientConProcessMsgVersion: version 0 0 0 1
[1631654.175] rdpClientConProcessScreenSizeMsg: set width 5440 height 1080 bpp 24
[1631654.175] rdpClientConProcessScreenSizeMsg: shmemid 1800732876 shmemptr 0x7fe42dcf7000
[1631654.175] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 5440 cy 1080
[1631654.230] rdpClientConProcessMsgClientInfo:
[1631654.230]   got client info bytes 5744
[1631654.230]   jpeg support 0
[1631654.230]   offscreen support 1
[1631654.230]   offscreen size 10485760
[1631654.230]   offscreen entries 100
[1631654.230]   client can not do offscreen to offscreen blits
[1631654.230]   client can do new(color) cursor
[1631654.230]   client can do multimon
[1631654.230]   client monitor data, monitorCount=3
[1631654.230]     left 3840 top 180 right 5439 bottom 1079
[1631654.230]     left 1920 top 0 right 3839 bottom 1079
[1631654.230]     left 0 top 0 right 1919 bottom 1079
[1631654.230] rdpRRSetRdpOutputs: numCrtcs 3 monitorCount 3
[1631654.230] rdpRRSetRdpOutputs: update output 0 left 3840 top 180 width 1600 height 900
[1631654.231] rdpRRSetRdpOutputs: update output 1 left 1920 top 0 width 1920 height 1080
[1631654.967] (EE) 
[1631654.967] (EE) Backtrace:
[1631655.181] (EE) 0: /usr/lib/xorg/Xorg (xorg_backtrace+0x4e) [0x55a76414f6ce]
[1631655.181] (EE) 1: /usr/lib/xorg/Xorg (0x55a763f9d000+0x1b6a69) [0x55a764153a69]
[1631655.181] (EE) 2: /lib/x86_64-linux-gnu/libc.so.6 (0x7fe43d1f5000+0x354b0) [0x7fe43d22a4b0]
[1631655.182] (EE) 3: /usr/lib/xorg/Xorg (RRCrtcNotify+0x74) [0x55a7640b1934]
[1631655.182] (EE) 4: /usr/lib/xorg/modules/libxorgxrdp.so (0x7fe438468000+0x851e) [0x7fe43847051e]
[1631655.182] (EE) 5: /usr/lib/xorg/modules/libxorgxrdp.so (rdpRRSetRdpOutputs+0xe3) [0x7fe438470f73]
[1631655.182] (EE) 6: /usr/lib/xorg/modules/libxorgxrdp.so (rdpClientConCheck+0xc6b) [0x7fe4384750db]
[1631655.182] (EE) 7: /usr/lib/xorg/Xorg (WakeupHandler+0x6d) [0x55a763ff599d]
[1631655.182] (EE) 8: /usr/lib/xorg/Xorg (WaitForSomething+0x1ef) [0x55a76414c40f]
[1631655.182] (EE) 9: /usr/lib/xorg/Xorg (0x55a763f9d000+0x53bce) [0x55a763ff0bce]
[1631655.182] (EE) 10: /usr/lib/xorg/Xorg (0x55a763f9d000+0x57e13) [0x55a763ff4e13]
[1631655.183] (EE) 11: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xf0) [0x7fe43d215830]
[1631655.183] (EE) 12: /usr/lib/xorg/Xorg (_start+0x29) [0x55a763fdf069]
[1631655.183] (EE) 
[1631655.183] (EE) Segmentation fault at address 0x55a77d91e000
[1631655.183] (EE) 
Fatal server error:
[1631655.183] (EE) Caught signal 11 (Segmentation fault). Server aborting
[1631655.184] (EE) 
[1631655.184] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[1631655.184] (EE) Please also check the log file at ".xorgxrdp.24.log" for additional information.
[1631655.184] (EE) 
[1631655.184] rdpmouseControl: what 4
[1631655.184] rdpkeybControl: what 4
[1631655.191] rdpLeaveVT:
[1631655.194] (EE) Server terminated with error (1). Closing log file.

**And the following info can be found in the syslog file:**
Jun  6 09:28:22 xrdp-sesman: pam_ecryptfs: pam_sm_authenticate: /home/<user> is already mounted
Jun  6 09:28:41 org.gnome.gedit[17732]: (gedit:12498): Gdk-WARNING **: gedit: Fatal IO error 11 (Resource temporarily unavailable) on X server :24.0.
Jun  6 09:28:41 org.mate.panel.applet.WnckletFactory[17732]: wnck-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :24.0.
Jun  6 09:28:41 org.mate.panel.applet.TrashAppletFactory[17732]: trashapplet: Fatal IO error 11 (Resource temporarily unavailable) on X server :24.0.
Jun  6 09:28:41 org.mate.panel.applet.NotificationAreaAppletFactory[17732]: notification-area-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :24.0.
Jun  6 09:28:41 org.a11y.atspi.Registry[17797]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":24.0"
Jun  6 09:28:41 org.a11y.atspi.Registry[17797]:       after 91521 requests (91521 known processed) with 0 events remaining.
Jun  6 09:28:41 org.mate.panel.applet.ClockAppletFactory[17732]: clock-applet: Fatal IO error 11 (Resource temporarily unavailable) on X server :24.0.
Jun  6 09:28:43 org.gtk.vfs.Daemon[17732]: A connection to the bus can't be made
Jun  6 09:28:43 org.gtk.vfs.Daemon[17732]: A connection to the bus can't be made
Jun  6 09:28:44 org.gtk.vfs.Daemon[17732]: A connection to the bus can't be made
Jun  6 09:28:45 ntpd[2122]: error resolving pool 1.ubuntu.pool.ntp.org: Name or service not known (-2)
Jun  6 09:28:45 org.gnome.zeitgeist.Engine[17732]: #033[31m[07:28:45.817015 WARNING]#033[0m zeitgeist-daemon.vala:449: The connection is closed
Jun  6 09:28:46 org.gnome.zeitgeist.Engine[17732]: #033[34m[07:38:58.773936 MESSAGE]#033[0m extension-collection.vala:123: Skipping SearchEngine (disabled)
Jun  6 09:28:47 gnome-session[17699]: Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Jun  6 09:28:47 gnome-session[17699]: Unable to init server: Could not connect: Connection refused
Jun  6 09:28:47 gnome-session[17699]: (gnome-session-check-accelerated:27376): Gtk-WARNING **: cannot open display: :24.0
Jun  6 09:28:47 gnome-session[17699]: Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Jun  6 09:28:47 gnome-session[17699]: Unable to init server: Could not connect: Connection refused
Jun  6 09:28:47 gnome-session[17699]: (gnome-session-check-accelerated:27377): Gtk-WARNING **: cannot open display: :24.0
Jun  6 09:28:47 gnome-session[17699]: gnome-session-binary[17699]: WARNING: software acceleration check failed: Child process exited with code 1
Jun  6 09:28:47 gnome-session[17699]: gnome-session-binary[17699]: CRITICAL: We failed, but the fail whale is dead. Sorry....
Jun  6 09:28:47 gnome-session-binary[17699]: WARNING: software acceleration check failed: Child process exited with code 1
Jun  6 09:28:47 gnome-session-binary[17699]: CRITICAL: We failed, but the fail whale is dead. Sorry....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions