You are not logged in.
When i'm connecting to server, no desktop presents but windows apps and everything else sims to work.
Packages that i use:
xrdp-git
xorg-xrdp-nvidia
I've already did:
- set Xorg and xrdp/xorg.conf to /usr/lib/Xorg and xrdp/xorg_nvidia.conf
- In latest version waitforx is not working and i used method suggested here https://github.com/neutrinolabs/xrdp/is … 1710163813
I've tried starting second session using startx and it's launcing justs fine, but same .xinitrc file doesnt work on xrdp session.
.xorgxrdp.10.log
[ 47.249]
X.Org X Server 1.21.1.10
X Protocol Version 11, Revision 0
[ 47.249] Current Operating System: Linux foxcomputer 6.6.8-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 21 Dec 2023 19:00:41 +0000 x86_64
[ 47.249] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-zen root=UUID=8da1eb82-bbfb-422b-9a9c-23f0a663f5f5 rw loglevel=3 quiet
[ 47.250]
[ 47.250] Current version of pixman: 0.42.2
[ 47.250] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 47.250] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 47.250] (++) Log file: ".xorgxrdp.10.log", Time: Tue Jan 2 21:23:16 2024
[ 47.250] (++) Using config file: "/etc/X11/xrdp/xorg_nvidia.conf"
[ 47.250] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 47.250] (**) Option "defaultserverlayout" "XRDP GPU Server"
[ 47.250] (**) ServerLayout "XRDP GPU Server"
[ 47.250] (**) |-->Screen "dGPU" (0)
[ 47.250] (**) | |-->Monitor "<default monitor>"
[ 47.251] (**) | |-->Device "dGPU"
[ 47.251] (==) No monitor specified for screen "dGPU".
Using a default monitor configuration.
[ 47.251] (**) |-->Input Device "xrdpMouse"
[ 47.251] (**) |-->Input Device "xrdpKeyboard"
[ 47.251] (**) Option "DontVTSwitch" "on"
[ 47.251] (**) Option "AutoAddDevices" "off"
[ 47.251] (**) Not automatically adding devices
[ 47.251] (==) Automatically enabling devices
[ 47.251] (==) Automatically adding GPU devices
[ 47.251] (==) Automatically binding GPU devices
[ 47.251] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 47.251] (WW) The directory "/usr/share/fonts/misc" does not exist.
[ 47.251] Entry deleted from font path.
[ 47.251] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[ 47.251] Entry deleted from font path.
[ 47.251] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[ 47.251] Entry deleted from font path.
[ 47.251] (==) FontPath set to:
/usr/share/fonts/TTF,
/usr/share/fonts/100dpi,
/usr/share/fonts/75dpi
[ 47.251] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 47.251] (II) Module ABI versions:
[ 47.251] X.Org ANSI C Emulation: 0.4
[ 47.251] X.Org Video Driver: 25.2
[ 47.251] X.Org XInput driver : 24.4
[ 47.251] X.Org Server Extension : 10.0
[ 47.253] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_35
[ 47.253] (II) xfree86: Adding drm device (/dev/dri/card1)
[ 47.253] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card1
[ 47.254] (EE) systemd-logind: failed to take device /dev/dri/card1: Operation not permitted
[ 47.254] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 47.254] (II) Platform probe for /sys/devices/platform/simple-framebuffer.0/drm/card0
[ 47.254] (EE) systemd-logind: failed to take device /dev/dri/card0: Operation not permitted
[ 47.263] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[ 47.264] (--) PCI:*(1@0:0:0) 10de:2488:196e:138a rev 161, Mem @ 0xa2000000/16777216, 0x90000000/268435456, 0xa0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/131072
[ 47.264] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 47.264] (II) "glx" will be loaded by default.
[ 47.264] (II) LoadModule: "xorgxrdp"
[ 47.264] (II) Loading /usr/lib/xorg/modules/libxorgxrdp.so
[ 47.265] (II) Module XORGXRDP: vendor="X.Org Foundation"
[ 47.265] compiled for 1.21.1.10, module version = 0.9.80
[ 47.265] ABI class: X.Org Video Driver, version 25.2
[ 47.265] xorgxrdpSetup:
[ 47.265] (II) LoadModule: "glx"
[ 47.265] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 47.266] (II) Module glx: vendor="X.Org Foundation"
[ 47.266] compiled for 1.21.1.10, module version = 1.0.0
[ 47.266] ABI class: X.Org Server Extension, version 10.0
[ 47.266] (II) LoadModule: "nvidia"
[ 47.266] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 47.267] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 47.267] compiled for 1.6.99.901, module version = 1.0.0
[ 47.267] Module class: X.Org Video Driver
[ 47.267] (II) LoadModule: "xrdpmouse"
[ 47.267] (II) Loading /usr/lib/xorg/modules/input/xrdpmouse_drv.so
[ 47.267] (II) Module XRDPMOUSE: vendor="X.Org Foundation"
[ 47.267] compiled for 1.21.1.10, module version = 0.9.80
[ 47.267] Module class: X.Org XInput Driver
[ 47.267] ABI class: X.Org XInput driver, version 24.4
[ 47.267] rdpmousePlug:
[ 47.267] (II) LoadModule: "xrdpkeyb"
[ 47.267] (II) Loading /usr/lib/xorg/modules/input/xrdpkeyb_drv.so
[ 47.267] (II) Module XRDPKEYB: vendor="X.Org Foundation"
[ 47.267] compiled for 1.21.1.10, module version = 0.9.80
[ 47.267] Module class: X.Org XInput Driver
[ 47.267] ABI class: X.Org XInput driver, version 24.4
[ 47.268] rdpkeybPlug:
[ 47.268] xorgxrdpCheckWrap: NVIDIA driver found
[ 47.268] (II) NVIDIA dlloader X Driver 545.29.06 Thu Nov 16 01:52:34 UTC 2023
[ 47.268] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 47.268] xorgxrdpDriverFunc:
[ 47.268] xorgxrdpPlatformProbe:
[ 47.268] (II) Loading sub module "fb"
[ 47.268] (II) LoadModule: "fb"
[ 47.268] (II) Module "fb" already built-in
[ 47.268] (II) Loading sub module "wfb"
[ 47.268] (II) LoadModule: "wfb"
[ 47.268] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 47.268] (II) Module wfb: vendor="X.Org Foundation"
[ 47.268] compiled for 1.21.1.10, module version = 1.0.0
[ 47.268] ABI class: X.Org ANSI C Emulation, version 0.4
[ 47.268] xorgxrdpPlatformProbe:
[ 47.268] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 47.268] xorgxrdpPreInit:
[ 47.268] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 47.268] (==) NVIDIA(0): RGB weight 888
[ 47.268] (==) NVIDIA(0): Default visual is TrueColor
[ 47.268] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 47.268] (II) Applying OutputClass "nvidia" options to /dev/dri/card1
[ 47.268] (**) NVIDIA(0): Option "DPI" "96 x 96"
[ 47.268] (**) NVIDIA(0): Option "ConnectToAcpid" "false"
[ 47.268] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[ 47.268] (**) NVIDIA(0): Option "UseDisplayDevice" "none"
[ 47.268] (**) NVIDIA(0): Enabling 2D acceleration
[ 47.268] (**) NVIDIA(0): Option "UseDisplayDevice" set to "none"; enabling NoScanout
[ 47.268] (**) NVIDIA(0): mode
[ 47.268] (II) Loading sub module "glxserver_nvidia"
[ 47.268] (II) LoadModule: "glxserver_nvidia"
[ 47.269] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[ 47.278] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[ 47.278] compiled for 1.6.99.901, module version = 1.0.0
[ 47.278] Module class: X.Org Server Extension
[ 47.278] (II) NVIDIA GLX Module 545.29.06 Thu Nov 16 01:55:23 UTC 2023
[ 47.278] (II) NVIDIA: The X server supports PRIME Render Offload.
[ 47.279] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce RTX 3070 (GA104-A) at PCI:1:0:0
[ 47.279] (II) NVIDIA(0): (GPU-0)
[ 47.279] (--) NVIDIA(0): Memory: 8388608 kBytes
[ 47.279] (--) NVIDIA(0): VideoBIOS: 94.04.46.00.e3
[ 47.279] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 47.279] (II) NVIDIA(0): Validated MetaModes:
[ 47.279] (II) NVIDIA(0): "NULL"
[ 47.279] (**) NVIDIA(0): Virtual screen size configured to be 1920 x 1080
[ 47.279] (**) NVIDIA(0): DPI set to (96, 96); computed from "DPI" X config option
[ 47.279] xorgxrdpScreenInit:
[ 47.279] (WW) NVIDIA: Failed to bind sideband socket to
[ 47.279] (WW) NVIDIA: '/var/run/nvidia-xdriver-b699db3b' Permission denied
[ 47.279] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[ 47.279] (II) NVIDIA: access.
[ 47.298] (II) NVIDIA(0): Setting mode "NULL"
[ 47.303] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 47.303] (==) NVIDIA(0): Backing store enabled
[ 47.303] (==) NVIDIA(0): Silken mouse enabled
[ 47.303] (==) NVIDIA(0): DPMS enabled
[ 47.303] (II) Loading sub module "dri2"
[ 47.303] (II) LoadModule: "dri2"
[ 47.303] (II) Module "dri2" already built-in
[ 47.303] (II) NVIDIA(0): [DRI2] Setup complete
[ 47.303] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 47.303] xorgxrdpScreenInit: width 1920 height 1080
[ 47.303] rdpClientConInit: disconnect idle session after [0] sec
[ 47.303] rdpClientConInit: kill disconnected [0] timeout [0] sec
[ 47.303] rdpSimdInit: assigning yuv functions
[ 47.303] rdpSimdInit: cpuid ax 1 cx 0 return ax 0x000906ea bx 0x08100800 cx 0x7ffafbbf dx 0xbfebfbff
[ 47.303] rdpSimdInit: sse2 amd64 yuv functions assigned
[ 47.303] (II) Initializing extension Generic Event Extension
[ 47.303] (II) Initializing extension SHAPE
[ 47.303] (II) Initializing extension MIT-SHM
[ 47.303] (II) Initializing extension XInputExtension
[ 47.303] (II) Initializing extension XTEST
[ 47.304] (II) Initializing extension BIG-REQUESTS
[ 47.304] (II) Initializing extension SYNC
[ 47.304] (II) Initializing extension XKEYBOARD
[ 47.304] (II) Initializing extension XC-MISC
[ 47.304] (II) Initializing extension SECURITY
[ 47.304] (II) Initializing extension XFIXES
[ 47.304] (II) Initializing extension RENDER
[ 47.304] (II) Initializing extension RANDR
[ 47.304] (II) Initializing extension COMPOSITE
[ 47.304] (II) Initializing extension DAMAGE
[ 47.304] (II) Initializing extension MIT-SCREEN-SAVER
[ 47.304] (II) Initializing extension DOUBLE-BUFFER
[ 47.304] (II) Initializing extension RECORD
[ 47.304] (II) Initializing extension DPMS
[ 47.304] (II) Initializing extension Present
[ 47.305] (II) Initializing extension DRI3
[ 47.305] (II) Initializing extension X-Resource
[ 47.305] (II) Initializing extension XVideo
[ 47.305] (II) Initializing extension XVideo-MotionCompensation
[ 47.305] (II) Initializing extension GLX
[ 47.305] (II) Initializing extension GLX
[ 47.305] (II) Indirect GLX disabled.
[ 47.305] (II) GLX: Another vendor is already registered for screen 0
[ 47.305] (II) Initializing extension XFree86-VidModeExtension
[ 47.305] (II) Initializing extension XFree86-DGA
[ 47.305] (II) Initializing extension XFree86-DRI
[ 47.305] (II) Initializing extension DRI2
[ 47.305] (II) Initializing extension NV-GLX
[ 47.305] (II) Initializing extension NV-CONTROL
[ 47.305] rdpCreateScreenResources:
[ 47.346] (II) Using input driver 'XRDPMOUSE' for 'xrdpMouse'
[ 47.346] (**) Option "CorePointer"
[ 47.346] (**) xrdpMouse: always reports core events
[ 47.346] rdpmousePreInit: drv 0x5602e6ffab50 info 0x5602e7732c60, flags 0x0
[ 47.346] (II) XINPUT: Adding extended input device "xrdpMouse" (type: Mouse, id 6)
[ 47.346] rdpmouseControl: what 0
[ 47.346] rdpmouseDeviceInit:
[ 47.347] rdpmouseCtrl:
[ 47.347] rdpRegisterInputCallback: type 1 proc 0x7fc3003273d0
[ 47.347] (**) xrdpMouse: (accel) keeping acceleration scheme 1
[ 47.347] (**) xrdpMouse: (accel) acceleration profile 0
[ 47.347] (**) xrdpMouse: (accel) acceleration factor: 2.000
[ 47.347] (**) xrdpMouse: (accel) acceleration threshold: 4
[ 47.347] rdpmouseControl: what 1
[ 47.347] rdpmouseDeviceOn:
[ 47.347] (II) Using input driver 'XRDPKEYB' for 'xrdpKeyboard'
[ 47.347] (**) Option "CoreKeyboard"
[ 47.347] (**) xrdpKeyboard: always reports core events
[ 47.347] rdpkeybPreInit: drv 0x5602e6ffaac0 info 0x5602e7737130, flags 0x0
[ 47.347] (II) XINPUT: Adding extended input device "xrdpKeyboard" (type: Keyboard, id 7)
[ 47.347] rdpkeybControl: what 0
[ 47.347] rdpkeybDeviceInit:
[ 47.357] rdpkeybChangeKeyboardControl:
[ 47.358] rdpkeybChangeKeyboardControl: autoRepeat on
[ 47.358] rdpRegisterInputCallback: type 0 proc 0x7fc300322930
[ 47.358] rdpkeybControl: what 1
[ 47.358] rdpkeybDeviceOn:
[ 47.384] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 47.384] (II) AutoAddDevices is off - not adding device.
[ 47.384] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 47.384] (II) AutoAddDevices is off - not adding device.
[ 47.384] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[ 47.384] (II) AutoAddDevices is off - not adding device.
[ 47.385] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event5)
[ 47.385] (II) AutoAddDevices is off - not adding device.
[ 47.385] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event6)
[ 47.385] (II) AutoAddDevices is off - not adding device.
[ 47.385] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event7)
[ 47.385] (II) AutoAddDevices is off - not adding device.
[ 47.386] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event8)
[ 47.386] (II) AutoAddDevices is off - not adding device.
[ 47.386] (II) config/udev: Adding input device Microsoft Xbox Series S|X Controller (/dev/input/event15)
[ 47.386] (II) AutoAddDevices is off - not adding device.
[ 47.387] (II) config/udev: Adding input device Microsoft Xbox Series S|X Controller (/dev/input/js0)
[ 47.387] (II) AutoAddDevices is off - not adding device.
[ 47.387] (II) config/udev: Adding input device Generic Realtek USB2.0 Audio Consumer Control (/dev/input/event14)
[ 47.387] (II) AutoAddDevices is off - not adding device.
[ 47.388] (II) config/udev: Adding input device Generic Realtek USB2.0 Audio (/dev/input/event16)
[ 47.388] (II) AutoAddDevices is off - not adding device.
[ 47.389] (II) config/udev: Adding input device Logitech G102 Prodigy Gaming Mouse (/dev/input/event21)
[ 47.389] (II) AutoAddDevices is off - not adding device.
[ 47.389] (II) config/udev: Adding input device Logitech G102 Prodigy Gaming Mouse (/dev/input/mouse0)
[ 47.389] (II) AutoAddDevices is off - not adding device.
[ 47.390] (II) config/udev: Adding input device Logitech G102 Prodigy Gaming Mouse Keyboard (/dev/input/event22)
[ 47.390] (II) AutoAddDevices is off - not adding device.
[ 47.391] (II) config/udev: Adding input device HOLTEK USB-HID Keyboard (/dev/input/event23)
[ 47.391] (II) AutoAddDevices is off - not adding device.
[ 47.391] (II) config/udev: Adding input device HOLTEK USB-HID Keyboard Mouse (/dev/input/event24)
[ 47.391] (II) AutoAddDevices is off - not adding device.
[ 47.392] (II) config/udev: Adding input device HOLTEK USB-HID Keyboard Mouse (/dev/input/mouse1)
[ 47.392] (II) AutoAddDevices is off - not adding device.
[ 47.393] (II) config/udev: Adding input device HOLTEK USB-HID Keyboard System Control (/dev/input/event25)
[ 47.393] (II) AutoAddDevices is off - not adding device.
[ 47.394] (II) config/udev: Adding input device HOLTEK USB-HID Keyboard Consumer Control (/dev/input/event26)
[ 47.394] (II) AutoAddDevices is off - not adding device.
[ 47.394] (II) config/udev: Adding input device HOLTEK USB-HID Keyboard (/dev/input/event27)
[ 47.394] (II) AutoAddDevices is off - not adding device.
[ 47.395] (II) config/udev: Adding input device HOLTEK USB-HID Keyboard (/dev/input/event28)
[ 47.395] (II) AutoAddDevices is off - not adding device.
[ 47.395] (II) config/udev: Adding input device HDA Creative Mic (/dev/input/event17)
[ 47.395] (II) AutoAddDevices is off - not adding device.
[ 47.396] (II) config/udev: Adding input device HDA Creative Line Out Surround (/dev/input/event18)
[ 47.396] (II) AutoAddDevices is off - not adding device.
[ 47.396] (II) config/udev: Adding input device HDA Creative Line Out CLFE (/dev/input/event19)
[ 47.396] (II) AutoAddDevices is off - not adding device.
[ 47.396] (II) config/udev: Adding input device HDA Creative Front Headphone (/dev/input/event20)
[ 47.396] (II) AutoAddDevices is off - not adding device.
[ 47.397] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event10)
[ 47.397] (II) AutoAddDevices is off - not adding device.
[ 47.397] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event11)
[ 47.397] (II) AutoAddDevices is off - not adding device.
[ 47.397] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event12)
[ 47.397] (II) AutoAddDevices is off - not adding device.
[ 47.397] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event13)
[ 47.397] (II) AutoAddDevices is off - not adding device.
[ 47.398] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event9)
[ 47.398] (II) AutoAddDevices is off - not adding device.
[ 47.398] (II) config/udev: Adding input device Eee PC WMI hotkeys (/dev/input/event4)
[ 47.398] (II) AutoAddDevices is off - not adding device.
[ 47.398] (II) config/udev: Adding input device PC Speaker (/dev/input/event3)
[ 47.398] (II) AutoAddDevices is off - not adding device.
[ 47.404] xorgxrdpDeferredStartup:
[ 47.404] xorgxrdpSetupDamage: DamageRegister ok
[ 47.458] rdpInDeferredRepeatCallback:
[ 47.458] rdpkeybChangeKeyboardControl:
[ 47.458] rdpkeybChangeKeyboardControl: autoRepeat off
[ 47.853] rdpkeybChangeKeyboardControl:
[ 47.853] rdpkeybChangeKeyboardControl: autoRepeat off
[ 47.853] rdpkeybChangeKeyboardControl:
[ 47.854] rdpkeybChangeKeyboardControl: autoRepeat on
[ 47.954] rdpInDeferredRepeatCallback:
[ 47.954] rdpkeybChangeKeyboardControl:
[ 47.954] rdpkeybChangeKeyboardControl: autoRepeat off
[ 48.611] rdpkeybChangeKeyboardControl:
[ 48.611] rdpkeybChangeKeyboardControl: autoRepeat on
[ 48.711] rdpInDeferredRepeatCallback:
[ 48.711] rdpkeybChangeKeyboardControl:
[ 48.711] rdpkeybChangeKeyboardControl: autoRepeat off
[ 49.251] rdpClientConGotConnection:
[ 49.251] rdpClientConGotConnection: g_sck_accept ok new_sck 54
[ 49.251] rdpClientConGetConnection: idle_disconnect_timeout set to non-positive value, idle timer turned off
[ 49.251] rdpAddClientConToDev: adding first clientCon 0x5602e7986fb0
[ 49.252] rdpClientConProcessMsgVersion: version 0 0 0 1
[ 49.252] rdpClientConProcessScreenSizeMsg: set width 1876 height 1012 bpp 16
[ 49.252] rdpClientConAllocateSharedMemory: shmemfd 60 shmemptr 0x7fbcf3c60000 bytes 3797024
[ 49.252] xorgxrdpRRScreenSetSize: width 1876 height 1012
[ 49.254] rdpClientConProcessScreenSizeMsg: RRScreenSizeSet ok=[1]
[ 49.254] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1876 cy 1012
[ 49.254] rdpClientConProcessMsgClientInfo:
[ 49.254] got client info bytes 7184
[ 49.254] jpeg support 0
[ 49.254] offscreen support 0
[ 49.254] offscreen size 0
[ 49.254] offscreen entries 0
[ 49.254] client can not do offscreen to offscreen blits
[ 49.254] client can do new(color) cursor
[ 49.254] client can not do multimon
[ 49.254] rdpRRSetRdpOutputs: numCrtcs 0 numOutputs 0 monitorCount 0
[ 49.254] rdpLoadLayout: keylayout 0x00000409 variant display 10
[ 49.254] rdpkeybChangeKeyboardControl:
[ 49.254] rdpkeybChangeKeyboardControl: autoRepeat on
[ 49.255] rdpkeybChangeKeyboardControl:
[ 49.255] rdpkeybChangeKeyboardControl: autoRepeat on
[ 49.354] rdpInDeferredRepeatCallback:
[ 49.354] rdpkeybChangeKeyboardControl:
[ 49.354] rdpkeybChangeKeyboardControl: autoRepeat off
[ 49.355] rdpInDeferredRepeatCallback:
[ 49.355] rdpkeybChangeKeyboardControl:
[ 49.355] rdpkeybChangeKeyboardControl: autoRepeat off
[ 49.912] rdpClientConProcessScreenSizeMsg: set width 1876 height 1015 bpp 16
[ 49.912] rdpClientConAllocateSharedMemory: shmemfd 60 shmemptr 0x7fbcf3c5e000 bytes 3808280
[ 49.912] xorgxrdpRRScreenSetSize: width 1876 height 1015
[ 49.915] rdpClientConProcessScreenSizeMsg: RRScreenSizeSet ok=[1]
[ 49.915] rdpClientConProcessMsgVersion: version 0 0 0 1
[ 49.915] rdpClientConProcessMsgClientInput: invalidate x 0 y 0 cx 1876 cy 1015
[ 49.915] rdpClientConProcessMsgClientInfo:
[ 49.915] got client info bytes 7184
[ 49.915] jpeg support 0
[ 49.915] offscreen support 0
[ 49.915] offscreen size 0
[ 49.915] offscreen entries 0
[ 49.915] client can not do offscreen to offscreen blits
[ 49.915] client can do new(color) cursor
[ 49.915] client can not do multimon
[ 49.915] rdpRRSetRdpOutputs: numCrtcs 0 numOutputs 0 monitorCount 0
[ 49.915] rdpLoadLayout: keylayout 0x00000409 variant display 10
[ 49.915] rdpkeybChangeKeyboardControl:
[ 49.915] rdpkeybChangeKeyboardControl: autoRepeat on
[ 49.915] rdpkeybChangeKeyboardControl:
[ 49.916] rdpkeybChangeKeyboardControl: autoRepeat on
[ 50.016] rdpInDeferredRepeatCallback:
[ 50.016] rdpkeybChangeKeyboardControl:
[ 50.016] rdpkeybChangeKeyboardControl: autoRepeat off
[ 50.016] rdpInDeferredRepeatCallback:
[ 50.016] rdpkeybChangeKeyboardControl:
[ 50.016] rdpkeybChangeKeyboardControl: autoRepeat off
Output for $ glxinfo -B from xrdp session:
$ glxinfo -B
name of display: :10.0
display: :10 screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 8192 MB
Total available memory: 8192 MB
Currently available dedicated video memory: 7175 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 3070/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 545.29.06
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6.0 NVIDIA 545.29.06
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 545.29.06
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
~/.xinitrc
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
#eval $(dbus-launch --sh-syntax)
#/usr/lib/startplasma-x11
#exec dbus-run-session -- startplasma-x11
#/usr/lib/plasma-dbus-run-session-if-needed startplasma-x11
DESKTOP_SESSION=plasma
dbus-launch startplasma-x11
Last edited by UndefFox (2024-01-05 16:13:24)
Offline
Do you have a second plasmashell process?
Can you start one on the second session (eg. from konsole)?
Offline
Before starting xrdp session:
- plasmashell
- startplasma-x11
After, those appear:
- startplasma-x11
- plasmashell
- plasma_session
Attempts to start another plasmashell via konsole are doing nothing. Tried those commands:
- $ plasmashell
- $ kstart5 plasmashell
Additional notices:
- After installing xrdp, baloo_file_extractor and baloo_file segfault on logging in on any machine.
- Memory use of xrdp plasmashell is ~50 MB while of the main one sits ~350MB
Last edited by UndefFox (2024-01-04 10:54:23)
Offline
From within the rdp session
strace -f -tt -o /tmp/plasma.strace plasmashell
cat /tmp/plasma.strace | curl -F 'file=@-' 0x0.st
It'll likely test some other lock mechanism against double-invocation by the same user.
Why exactly are you trying to run two plasma session as same user on the same system?
Offline
I need a virtual machine to cross compile Qt on Debian and work using QtCreator. My laptop is too weak for that so i'm trying to setup rdp to my home PC. I installed OpenVPN client on rented server and use it as a tunnel to avoid changing my home IP to static. I've tried other options like VLN or SSH tunneling, but rdp seems best to suit all my preferences ( i've already installed xrdp and used it some time ago, but i've reinstalled system since then and now i can't get it to work ).
About two sessions: it's not required in this use case, but even if i don't login in my user and connect via rdp to PC, it's still has no desktop.
Output of the commands:
strace file
Offline
About two sessions: it's not required in this use case, but even if i don't login in my user and connect via rdp to PC, it's still has no desktop.
Before I wade through the strace, does plasmashell in this case (also not exist as process and) write an error to the shell or system journal if you try to start it from a konsole in the rdp session?
Offline
This is how journal looking after logging on main machine, waiting for journal to stop getting new entries and then connecting via xrdp:
Journal log
The reason baloo crashes is
Jan 05 15:22:31 foxcomputer baloo_file[3255]: Failed to register via dbus. Another instance is running
Last edited by UndefFox (2024-01-05 12:54:57)
Offline
The reason baloo crashes is
Yes, KDE/plasma is really not designed to be run twice by the same user (mostly b/c of the dbus reliance), hence the suggestion to skip that part and run only one instance.
Offline
I've noticed your signature and and did a bit more tests ( not sure if it's needed ), so i tried connecting via rdp with multi-user.target as default too.
Graphical.taget, without logging into account:
journal.log
with mutli-user.target as default:
journal.log
.xorgxrdp.10
Offline
[ 242.718] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 242.718] (EE) NVIDIA: system's kernel log for additional error messages and
[ 242.718] (EE) NVIDIA: consult the NVIDIA README for details.
[ 242.718] xorgxrdpPciProbe:
[ 242.720] (EE) NVIDIA: Failed to initialize the NVIDIA kernel module. Please see the
[ 242.720] (EE) NVIDIA: system's kernel log for additional error messages and
[ 242.720] (EE) NVIDIA: consult the NVIDIA README for details.
[ 242.720] (EE) No devices detected.
but the session journal cannot explain why, please post the system journal from tha run.
Offline
There is two files under 'with mutli-user.target as default:' line. The journal.log is the file with log that i get from executing
$ journalctl -S "2024-01-05 17:23:00" > journal.log
after waiting a bit time after booting, so that no more new entries appear, and connecting via rdp.
Do you need output of another command?
Offline
sudo journalctl -b | curl -F 'file=@-' 0x0.st
The system journal is only accessible to the root and users that are in some elevated groups (eg. wheel)
Offline
There is the journal output from rdp with multi_user as default:
sudo_journal.log
I assume that this is what is important:
Jan 05 17:58:01 foxcomputer xrdp-sesman[660]: xorgxrdpPciProbe:
Jan 05 17:58:01 foxcomputer xrdp-sesman[660]: (EE)
Jan 05 17:58:01 foxcomputer xrdp-sesman[660]: Fatal server error:
Jan 05 17:58:01 foxcomputer xrdp-sesman[660]: (EE) no screens found(EE)
Jan 05 17:58:01 foxcomputer xrdp-sesman[660]: (EE)
Jan 05 17:58:01 foxcomputer xrdp-sesman[660]: Please consult the The X.Org Foundation support
Jan 05 17:58:01 foxcomputer xrdp-sesman[660]: at http://wiki.x.org
Jan 05 17:58:01 foxcomputer xrdp-sesman[660]: for help.
Jan 05 17:58:01 foxcomputer xrdp-sesman[660]: (EE) Please also check the log file at ".xorgxrdp.10.log" for additional information.
Jan 05 17:58:01 foxcomputer xrdp-sesman[660]: (EE)
Jan 05 17:58:01 foxcomputer systemd[637]: Started D-Bus User Message Bus.
Jan 05 17:58:01 foxcomputer xrdp-sesman[660]: (EE) Server terminated with error (1). Closing log file.
Jan 05 17:58:01 foxcomputer dbus-daemon[675]: [session uid=1000 pid=675] Successfully activated service 'org.freedesktop.systemd1'
Jan 05 17:58:01 foxcomputer xrdp-sesexec[655]: [INFO ] X server pid 660 on display :10 finished
Jan 05 17:58:01 foxcomputer xrdp-sesman[678]: $DISPLAY is not set or cannot connect to the X server.
Jan 05 17:58:01 foxcomputer xrdp-sesexec[655]: [INFO ] Window manager (pid 663, display 10) finished normally in 0 secs
Jan 05 17:58:01 foxcomputer xrdp-sesexec[655]: [WARN ] Window manager (pid 663, display 10) exited quickly (0 secs). This could indicate a window manager config problem
Last edited by UndefFox (2024-01-05 15:10:12)
Offline
The module loads fine and the error is (now) different
You're using https://aur.archlinux.org/packages/xorgxrdp/ - right?
Tried https://aur.archlinux.org/packages/xrdp/ ?
Or are you trying to use https://aur.archlinux.org/packages/xorgxrdp-nvidia/ w/ https://aur.archlinux.org/packages/xrdp/ ?
Has that also previously been the case? Or was the lead-up exclusively "how to run a 2nd plasma session as same user" w/o any RDP attempts at all?
Offline
As it says in the first message, i'm using xrdp-git (xorg-xrdp-nvidia is depended on xrdp-git) and xorg-xrdp-nvidia.
I can try installing xrdp with xorg-xrdp, set them with same configs i have now and check if it works.
Offline
Has that also previously been the case? Or was the lead-up exclusively "how to run a 2nd plasma session as same user" w/o any RDP attempts at all?
In the begging, i couldn't login via rdp, but connection worked. I thought that my .xinitrc file must be configured wrong so i tried to start second session via tty3 to test different attempts to get it to work and after few hours asked question on what i was doing wrong. After success on starting second session in tty3, rdp could login but no desktop presented.
I've didn't changed any configuration files since opening this topic so all presented configurations in first post still valid.
Offline
Well, i installed xrdp and xorg-xrdp and now everything shows up. Baloo_file and baloo_file_exctractor still crash even with muli-user target as default. Seems like poorly configured file .xinitrc was the initial problem with logging in via rdp.
Last edited by UndefFox (2024-01-05 16:13:08)
Offline