[ 5.038] _XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777
[ 5.038] _XSERVTransSocketCreateListener: failed to bind listener
[ 5.038] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[ 5.038] _XSERVTransMakeAllCOTSServerListeners: failed to create listener for unix
[ 5.039]
X.Org X Server 1.21.1.7
X Protocol Version 11, Revision 0
[ 5.039] Current Operating System: Linux LEGION-R7000p 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 2702:56:13 UTC 2023 x86_64
[ 5.039] Kernel command line: initrd=\initrd.img WSL_ROOT_INIT=1 panic=-1 nr_cpus=12 bonding.max_bonds=0 dummy.numdummies=0 fb_tunnels=none swiotlb=force console=hvc0 debug pty.legacy_count=0
[ 5.039] xorg-server 2:21.1.7-2deepin1 (https://www.debian.org/support)
[ 5.039] Current version of pixman: 0.40.0
[ 5.039] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 5.039] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5.039] (==) Log file: "/var/log/Xorg.1.log", Time: Sun Jul 2320:40:022023
[ 5.040] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 5.041] (==) No Layout section. Using the first Screen section.
[ 5.041] (==) No screen section available. Using defaults.
[ 5.041] (**) |-->Screen "Default Screen Section" (0)
[ 5.041] (**) | |-->Monitor "<default monitor>"
[ 5.041] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 5.041] (==) Automatically adding devices
[ 5.041] (==) Automatically enabling devices
[ 5.041] (==) Automatically adding GPU devices
[ 5.041] (==) Automatically binding GPU devices
[ 5.041] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 5.041] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 5.041] Entry deleted from font path.
[ 5.042] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
built-ins
[ 5.042] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 5.042] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 5.042] (II) Loader magic: 0x55710ef0df40
[ 5.042] (II) Module ABI versions:
[ 5.042] X.Org ANSI C Emulation: 0.4
[ 5.042] X.Org Video Driver: 25.2
[ 5.042] X.Org XInput driver : 24.4
[ 5.042] X.Org Server Extension : 10.0
[ 5.042] (++) using VT number 7
[ 5.042] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[ 5.043] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 5.043] (II) Platform probe for/sys/devices/platform/vgem/drm/card0
[ 5.043] (II) no primary bus or device found
[ 5.043] falling back to /sys/devices/platform/vgem/drm/card0
[ 5.048] (--) PCI: (0@32842:0:0) 1414:008e:0000:0000 rev 0
[ 5.048] (--) PCI: (0@50021:0:0) 1414:008e:0000:0000 rev 0
[ 5.048] (II) LoadModule: "glx"
[ 5.050] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 5.056] (II) Module glx: vendor="X.Org Foundation"
[ 5.056] compiled for1.21.1.7, module version = 1.0.0
[ 5.056] ABI class: X.Org Server Extension, version 10.0
[ 5.056] (==) Matched modesetting as autoconfigured driver 0
[ 5.056] (==) Matched fbdev as autoconfigured driver 1
[ 5.056] (==) Matched vesa as autoconfigured driver 2
[ 5.056] (==) Assigned the driver to the xf86ConfigLayout
[ 5.056] (II) LoadModule: "modesetting"
[ 5.056] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 5.057] (II) Module modesetting: vendor="X.Org Foundation"
[ 5.057] compiled for1.21.1.7, module version = 1.21.1
[ 5.057] Module class: X.Org Video Driver
[ 5.057] ABI class: X.Org Video Driver, version 25.2
[ 5.057] (II) LoadModule: "fbdev"
[ 5.057] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[ 5.058] (II) Module fbdev: vendor="X.Org Foundation"
[ 5.058] compiled for1.21.1.3, module version = 0.5.0
[ 5.058] Module class: X.Org Video Driver
[ 5.058] ABI class: X.Org Video Driver, version 25.2
[ 5.058] (II) LoadModule: "vesa"
[ 5.058] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[ 5.058] (II) Module vesa: vendor="X.Org Foundation"
[ 5.058] compiled for1.21.1.3, module version = 2.5.0
[ 5.058] Module class: X.Org Video Driver
[ 5.058] ABI class: X.Org Video Driver, version 25.2
[ 5.058] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 5.058] (II) FBDEV: driver for framebuffer: fbdev
[ 5.058] (II) VESA: driver for VESA chipsets: vesa
[ 5.059] xf86EnableIO: failed to enable I/O ports 0000-03ff (Function not implemented)
[ 5.059] (WW) Falling back to old probe method for modesetting
[ 5.059] (WW) Falling back to old probe method for fbdev
[ 5.059] (II) Loading sub module "fbdevhw"
[ 5.059] (II) LoadModule: "fbdevhw"
[ 5.059] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 5.059] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 5.059] compiled for1.21.1.7, module version = 0.0.2
[ 5.059] ABI class: X.Org Video Driver, version 25.2
[ 5.059] (EE) open /dev/fb0: No such file or directory
[ 5.059] (WW) Falling back to old probe method for modesetting
[ 5.059] (WW) Falling back to old probe method for fbdev
[ 5.059] (II) Loading sub module "fbdevhw"
[ 5.059] (II) LoadModule: "fbdevhw"
[ 5.059] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[ 5.059] (II) Module fbdevhw: vendor="X.Org Foundation"
[ 5.059] compiled for1.21.1.7, module version = 0.0.2
[ 5.059] ABI class: X.Org Video Driver, version 25.2
[ 5.059] (EE) open /dev/fb0: No such file or directory
[ 5.059] (EE) No devices detected.
[ 5.059] (EE)
Fatal server error:
[ 5.059] (EE) no screens found(EE)
[ 5.059] (EE)
Please consult the The X.Org Foundation support
at http://wiki.x.orgfor help.
[ 5.059] (EE) Please also check the log file at "/var/log/Xorg.1.log"for additional information.
[ 5.059] (EE)
[ 5.060] (EE) Server terminated with error (1). Closing log file.
之前在ubuntu WSL上装了xfce和xrdp后可以正常使用,在想在deepin WSL装上xfce4和xrdp。
结果就是可以mstsc连上xrdp,并成功登录,但是只有桌面背景,然后报错
大概就是这样,之后就是:
安装过程:
我用的WSL版本是:https://github.com/deepin-community/deepin-rootfs
然后大概按照这个配置:https://github.com/chenchongbiao/os-study/tree/master/dev-env/wsl
开启了systemd支持、自动挂载.X11-unix、启用tmp.mount服务、配置了中文环境这几个,这里的xrdp试了没有用
xorg、xfce4是apt安装的,xrdp(0.9.22.1)和xorgxrdp(0.9.19)都是从github上下载源码自己编译的
xrdp-sesman.log日志(太多了,就截取一次的):
[20230723-20:40:14] [INFO ] starting xrdp-sesman with pid 190 [20230723-20:40:45] [INFO ] Socket 12: AF_INET connection received from 127.0.0.1 port 52734 [20230723-20:40:45] [INFO ] Terminal Server Users group is disabled, allowing authentication [20230723-20:40:45] [INFO ] ++ created session (access granted): username lin_lcs, ip 172.26.224.1:65065 - socket: 12 [20230723-20:40:45] [INFO ] starting Xorg session... [20230723-20:40:45] [INFO ] Starting session: session_pid 198, display :10.0, width 2560, height 1440, bpp 24, client ip 172.26.224.1:65065 - socket: 12, user name lin_lcs [20230723-20:40:45] [INFO ] [session start] (display 10): calling auth_start_session from pid 198 [20230723-20:40:45] [ERROR] sesman_data_in: scp_process_msg failed [20230723-20:40:45] [ERROR] sesman_main_loop: trans_check_wait_objs failed, removing trans [20230723-20:40:45] [INFO ] Starting X server on display 10: Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log [20230723-20:40:55] [WARN ] Timed out waiting for X server on display 10 to startup [20230723-20:40:55] [INFO ] Session started successfully for user lin_lcs on display 10 [20230723-20:40:55] [INFO ] Starting the xrdp channel server for display 10 [20230723-20:40:55] [INFO ] Session in progress on display 10, waiting until the window manager (pid 199) exits to end the session [20230723-20:40:55] [WARN ] Timed out waiting for X server on display 10 to startup [20230723-20:40:55] [ERROR] There is no X server active on display 10 [20230723-20:40:55] [ERROR] A fatal error has occurred attempting to start the window manager on display 10, aborting connection [20230723-20:40:55] [WARN ] Window manager (pid 199, display 10) exited quickly (0 secs). This could indicate a window manager config problem [20230723-20:40:56] [INFO ] Calling auth_stop_session and auth_end from pid 198 [20230723-20:40:56] [INFO ] Terminating X server (pid 200) on display 10 [20230723-20:40:56] [INFO ] Terminating the xrdp channel server (pid 203) on display 10 [20230723-20:40:56] [INFO ] X server on display 10 (pid 200) returned exit code 1 and signal number 0 [20230723-20:40:56] [INFO ] xrdp channel server for display 10 (pid 203) exit code 0 and signal number 0 [20230723-20:40:56] [INFO ] cleanup_sockets: [20230723-20:40:56] [INFO ] Process 198 has exited [20230723-20:40:56] [INFO ] ++ terminated session: username lin_lcs, display :10.0, session_pid 198, ip 172.26.224.1:65065 - socket: 12
./Xorg.1.log日志:
[ 5.038] _XSERVTransmkdir: Mode of /tmp/.X11-unix should be set to 1777 [ 5.038] _XSERVTransSocketCreateListener: failed to bind listener [ 5.038] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed [ 5.038] _XSERVTransMakeAllCOTSServerListeners: failed to create listener for unix [ 5.039] X.Org X Server 1.21.1.7 X Protocol Version 11, Revision 0 [ 5.039] Current Operating System: Linux LEGION-R7000p 5.15.90.1-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 [ 5.039] Kernel command line: initrd=\initrd.img WSL_ROOT_INIT=1 panic=-1 nr_cpus=12 bonding.max_bonds=0 dummy.numdummies=0 fb_tunnels=none swiotlb=force console=hvc0 debug pty.legacy_count=0 [ 5.039] xorg-server 2:21.1.7-2deepin1 (https://www.debian.org/support) [ 5.039] Current version of pixman: 0.40.0 [ 5.039] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 5.039] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 5.039] (==) Log file: "/var/log/Xorg.1.log", Time: Sun Jul 23 20:40:02 2023 [ 5.040] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 5.041] (==) No Layout section. Using the first Screen section. [ 5.041] (==) No screen section available. Using defaults. [ 5.041] (**) |-->Screen "Default Screen Section" (0) [ 5.041] (**) | |-->Monitor "<default monitor>" [ 5.041] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 5.041] (==) Automatically adding devices [ 5.041] (==) Automatically enabling devices [ 5.041] (==) Automatically adding GPU devices [ 5.041] (==) Automatically binding GPU devices [ 5.041] (==) Max clients allowed: 256, resource mask: 0x1fffff [ 5.041] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist. [ 5.041] Entry deleted from font path. [ 5.042] (==) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/100dpi/:unscaled, /usr/share/fonts/X11/75dpi/:unscaled, /usr/share/fonts/X11/Type1, /usr/share/fonts/X11/100dpi, /usr/share/fonts/X11/75dpi, built-ins [ 5.042] (==) ModulePath set to "/usr/lib/xorg/modules" [ 5.042] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 5.042] (II) Loader magic: 0x55710ef0df40 [ 5.042] (II) Module ABI versions: [ 5.042] X.Org ANSI C Emulation: 0.4 [ 5.042] X.Org Video Driver: 25.2 [ 5.042] X.Org XInput driver : 24.4 [ 5.042] X.Org Server Extension : 10.0 [ 5.042] (++) using VT number 7 [ 5.042] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration [ 5.043] (II) xfree86: Adding drm device (/dev/dri/card0) [ 5.043] (II) Platform probe for /sys/devices/platform/vgem/drm/card0 [ 5.043] (II) no primary bus or device found [ 5.043] falling back to /sys/devices/platform/vgem/drm/card0 [ 5.048] (--) PCI: (0@32842:0:0) 1414:008e:0000:0000 rev 0 [ 5.048] (--) PCI: (0@50021:0:0) 1414:008e:0000:0000 rev 0 [ 5.048] (II) LoadModule: "glx" [ 5.050] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so [ 5.056] (II) Module glx: vendor="X.Org Foundation" [ 5.056] compiled for 1.21.1.7, module version = 1.0.0 [ 5.056] ABI class: X.Org Server Extension, version 10.0 [ 5.056] (==) Matched modesetting as autoconfigured driver 0 [ 5.056] (==) Matched fbdev as autoconfigured driver 1 [ 5.056] (==) Matched vesa as autoconfigured driver 2 [ 5.056] (==) Assigned the driver to the xf86ConfigLayout [ 5.056] (II) LoadModule: "modesetting" [ 5.056] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so [ 5.057] (II) Module modesetting: vendor="X.Org Foundation" [ 5.057] compiled for 1.21.1.7, module version = 1.21.1 [ 5.057] Module class: X.Org Video Driver [ 5.057] ABI class: X.Org Video Driver, version 25.2 [ 5.057] (II) LoadModule: "fbdev" [ 5.057] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so [ 5.058] (II) Module fbdev: vendor="X.Org Foundation" [ 5.058] compiled for 1.21.1.3, module version = 0.5.0 [ 5.058] Module class: X.Org Video Driver [ 5.058] ABI class: X.Org Video Driver, version 25.2 [ 5.058] (II) LoadModule: "vesa" [ 5.058] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so [ 5.058] (II) Module vesa: vendor="X.Org Foundation" [ 5.058] compiled for 1.21.1.3, module version = 2.5.0 [ 5.058] Module class: X.Org Video Driver [ 5.058] ABI class: X.Org Video Driver, version 25.2 [ 5.058] (II) modesetting: Driver for Modesetting Kernel Drivers: kms [ 5.058] (II) FBDEV: driver for framebuffer: fbdev [ 5.058] (II) VESA: driver for VESA chipsets: vesa [ 5.059] xf86EnableIO: failed to enable I/O ports 0000-03ff (Function not implemented) [ 5.059] (WW) Falling back to old probe method for modesetting [ 5.059] (WW) Falling back to old probe method for fbdev [ 5.059] (II) Loading sub module "fbdevhw" [ 5.059] (II) LoadModule: "fbdevhw" [ 5.059] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 5.059] (II) Module fbdevhw: vendor="X.Org Foundation" [ 5.059] compiled for 1.21.1.7, module version = 0.0.2 [ 5.059] ABI class: X.Org Video Driver, version 25.2 [ 5.059] (EE) open /dev/fb0: No such file or directory [ 5.059] (WW) Falling back to old probe method for modesetting [ 5.059] (WW) Falling back to old probe method for fbdev [ 5.059] (II) Loading sub module "fbdevhw" [ 5.059] (II) LoadModule: "fbdevhw" [ 5.059] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so [ 5.059] (II) Module fbdevhw: vendor="X.Org Foundation" [ 5.059] compiled for 1.21.1.7, module version = 0.0.2 [ 5.059] ABI class: X.Org Video Driver, version 25.2 [ 5.059] (EE) open /dev/fb0: No such file or directory [ 5.059] (EE) No devices detected. [ 5.059] (EE) Fatal server error: [ 5.059] (EE) no screens found(EE) [ 5.059] (EE) Please consult the The X.Org Foundation support at http://wiki.x.org for help. [ 5.059] (EE) Please also check the log file at "/var/log/Xorg.1.log" for additional information. [ 5.059] (EE) [ 5.060] (EE) Server terminated with error (1). Closing log file.
配置:
也试过用两个账号,一个终端,另一个在xrdp登录,但是都没用