Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blue screen after login #1106
Blue screen after login #1106
Comments
[20180418-21:14:24] [DEBUG] Testing if xrdp can listen on 0.0.0.0 port 3389. [20180418-21:14:24] [DEBUG] Closed socket 7 (AF_INET 0.0.0.0:3389) [20180418-21:14:26] [INFO ] starting xrdp with pid 24795 [20180418-21:14:26] [INFO ] listening to port 3389 on 0.0.0.0 [20180418-21:15:12] [INFO ] Socket 12: AF_INET connection received from 33.33.33.33 port 55792 [20180418-21:15:12] [DEBUG] Closed socket 12 (AF_INET 192.168.1.2:3389) [20180418-21:15:12] [DEBUG] Closed socket 11 (AF_INET 0.0.0.0:3389) [20180418-21:15:12] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem [20180418-21:15:13] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem [20180418-21:15:13] [DEBUG] TLSv1.2 enabled [20180418-21:15:13] [DEBUG] TLSv1.1 enabled [20180418-21:15:13] [DEBUG] TLSv1 enabled [20180418-21:15:13] [DEBUG] Security layer: requested 11, selected 1 [20180418-21:15:13] [INFO ] connected client computer name: PC-1. [20180418-21:15:13] [INFO ] TLS connection established from 33.33.33.33 port 55792: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 [20180418-21:15:13] [DEBUG] xrdp_0000614d_wm_login_mode_event_00000001 [20180418-21:15:13] [INFO ] Loading keymap file /etc/xrdp/km-00000409.ini [20180418-21:15:13] [WARN ] local keymap file for 0x00000409 found and doesn't match built in keymap, using local keymap file [20180418-21:15:25] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350 [20180418-21:15:26] [INFO ] xrdp_wm_log_msg: sesman connect ok [20180418-21:15:26] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait. [20180418-21:15:26] [DEBUG] return value from xrdp_mm_connect 0 [20180418-21:15:26] [INFO ] xrdp_wm_log_msg: login successful for display 10 [20180418-21:15:26] [DEBUG] xrdp_wm_log_msg: started connecting [20180418-21:15:30] [DEBUG] Closed socket 19 (AF_UNIX) [20180418-21:15:33] [DEBUG] Closed socket 19 (AF_UNIX) [20180418-21:15:37] [DEBUG] Closed socket 19 (AF_UNIX) [20180418-21:15:40] [DEBUG] Closed socket 19 (AF_UNIX)
[20180418-21:14:24] [DEBUG] libscp initialized [20180418-21:14:24] [DEBUG] Testing if xrdp-sesman can listen on 127.0.0.1 port 3350. [20180418-21:14:24] [DEBUG] Closed socket 5 (AF_INET 127.0.0.1:3350) [20180418-21:14:24] [INFO ] starting xrdp-sesman with pid 24793 [20180418-21:14:24] [INFO ] listening to port 3350 on 127.0.0.1 [20180418-21:15:25] [INFO ] A connection received from 127.0.0.1 port 57738 [20180418-21:15:26] [INFO ] ++ created session (access granted): username user, ip 33.33.33.33:55792 - socket: 12 [20180418-21:15:26] [INFO ] starting Xorg session. [20180418-21:15:26] [DEBUG] Closed socket 9 (AF_INET 0.0.0.0:5910) [20180418-21:15:26] [DEBUG] Closed socket 9 (AF_INET 0.0.0.0:6010) [20180418-21:15:26] [DEBUG] Closed socket 9 (AF_INET 0.0.0.0:6210) [20180418-21:15:26] [DEBUG] Closed socket 8 (AF_INET 127.0.0.1:3350) [20180418-21:15:26] [INFO ] calling auth_start_session from pid 24914 [20180418-21:15:26] [DEBUG] Closed socket 7 (AF_INET 127.0.0.1:3350) [20180418-21:15:26] [DEBUG] Closed socket 8 (AF_INET 127.0.0.1:3350) [20180418-21:15:26] [INFO ] Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log [20180418-21:15:36] [ERROR] X server for display 10 startup timeout [20180418-21:15:36] [CORE ] waiting for window manager (pid 24915) to exit [20180418-21:15:36] [ERROR] X server for display 10 startup timeout [20180418-21:15:36] [ERROR] another Xserver might already be active on display 10 - see log [20180418-21:15:36] [DEBUG] aborting connection. [20180418-21:15:36] [CORE ] window manager (pid 24915) did exit, cleaning up session [20180418-21:15:36] [INFO ] calling auth_stop_session and auth_end from pid 24914 [20180418-21:15:36] [DEBUG] cleanup_sockets: [20180418-21:15:36] [DEBUG] cleanup_sockets: deleting /tmp/.xrdp/xrdp_chansrv_socket_10 [20180418-21:15:36] [DEBUG] cleanup_sockets: failed to delete /tmp/.xrdp/xrdp_chansrv_socket_10 [20180418-21:15:36] [INFO ] ++ terminated session: username user, display :10.0, session_pid 24914, ip 33.33.33.33:55792 - socket: 12
The text was updated successfully, but these errors were encountered:
@moobyfr There is no ~/.xorgxrdp.10.log file.
Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.10.log output:
/usr/lib/xorg-server/Xorg.wrap: Only console users are allowed to run the X server
Oh. I forgot to read ArchWiki. Everything works well. Thank you for your patience.
As reported in neutrinolabs#1106, Arch Linux looks to me like using Xorg wrapper now.
@nopyhe
I kindly ask for your cooperation. Please revert the change on /etc/X11/Xwrapper.config . Then edit /etc/xrdp/sesman.ini like this and can you confirm if it works?
--- sesman/sesman.ini.old +++ sesman/sesman.ini @@ -68,7 +68,7 @@ SyslogLevel=DEBUG ; Arch Linux : param=/usr/bin/Xorg or param=Xorg ; CentOS 7 : param=/usr/bin/Xorg or param=Xorg ; -param=Xorg +param=/usr/lib/xorg-server/Xorg ; Leave the rest paramaters as-is unless you understand what will happen. param=-config param=xrdp/xorg.conf
Maybe we need to update help text in sesman.ini . See also #1107.
Also, let me know the output of following command:
/usr/lib/xorg-server/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.10.log
@metalefty
I revert the change on /etc/X11/Xwrapper.config , restart xrdp service and confirm reproduce blue screen.
Then I edit /etc/xrdp/sesman.ini as you told me and restart xrdp service. It works!
Now I execute /usr/lib/xorg-server/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.10.log . Its output is:
(EE) Fatal server error: (EE) Server is already active for display 10 If this server is no longer running, remove /tmp/.X10-lock and start again. (EE) (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. (EE)
Then I stop xrdp service and execute the command again:
/usr/lib/xorg-server/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.10.log X.Org X Server 1.19.6 Release Date: 2017-12-20 X Protocol Version 11, Revision 0 Build Operating System: Linux 4.15.6-1-ARCH x86_64 Current Operating System: Linux archlinux 4.15.15-1-ARCH #1 SMP PREEMPT Sat Mar 31 23:59:25 UTC 2018 x86_64 Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=6d07940f-3f33-4323-9e5b-5a7cea38b195 rw quiet Build Date: 12 April 2018 05:31:07AM Current version of pixman: 0.34.0 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (++) Log file: ".xorgxrdp.10.log", Time: Thu Apr 19 12:05:50 2018 (++) Using config file: "/etc/X11/xrdp/xorg.conf" (==) Using system config directory "/usr/share/X11/xorg.conf.d" xorgxrdpSetup: xrdpdevSetup: rdpmousePlug: rdpkeybPlug: rdpIdentify: rdpDriverFunc: op 10 rdpProbe: rdpPreInit: rdpScreenInit: virtualX 800 virtualY 600 rgbBits 8 depth 24 rdpScreenInit: pfbMemory bytes 1920000 rdpScreenInit: pfbMemory 0x7f2a037de010 rdpSimdInit: assigning yuv functions rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000306a9 bx 0x06100800 cx 0x7fbae3ff dx 0xbfebfbff rdpSimdInit: sse2 amd64 yuv functions assigned rdpXvInit: depth 24 rdpClientConInit: kill disconnected [0] timeout [0] sec rdpScreenInit: out rdpmousePreInit: drv 0x5588117706c0 info 0x558811a1b1d0, flags 0x0 rdpmouseControl: what 0 rdpmouseDeviceInit: rdpmouseCtrl: rdpRegisterInputCallback: type 1 proc 0x7f2a03bb7bb0 rdpmouseControl: what 1 rdpmouseDeviceOn: rdpkeybPreInit: drv 0x558811770160 info 0x558811a1d950, flags 0x0 rdpkeybControl: what 0 rdpkeybDeviceInit: rdpkeybChangeKeyboardControl: rdpkeybChangeKeyboardControl: autoRepeat on rdpRegisterInputCallback: type 0 proc 0x7f2a039b4490 rdpkeybControl: what 1 rdpkeybDeviceOn: rdpSaveScreen: rdpDeferredRandR: rdpResizeSession: width 1024 height 768 calling RRScreenSizeSet rdpRRScreenSetSize: width 1024 height 768 mmWidth 271 mmHeight 203 rdpRRGetInfo: screen resized to 1024x768 RRScreenSizeSet ok 1 rdpInDeferredUpdateCallback: rdpkeybChangeKeyboardControl: rdpkeybChangeKeyboardControl: autoRepeat off ^CrdpmouseControl: what 2 rdpmouseDeviceOff: rdpkeybControl: what 2 rdpkeybDeviceOff: rdpkeybControl: what 3 rdpkeybUnInit: drv 0x558811770160 info 0x558811a1d950, flags 0x0 rdpUnregisterInputCallback: proc 0x7f2a039b4490 rdpmouseControl: what 3 rdpmouseUnInit: drv 0x5588117706c0 info 0x558811a1b1d0, flags 0x0 rdpUnregisterInputCallback: proc 0x7f2a03bb7bb0 rdpCloseScreen: xorgxrdpDownDown: xorgxrdpDownDown: 1 rdpClientConDeinit: rdpClientConDeinit: deleting file /tmp/.xrdp/xrdp_display_10 rdpClientConDeinit: deleting file /tmp/.xrdp/xrdp_disconnect_display_10 (II) Server terminated successfully (0). Closing log file.
Remote Desktop — blue screen after login
I’ve installed mate and xrdp on Ubuntu 18.04. Now I try to connect to this PC from another Ubuntu with Remmina: I press OK, login window disappears background is same,nothing happens. My ~/.xsession contains mate-session. xrdp.log contains stuff like this:
[20190818-12:23:09] [DEBUG] Closed socket 17 (AF_UNIX) [20190818-12:23:12] [DEBUG] Closed socket 17 (AF_UNIX) [20190818-12:23:15] [DEBUG] xrdp_wm_log_msg: connection problem, giving up [20190818-12:23:15] [DEBUG] Closed socket 17 (AF_UNIX) [20190818-12:23:15] [DEBUG] xrdp_wm_log_msg: some problem [20190818-12:23:15] [DEBUG] xrdp_mm_module_cleanup [20190818-12:23:15] [DEBUG] Closed socket 16 (AF_INET6 ::1 port 59402) [20190818-12:24:11] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350 [20190818-12:24:11] [INFO ] xrdp_wm_log_msg: sesman connect ok [20190818-12:24:11] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait. [20190818-12:24:11] [DEBUG] return value from xrdp_mm_connect 0 [20190818-12:24:12] [INFO ] xrdp_wm_log_msg: login successful for display 10 [20190818-12:24:12] [DEBUG] xrdp_wm_log_msg: started connecting [20190818-12:24:15] [DEBUG] Closed socket 17 (AF_UNIX) [20190818-12:24:19] [DEBUG] Closed socket 17 (AF_UNIX) [20190818-12:24:22] [DEBUG] Closed socket 17 (AF_UNIX) [20190818-12:24:26] [DEBUG] Closed socket 17 (AF_UNIX) [20190818-12:24:29] [DEBUG] Closed socket 17 (AF_UNIX) [20190818-12:24:33] [DEBUG] Closed socket 17 (AF_UNIX) [20190818-12:24:36] [DEBUG] Closed socket 17 (AF_UNIX)
[20190818-12:30:30] [INFO ] calling auth_start_session from pid 6502 [20190818-12:30:30] [DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350) [20190818-12:30:30] [DEBUG] Closed socket 8 (AF_INET6 ::1 port 3350) [20190818-12:30:30] [INFO ] /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log [20190818-12:30:40] [ERROR] X server for display 10 startup timeout [20190818-12:30:40] [CORE ] waiting for window manager (pid 6503) to exit [20190818-12:30:40] [ERROR] X server for display 10 startup timeout [20190818-12:30:40] [ERROR] another Xserver might already be active on display 10 - see log [20190818-12:30:40] [DEBUG] aborting connection. [20190818-12:30:40] [CORE ] window manager (pid 6503) did exit, cleaning up session [20190818-12:30:40] [INFO ] calling auth_stop_session and auth_end from pid 6502 [20190818-12:30:40] [DEBUG] cleanup_sockets: [20190818-12:30:40] [DEBUG] cleanup_sockets: deleting /var/run/xrdp/sockdir/xrdp_chansrv_socket_10 [20190818-12:30:40] [DEBUG] cleanup_sockets: deleting /var/run/xrdp/sockdir/xrdpapi_10 [20190818-12:30:40] [DEBUG] cleanup_sockets: failed to delete /var/run/xrdp/sockdir/xrdpapi_10 [20190818-12:30:40] [INFO ] ++ terminated session: username someuser, display :10.0, session_pid 6502, ip ::ffff:192.115.120.210:44136 - socket: 12