Skip to content
New issue

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

Debian connect to GNOME desktop environment #2579

Closed
beppo-ivel opened this issue Mar 7, 2023 · 14 comments
Closed

Debian connect to GNOME desktop environment #2579

beppo-ivel opened this issue Mar 7, 2023 · 14 comments

Comments

@beppo-ivel
Copy link

beppo-ivel commented Mar 7, 2023

I installed xRDP on Debian GNU/Linux 11 (bullseye). When connected via remote desktop from windows, a logout window appears with message "Oh no, something went wrong!" (img below).

$ ls -la /usr/share/xsessions
total 40
drwxr-xr-x   2 root root  4096 Nov  6  2021 .
drwxr-xr-x 268 root root 12288 Mar  3 16:12 ..
-rw-r--r--   1 root root  7845 Dec  3  2020 gnome-classic.desktop
-rw-r--r--   1 root root  7829 Mar 29  2021 gnome.desktop
-rw-r--r--   1 root root  7914 Mar 29  2021 gnome-xorg.desktop

$ cat ~/.xsession
gnome-session

Then I installed xfce4 desktop environment and edit last 3 lines of startwm.sh, because found a lot references they use xfce4. After restart xrdp login worked as expected.


$ sudo apt install xfce4 xfce4-goodies
$ sudo nano /etc/xrdp/startwm.sh
...
# test -x /etc/X11/Xsession && exec /etc/X11/Xsession
# exec /bin/sh /etc/X11/Xsession
startxfce4

$ sudo systemctl restart xrdp 

But I want to use the gnome-session compare to this question, which is the default desktop environment of the Debian installation.

xrdp-sesman.log


[20230307-11:34:49] [INFO ] A connection received from ::1 port 40818
[20230307-11:34:49] [INFO ] ++ created session (access granted): username user, ip ::ffff:192.168.108.23:54924 - socket: 12
[20230307-11:34:49] [INFO ] starting Xorg session...
[20230307-11:34:49] [DEBUG] Closed socket 9 (AF_INET6 :: port 5910)
[20230307-11:34:49] [DEBUG] Closed socket 9 (AF_INET6 :: port 6010)
[20230307-11:34:49] [DEBUG] Closed socket 9 (AF_INET6 :: port 6210)
[20230307-11:34:49] [DEBUG] Closed socket 8 (AF_INET6 ::1 port 3350)
[20230307-11:34:49] [INFO ] calling auth_start_session from pid 9262
[20230307-11:34:49] [DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350)
[20230307-11:34:49] [DEBUG] Closed socket 8 (AF_INET6 ::1 port 3350)
[20230307-11:34:49] [INFO ] /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log  
[20230307-11:34:49] [CORE ] waiting for window manager (pid 9305) to exit
[20230307-11:34:58] [CORE ] window manager (pid 9305) did exit, cleaning up session
[20230307-11:34:58] [INFO ] calling auth_stop_session and auth_end from pid 9262
[20230307-11:34:58] [DEBUG] cleanup_sockets:
[20230307-11:34:58] [DEBUG] cleanup_sockets: deleting /run/xrdp/sockdir/xrdp_chansrv_audio_out_socket_10
[20230307-11:34:58] [DEBUG] cleanup_sockets: deleting /run/xrdp/sockdir/xrdp_chansrv_audio_in_socket_10
[20230307-11:34:58] [DEBUG] cleanup_sockets: deleting /run/xrdp/sockdir/xrdpapi_10
[20230307-11:34:58] [INFO ] ++ terminated session:  username user, display :10.0, session_pid 9262, ip ::ffff:192.168.108.23:54924 - socket: 12
[20230307-12:42:57] [INFO ] shutting down sesman 1
[20230307-12:42:58] [DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350)
[20230307-14:21:11] [DEBUG] libscp initialized
[20230307-14:21:11] [DEBUG] Testing if xrdp-sesman can listen on 127.0.0.1 port 3350.
[20230307-14:21:11] [DEBUG] Closed socket 5 (AF_INET6 ::1 port 3350)
[20230307-14:21:11] [INFO ] starting xrdp-sesman with pid 571
[20230307-14:21:11] [INFO ] listening to port 3350 on 127.0.0.1

xrdp.log


[20230307-11:34:41] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.108.23 port 54923
[20230307-11:34:41] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:192.168.108.24 port 3389)
[20230307-11:34:41] [DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
[20230307-11:34:41] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230307-11:34:41] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230307-11:34:41] [DEBUG] TLSv1.3 enabled
[20230307-11:34:41] [DEBUG] TLSv1.2 enabled
[20230307-11:34:41] [DEBUG] Security layer: requested 11, selected 1
[20230307-11:34:41] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:192.168.108.24 port 3389)
[20230307-11:34:41] [INFO ] Socket 12: AF_INET6 connection received from ::ffff:192.168.108.23 port 54924
[20230307-11:34:41] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:192.168.108.24 port 3389)
[20230307-11:34:41] [DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
[20230307-11:34:41] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230307-11:34:41] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230307-11:34:41] [DEBUG] TLSv1.3 enabled
[20230307-11:34:41] [DEBUG] TLSv1.2 enabled
[20230307-11:34:41] [DEBUG] Security layer: requested 11, selected 1
[20230307-11:34:41] [INFO ] connected client computer name: DESKTOP-SRM7KEP
[20230307-11:34:41] [INFO ] adding channel item name rdpdr chan_id 1004 flags 0x80800000
[20230307-11:34:41] [INFO ] adding channel item name rdpsnd chan_id 1005 flags 0xc0000000
[20230307-11:34:41] [INFO ] adding channel item name cliprdr chan_id 1006 flags 0xc0a00000
[20230307-11:34:41] [INFO ] adding channel item name drdynvc chan_id 1007 flags 0xc0800000
[20230307-11:34:41] [INFO ] TLS connection established from ::ffff:192.168.108.23 port 54924: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384
[20230307-11:34:41] [DEBUG] xrdp_0000242d_wm_login_mode_event_00000001
[20230307-11:34:41] [INFO ] Loading keymap file /etc/xrdp/km-00000407.ini
[20230307-11:34:41] [WARN ] local keymap file for 0x00000407 found and doesn't match built in keymap, using local keymap file
[20230307-11:34:49] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350
[20230307-11:34:49] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20230307-11:34:49] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait...
[20230307-11:34:49] [DEBUG] return value from xrdp_mm_connect 0
[20230307-11:34:49] [INFO ] xrdp_wm_log_msg: login successful for display 10
[20230307-11:34:49] [DEBUG] xrdp_wm_log_msg: started connecting
[20230307-11:34:49] [INFO ] lib_mod_log_peer: xrdp_pid=9261 connected to X11rdp_pid=9306 X11rdp_uid=1000 X11rdp_gid=1000 client_ip=::ffff:192.168.108.23 client_port=54924
[20230307-11:34:49] [DEBUG] xrdp_wm_log_msg: connected ok
[20230307-11:34:50] [DEBUG] xrdp_mm_connect_chansrv: chansrv connect successful
[20230307-11:34:50] [DEBUG] Closed socket 18 (AF_INET6 ::1 port 40818)
[20230307-11:34:58] [DEBUG] Closed socket 12 (AF_INET6 ::ffff:192.168.108.24 port 3389)
[20230307-11:34:58] [DEBUG] xrdp_mm_module_cleanup
[20230307-11:34:58] [DEBUG] Closed socket 19 (AF_UNIX)
[20230307-11:34:58] [DEBUG] Closed socket 20 (AF_UNIX)
[20230307-12:42:53] [DEBUG] Closed socket 11 (AF_INET6 :: port 3389)
[20230307-14:21:11] [INFO ] address [0.0.0.0] port [3389] mode 1
[20230307-14:21:11] [INFO ] listening to port 3389 on 0.0.0.0
[20230307-14:21:12] [INFO ] xrdp_listen_pp done
[20230307-14:21:12] [DEBUG] Closed socket 7 (AF_INET6 :: port 3389)
[20230307-14:21:14] [INFO ] starting xrdp with pid 598
[20230307-14:21:14] [INFO ] address [0.0.0.0] port [3389] mode 1
[20230307-14:21:14] [INFO ] listening to port 3389 on 0.0.0.0
[20230307-14:21:14] [INFO ] xrdp_listen_pp done

uZlAS

@akarl10
Copy link
Contributor

akarl10 commented Mar 7, 2023

If you say a message "something went wrong" appears instead of the gnome desktop, can you confirm that you where not concurrently logged in on the machine? If you where see https://github.com/neutrinolabs/xrdp/wiki/Tips-and-FAQ#why-cant-i-log-the-same-user-on-on-the-graphical-console-and-over-xrdp-at-the-same-time

@matt335672
Copy link
Member

As @akarl10 says, a common problem is to try to log in to the console and an xrdp session at the same time with the same user.

If that's not it, let us know and we'll look further.

@beppo-ivel
Copy link
Author

beppo-ivel commented Mar 8, 2023

can you confirm that you where not concurrently logged in on the machine?

confirm, I'm not logged in twice and even not with other users. And it works using xfce4.

@akarl10
Copy link
Contributor

akarl10 commented Mar 8, 2023

@beppo-ivel ah ok, xfce works then (I thought both desktop environments don't start)

If you followed #1723 then probably it crashed because debian does not have the ubuntu desktop.

What I would suggest is taking upstream startwm.sh (https://github.com/neutrinolabs/xrdp/raw/devel/sesman/startwm.sh)

Then starting with that script you need to look for the available desktop environment names:

ls /usr/share/xsessions

I guess there is a file called gnome.desktop. If that is true put a new file in /etc/profile.d/90-xrdp-default-desktop.sh
with the content

[ -n "$XRDP_SESSION" ] && export DESKTOP_SESSION=gnome

replace DESKTOP_SESSION with the appropriate one (that is the .desktop file name above without the .desktop suffix)

@matt335672
Copy link
Member

Another possibility is something in your hardware config is preventing 3D acceleration working for GNOME.

To prevent this getting confusing, go with @akarl10's suggestion first and see what happens.

@beppo-ivel
Copy link
Author

beppo-ivel commented Mar 17, 2023

@akarl10 @matt335672 followed your steps, same behavior. I also reviewed the script (https://github.com/neutrinolabs/xrdp/raw/devel/sesman/startwm.sh) and think that main parts quite similar to the default startwm.sh I pasted below. I also checked if scripts are executeable:

-rwxr-xr-x 1 root root 55 Mar 17 17:32 /etc/profile.d/90-xrdp-default-desktop.sh
-rwxr-xr-x 1 root root 4026 Mar 15 18:10 /etc/xrdp/startwm.sh


#!/bin/sh
# xrdp X session start script (c) 2015, 2017 mirabilos
# published under The MirOS Licence

if test -r /etc/profile; then
        . /etc/profile
fi

if test -r /etc/default/locale; then
        . /etc/default/locale
        test -z "${LANG+x}" || export LANG
        test -z "${LANGUAGE+x}" || export LANGUAGE
        test -z "${LC_ADDRESS+x}" || export LC_ADDRESS
        test -z "${LC_ALL+x}" || export LC_ALL
        test -z "${LC_COLLATE+x}" || export LC_COLLATE
        test -z "${LC_CTYPE+x}" || export LC_CTYPE
        test -z "${LC_IDENTIFICATION+x}" || export LC_IDENTIFICATION
        test -z "${LC_MEASUREMENT+x}" || export LC_MEASUREMENT
        test -z "${LC_MESSAGES+x}" || export LC_MESSAGES
        test -z "${LC_MONETARY+x}" || export LC_MONETARY
        test -z "${LC_NAME+x}" || export LC_NAME
        test -z "${LC_NUMERIC+x}" || export LC_NUMERIC
        test -z "${LC_PAPER+x}" || export LC_PAPER
        test -z "${LC_TELEPHONE+x}" || export LC_TELEPHONE
        test -z "${LC_TIME+x}" || export LC_TIME
        test -z "${LOCPATH+x}" || export LOCPATH
fi

if test -r /etc/profile; then
        . /etc/profile
fi

echo gnome-session >~/.xsession
test -x /etc/X11/Xsession && exec /etc/X11/Xsession
exec /bin/sh /etc/X11/Xsession

/var/log/xrdp.log

[20230317-18:43:32] [INFO ] Socket 13: AF_INET connection received from 192.168.108.23 port 63682
[20230317-18:43:32] [DEBUG] Closed socket 13 (AF_INET 192.168.108.27:3389)
[20230317-18:43:32] [DEBUG] Closed socket 11 (AF_VSOCK cid -1 port 3389)
[20230317-18:43:32] [DEBUG] Closed socket 12 (AF_INET 0.0.0.0:3389)
[20230317-18:43:32] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230317-18:43:32] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230317-18:43:32] [DEBUG] TLSv1.3 enabled
[20230317-18:43:32] [DEBUG] TLSv1.2 enabled
[20230317-18:43:32] [DEBUG] Security layer: requested 11, selected 1
[20230317-18:43:32] [DEBUG] Closed socket 13 (AF_INET 192.168.108.27:3389)
[20230317-18:43:32] [INFO ] Socket 13: AF_INET connection received from 192.168.108.23 port 63683
[20230317-18:43:32] [DEBUG] Closed socket 13 (AF_INET 192.168.108.27:3389)
[20230317-18:43:32] [DEBUG] Closed socket 11 (AF_VSOCK cid -1 port 3389)
[20230317-18:43:32] [DEBUG] Closed socket 12 (AF_INET 0.0.0.0:3389)
[20230317-18:43:32] [INFO ] Using default X.509 certificate: /etc/xrdp/cert.pem
[20230317-18:43:32] [INFO ] Using default X.509 key file: /etc/xrdp/key.pem
[20230317-18:43:32] [DEBUG] TLSv1.3 enabled
[20230317-18:43:32] [DEBUG] TLSv1.2 enabled
[20230317-18:43:32] [DEBUG] Security layer: requested 11, selected 1
[20230317-18:43:32] [INFO ] connected client computer name: DESKTOP-SRM7KEP
[20230317-18:43:32] [INFO ] adding channel item name rdpdr chan_id 1004 flags 0x80800000
[20230317-18:43:32] [INFO ] adding channel item name rdpsnd chan_id 1005 flags 0xc0000000
[20230317-18:43:32] [INFO ] adding channel item name cliprdr chan_id 1006 flags 0xc0a00000
[20230317-18:43:32] [INFO ] adding channel item name drdynvc chan_id 1007 flags 0xc0800000
[20230317-18:43:32] [INFO ] TLS connection established from 192.168.108.23 port 63683: TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384
[20230317-18:43:32] [DEBUG] xrdp_0000bf10_wm_login_mode_event_00000001
[20230317-18:43:32] [INFO ] Loading keymap file /etc/xrdp/km-00000407.ini
[20230317-18:43:32] [WARN ] local keymap file for 0x00000407 found and doesn't match built in keymap, using local keymap file
[20230317-18:43:40] [DEBUG] xrdp_wm_log_msg: connecting to sesman ip 127.0.0.1 port 3350
[20230317-18:43:40] [INFO ] xrdp_wm_log_msg: sesman connect ok
[20230317-18:43:40] [DEBUG] xrdp_wm_log_msg: sending login info to session manager, please wait...
[20230317-18:43:40] [DEBUG] return value from xrdp_mm_connect 0
[20230317-18:43:40] [INFO ] xrdp_wm_log_msg: login successful for display 10
[20230317-18:43:40] [DEBUG] xrdp_wm_log_msg: started connecting
[20230317-18:43:41] [INFO ] lib_mod_log_peer: xrdp_pid=48912 connected to X11rdp_pid=48915 X11rdp_uid=1000 X11rdp_gid=1000 client_ip=192.168.108.23 client_port=63683
[20230317-18:43:41] [DEBUG] xrdp_wm_log_msg: connected ok
[20230317-18:43:41] [DEBUG] xrdp_mm_connect_chansrv: chansrv connect successful
[20230317-18:43:41] [DEBUG] Closed socket 18 (AF_INET6 ::1 port 39074)
[20230317-18:43:54] [DEBUG] Closed socket 13 (AF_INET 192.168.108.27:3389)
[20230317-18:43:54] [DEBUG] xrdp_mm_module_cleanup
[20230317-18:43:54] [DEBUG] Closed socket 19 (AF_UNIX)
[20230317-18:43:54] [DEBUG] Closed socket 20 (AF_UNIX)

/var/log/xrdp-sesman.log

[20230317-18:43:40] [INFO ] A connection received from ::1 port 39074
[20230317-18:43:40] [INFO ] ++ created session (access granted): username user, ip 192.168.108.23:63683 - socket: 13
[20230317-18:43:40] [INFO ] starting Xorg session...
[20230317-18:43:40] [DEBUG] Closed socket 9 (AF_INET6 :: port 5910)
[20230317-18:43:40] [DEBUG] Closed socket 9 (AF_INET6 :: port 6010)
[20230317-18:43:40] [DEBUG] Closed socket 9 (AF_INET6 :: port 6210)
[20230317-18:43:40] [DEBUG] Closed socket 8 (AF_INET6 ::1 port 3350)
[20230317-18:43:40] [INFO ] calling auth_start_session from pid 48913
[20230317-18:43:40] [DEBUG] Closed socket 7 (AF_INET6 ::1 port 3350)
[20230317-18:43:40] [DEBUG] Closed socket 8 (AF_INET6 ::1 port 3350)
[20230317-18:43:40] [INFO ] /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log  
[20230317-18:43:41] [CORE ] waiting for window manager (pid 48914) to exit
[20230317-18:43:54] [CORE ] window manager (pid 48914) did exit, cleaning up session
[20230317-18:43:54] [INFO ] calling auth_stop_session and auth_end from pid 48913
[20230317-18:43:54] [DEBUG] cleanup_sockets:
[20230317-18:43:54] [DEBUG] cleanup_sockets: deleting /run/xrdp/sockdir/xrdp_chansrv_audio_out_socket_10
[20230317-18:43:54] [DEBUG] cleanup_sockets: deleting /run/xrdp/sockdir/xrdp_chansrv_audio_in_socket_10
[20230317-18:43:54] [DEBUG] cleanup_sockets: deleting /run/xrdp/sockdir/xrdpapi_10
[20230317-18:43:54] [INFO ] ++ terminated session:  username user, display :10.0, session_pid 48913, ip 192.168.108.23:63683 - socket: 13

@akarl10
Copy link
Contributor

akarl10 commented Mar 17, 2023

@beppo-ivel the startwm.sh you posted does not do the same thing as upstream. The upstream variant derives the session startup command AND environment variables from a configuration file. calling gnome-session is probably not enough. To be sure to not get any interference you should delete ~/.xsession (~/.xsession is kinda outdated when #2522 and #2557 got merged on debian systems if used with upstream startwm.sh)

btw, what does ~/.xsession-errors say? maybe there is a message that will get us on the right track

@beppo-ivel
Copy link
Author

beppo-ivel commented Mar 18, 2023

@beppo-ivel the startwm.sh you posted does not do the same thing as upstream. The upstream variant derives the session startup command AND environment variables from a configuration file.

@akarl10 I agree, but imo both scripts try to run . /etc/X11/Xsession where values of env-vars XDG_CURRENT_DESKTOP and XDG_SESSION_DESKTOP are same in both setups. And when . /etc/X11/Xsession is executed the error-msg appears, which I showed in the screenshot above.

calling gnome-session is probably not enough. To be sure to not get any interference you should delete ~/.xsession (~/.xsession is kinda outdated when #2522 and #2557 got merged on debian systems if used with upstream startwm.sh)

I deleted ~/.xsession but the result is still the same.

btw, what does ~/.xsession-errors say? maybe there is a message that will get us on the right track

~/.xsession-errors

Xsession: X session started for user at Sat 18 Mar 2023 04:27:49 PM CET
WARNING: tempfile is deprecated; consider using mktemp instead.
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting DISPLAY=:10.0
localuser:user being added to access control list
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting SHELL=/bin/bash
dbus-update-activation-environment: setting QT_ACCESSIBILITY=1
dbus-update-activation-environment: setting LANGUAGE=en_US:en
dbus-update-activation-environment: setting DESKTOP_SESSION=gnome
dbus-update-activation-environment: setting GTK_MODULES=gail:atk-bridge
dbus-update-activation-environment: setting PWD=/home/user
dbus-update-activation-environment: setting XDG_SESSION_DESKTOP=gnome
dbus-update-activation-environment: setting LOGNAME=user
dbus-update-activation-environment: setting XDG_SESSION_TYPE=x11
dbus-update-activation-environment: setting GPG_AGENT_INFO=/run/user/1000/gnupg/S.gpg-agent:0:1
dbus-update-activation-environment: setting PULSE_SCRIPT=/etc/xrdp/pulse/default.pa
dbus-update-activation-environment: setting HOME=/home/user
dbus-update-activation-environment: setting IM_CONFIG_PHASE=1
dbus-update-activation-environment: setting LANG=en_US.UTF-8
dbus-update-activation-environment: setting XDG_CURRENT_DESKTOP=GNOME
dbus-update-activation-environment: setting XRDP_SOCKET_PATH=/run/xrdp/sockdir
dbus-update-activation-environment: setting XRDP_PULSE_SOURCE_SOCKET=xrdp_chansrv_audio_in_socket_10
dbus-update-activation-environment: setting XDG_SESSION_CLASS=user
dbus-update-activation-environment: setting USER=user
dbus-update-activation-environment: setting XRDP_SESSION=1
dbus-update-activation-environment: setting DISPLAY=:10.0
dbus-update-activation-environment: setting XRDP_PULSE_SINK_SOCKET=xrdp_chansrv_audio_out_socket_10
dbus-update-activation-environment: setting SHLVL=1
dbus-update-activation-environment: setting XDG_RUNTIME_DIR=/run/user/1000
dbus-update-activation-environment: setting XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
dbus-update-activation-environment: setting PATH=/home/user/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
dbus-update-activation-environment: setting DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus
dbus-update-activation-environment: setting UID=1000
dbus-update-activation-environment: setting _=/usr/bin/dbus-update-activation-environment

@akarl10
Copy link
Contributor

akarl10 commented Mar 18, 2023

@beppo-ivel true, both call Xsession, but if STARTUP is set then Xsession behaves differently/should use that as session startup command.

anyhow, that does not seem to be your problem since according xsession-errors the environment seems ok.
the next thing you could try is ssh'ing into the machine as the same user you will before you connect using xrdp,
launch journalctl --user -f
and then login using xrdp. Maybe you see a unit failing

@beppo-ivel
Copy link
Author

beppo-ivel commented Mar 18, 2023

... launch journalctl --user -f and then login using xrdp. Maybe you see a unit failing

$ journalctl --user -f
-- Journal begins at Sat 2021-11-06 23:11:51 CET. --
Mar 18 18:47:42 debian firefox-esr.desktop[61391]: Exiting due to channel error.
Mar 18 18:47:42 debian firefox-esr.desktop[61320]: Exiting due to channel error.
Mar 18 18:47:42 debian firefox-esr.desktop[61513]: Exiting due to channel error.
Mar 18 18:47:42 debian firefox-esr.desktop[61643]: Exiting due to channel error.
Mar 18 18:47:42 debian firefox-esr.desktop[61317]: Exiting due to channel error.
Mar 18 18:47:42 debian firefox-esr.desktop[61255]: Exiting due to channel error.
Mar 18 18:47:42 debian firefox-esr.desktop[62092]: Exiting due to channel error.
Mar 18 18:47:42 debian firefox-esr.desktop[61184]: Exiting due to channel error.
Mar 18 18:47:42 debian systemd[43817]: app-gnome-firefox\x2desr-61067.scope: Succeeded.
Mar 18 18:47:42 debian systemd[43817]: app-gnome-firefox\x2desr-61067.scope: Consumed 2min 3.182s CPU time.
Mar 18 18:48:21 debian xrdp-sesman[62635]: (62635)(139951537550912)[INFO ] /usr/lib/xorg/Xorg :10 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
Mar 18 18:48:22 debian systemd[43817]: Started D-Bus User Message Bus.
Mar 18 18:48:22 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Activating via systemd: service name='org.a11y.Bus' unit='at-spi-dbus-bus.service' requested by ':1.5' (uid=1000 pid=62733 comm="/usr/libexec/gnome-session-check-accelerated ")
Mar 18 18:48:22 debian systemd[43817]: Starting Accessibility services bus...
Mar 18 18:48:22 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Successfully activated service 'org.a11y.Bus'
Mar 18 18:48:22 debian systemd[43817]: Started Accessibility services bus.
Mar 18 18:48:22 debian gnome-session[62733]: gnome-session-check-accelerated: GL Helper exited with code 512
Mar 18 18:48:22 debian gnome-session[62749]: libEGL warning: DRI2: failed to authenticate
Mar 18 18:48:22 debian gnome-session[62733]: gnome-session-check-accelerated: GLES Helper exited with code 512
Mar 18 18:48:22 debian systemd[43817]: Reached target GNOME X11 Session.
Mar 18 18:48:22 debian systemd[43817]: Reached target GNOME Shell.
Mar 18 18:48:22 debian systemd[43817]: Starting Monitor Session leader for GNOME Session...
Mar 18 18:48:22 debian systemd[43817]: Started OpenSSH Agent.
Mar 18 18:48:22 debian systemd[43817]: Reached target Session services which should run early before the graphical session is brought up.
Mar 18 18:48:22 debian systemd[43817]: Started Monitor Session leader for GNOME Session.
Mar 18 18:48:22 debian systemd[43817]: Reached target Tasks to be run before GNOME Session starts.
Mar 18 18:48:22 debian systemd[43817]: Starting GNOME Session Manager (session: gnome)...
Mar 18 18:48:22 debian systemd[43817]: ssh-agent.service: Succeeded.
Mar 18 18:48:22 debian gnome-session[62760]: gnome-session-binary[62760]: WARNING: Could not parse desktop file xscreensaver.desktop or it references a not found TryExec binary
Mar 18 18:48:22 debian gnome-session-binary[62760]: WARNING: Could not parse desktop file xscreensaver.desktop or it references a not found TryExec binary
Mar 18 18:48:22 debian systemd[43817]: Started Application launched by gnome-session-binary.
Mar 18 18:48:22 debian systemd[43817]: Started Application launched by gnome-session-binary.
Mar 18 18:48:22 debian systemd[43817]: Started Application launched by gnome-session-binary.
Mar 18 18:48:22 debian gnome-keyring-daemon[62772]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
Mar 18 18:48:22 debian gnome-keyring-d[62772]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
Mar 18 18:48:22 debian gnome-keyring-daemon[62771]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
Mar 18 18:48:22 debian gnome-keyring-d[62771]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
Mar 18 18:48:22 debian systemd[43817]: app-gnome-gnome\x2dkeyring\x2dsecrets-62768.scope: Succeeded.
Mar 18 18:48:22 debian gnome-keyring-ssh.desktop[62771]: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
Mar 18 18:48:22 debian systemd[43817]: app-gnome-gnome\x2dkeyring\x2dssh-62769.scope: Succeeded.
Mar 18 18:48:22 debian gnome-keyring-pkcs11.desktop[62778]: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
Mar 18 18:48:22 debian systemd[43817]: Started GNOME Session Manager (session: gnome).
Mar 18 18:48:22 debian systemd[43817]: Reached target GNOME Session Manager is ready.
Mar 18 18:48:22 debian systemd[43817]: Starting GNOME Shell on Wayland...
Mar 18 18:48:22 debian systemd[43817]: Starting GNOME Shell on X11...
Mar 18 18:48:22 debian systemd[43817]: app-gnome-gnome\x2dkeyring\x2dpkcs11-62770.scope: Succeeded.
Mar 18 18:48:22 debian systemd[43817]: [email protected]: Control process exited, code=exited, status=2/INVALIDARGUMENT
Mar 18 18:48:22 debian gnome-session[62760]: gnome-session-binary[62760]: GnomeDesktop-WARNING: Could not create transient scope for PID 62779: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 62779 does not exist.
Mar 18 18:48:22 debian gnome-session-binary[62760]: GnomeDesktop-WARNING: Could not create transient scope for PID 62779: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 62779 does not exist.
Mar 18 18:48:22 debian systemd[43817]: Started Application launched by gnome-session-binary.
Mar 18 18:48:22 debian systemd[43817]: Started Application launched by gnome-session-binary.
Mar 18 18:48:22 debian systemd[43817]: [email protected]: Skipped due to 'exec-condition'.
Mar 18 18:48:22 debian systemd[43817]: Condition check resulted in GNOME Shell on Wayland being skipped.
Mar 18 18:48:22 debian systemd[43817]: Starting Sound Service...
Mar 18 18:48:22 debian systemd[43817]: app-gnome-at\x2dspi\x2ddbus\x2dbus-62785.scope: Succeeded.
Mar 18 18:48:22 debian systemd[43817]: Started Sound Service.
Mar 18 18:48:22 debian systemd[43817]: app-gnome-pulseaudio-62782.scope: Succeeded.
Mar 18 18:48:22 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Activating via systemd: service name='org.gtk.vfs.Daemon' unit='gvfs-daemon.service' requested by ':1.14' (uid=1000 pid=62783 comm="/usr/bin/gnome-shell ")
Mar 18 18:48:22 debian systemd[43817]: Starting Virtual filesystem service...
Mar 18 18:48:22 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Successfully activated service 'org.gtk.vfs.Daemon'
Mar 18 18:48:22 debian systemd[43817]: Started Virtual filesystem service.
Mar 18 18:48:22 debian gnome-shell[62783]: Xlib:  extension "DPMS" missing on display ":10.0".
Mar 18 18:48:22 debian gnome-shell[62783]: X Error of failed request:  BadMatch (invalid parameter attributes)
Mar 18 18:48:22 debian gnome-shell[62783]:   Major opcode of failed request:  140 (RANDR)
Mar 18 18:48:22 debian gnome-shell[62783]:   Minor opcode of failed request:  7 (RRSetScreenSize)
Mar 18 18:48:22 debian gnome-shell[62783]:   Serial number of failed request:  263
Mar 18 18:48:22 debian gnome-shell[62783]:   Current serial number in output stream:  264
Mar 18 18:48:22 debian systemd[43817]: [email protected]: Failed with result 'protocol'.
Mar 18 18:48:22 debian systemd[43817]: Failed to start GNOME Shell on X11.
Mar 18 18:48:22 debian systemd[43817]: [email protected]: Scheduled restart job, restart counter is at 1.
Mar 18 18:48:22 debian systemd[43817]: Stopped GNOME Shell on X11.
Mar 18 18:48:22 debian systemd[43817]: Starting GNOME Shell on X11...
Mar 18 18:48:23 debian gnome-shell[62816]: Xlib:  extension "DPMS" missing on display ":10.0".
Mar 18 18:48:23 debian gnome-shell[62816]: X Error of failed request:  BadMatch (invalid parameter attributes)
Mar 18 18:48:23 debian gnome-shell[62816]:   Major opcode of failed request:  140 (RANDR)
Mar 18 18:48:23 debian gnome-shell[62816]:   Minor opcode of failed request:  7 (RRSetScreenSize)
Mar 18 18:48:23 debian gnome-shell[62816]:   Serial number of failed request:  263
Mar 18 18:48:23 debian gnome-shell[62816]:   Current serial number in output stream:  264
Mar 18 18:48:23 debian systemd[43817]: [email protected]: Failed with result 'protocol'.
Mar 18 18:48:23 debian systemd[43817]: Failed to start GNOME Shell on X11.
Mar 18 18:48:23 debian systemd[43817]: [email protected]: Scheduled restart job, restart counter is at 2.
Mar 18 18:48:23 debian systemd[43817]: Stopped GNOME Shell on X11.
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME Shell on X11...
Mar 18 18:48:23 debian gnome-shell[62834]: Xlib:  extension "DPMS" missing on display ":10.0".
Mar 18 18:48:23 debian gnome-shell[62834]: X Error of failed request:  BadMatch (invalid parameter attributes)
Mar 18 18:48:23 debian gnome-shell[62834]:   Major opcode of failed request:  140 (RANDR)
Mar 18 18:48:23 debian gnome-shell[62834]:   Minor opcode of failed request:  7 (RRSetScreenSize)
Mar 18 18:48:23 debian gnome-shell[62834]:   Serial number of failed request:  263
Mar 18 18:48:23 debian gnome-shell[62834]:   Current serial number in output stream:  264
Mar 18 18:48:23 debian systemd[43817]: [email protected]: Failed with result 'protocol'.
Mar 18 18:48:23 debian systemd[43817]: Failed to start GNOME Shell on X11.
Mar 18 18:48:23 debian systemd[43817]: [email protected]: Scheduled restart job, restart counter is at 3.
Mar 18 18:48:23 debian systemd[43817]: Stopped GNOME Shell on X11.
Mar 18 18:48:23 debian systemd[43817]: [email protected]: Start request repeated too quickly.
Mar 18 18:48:23 debian systemd[43817]: [email protected]: Failed with result 'protocol'.
Mar 18 18:48:23 debian systemd[43817]: Failed to start GNOME Shell on X11.
Mar 18 18:48:23 debian systemd[43817]: [email protected]: Triggering OnFailure= dependencies.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME Session is initialized.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME session X11 services.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME Session (session: gnome).
Mar 18 18:48:23 debian systemd[43817]: Started GNOME Session Failed lockdown screen (user).
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME Session Failed.
Mar 18 18:48:23 debian systemd[43817]: Starting Signal initialization done to GNOME Session Manager...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME accessibility service...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME color management service...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME date & time service...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME maintenance of expirable data service...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME keyboard configuration service...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME keyboard shortcuts service...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME power management service...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME printer notifications service...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME RFKill support service...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME FreeDesktop screensaver service...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME file sharing service...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME smartcard service...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME sound sample caching service...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME USB protection service...
Mar 18 18:48:23 debian gnome-session-binary[62760]: Entering running state
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME Wacom tablet support service...
Mar 18 18:48:23 debian systemd[43817]: Starting GNOME XSettings service...
Mar 18 18:48:23 debian systemd[43817]: Condition check resulted in Disable GNOME Shell extensions after failure being skipped.
Mar 18 18:48:23 debian systemd[43817]: gnome-session-signal-init.service: Succeeded.
Mar 18 18:48:23 debian systemd[43817]: Finished Signal initialization done to GNOME Session Manager.
Mar 18 18:48:23 debian gnome-session[62760]: gnome-session-binary[62760]: GnomeDesktop-WARNING: Could not create transient scope for PID 62865: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 62865 does not exist.
Mar 18 18:48:23 debian gnome-session-binary[62760]: GnomeDesktop-WARNING: Could not create transient scope for PID 62865: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 62865 does not exist.
Mar 18 18:48:23 debian gnome-session[62760]: gnome-session-binary[62760]: GnomeDesktop-WARNING: Could not create transient scope for PID 62869: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 62869 does not exist.
Mar 18 18:48:23 debian gnome-session-binary[62760]: GnomeDesktop-WARNING: Could not create transient scope for PID 62869: GDBus.Error:org.freedesktop.DBus.Error.UnixProcessIdUnknown: Process with ID 62869 does not exist.
Mar 18 18:48:23 debian systemd[43817]: Started GNOME accessibility service.
Mar 18 18:48:23 debian systemd[43817]: Started GNOME maintenance of expirable data service.
Mar 18 18:48:23 debian systemd[43817]: Started GNOME FreeDesktop screensaver service.
Mar 18 18:48:23 debian systemd[43817]: Started GNOME file sharing service.
Mar 18 18:48:23 debian systemd[43817]: Started GNOME smartcard service.
Mar 18 18:48:23 debian systemd[43817]: Started Application launched by gnome-session-binary.
Mar 18 18:48:23 debian systemd[43817]: Started Application launched by gnome-session-binary.
Mar 18 18:48:23 debian systemd[43817]: Started Application launched by gnome-session-binary.
Mar 18 18:48:23 debian systemd[43817]: Started Application launched by gnome-session-binary.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME accessibility target.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME maintenance of expirable data target.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME FreeDesktop screensaver target.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME file sharing target.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME smartcard target.
Mar 18 18:48:23 debian systemd[43817]: Started GNOME printer notifications service.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME printer notifications target.
Mar 18 18:48:23 debian systemd[43817]: Started GNOME USB protection service.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME USB protection target.
Mar 18 18:48:23 debian gsd-usb-protect[62888]: Failed to get screen saver status: Cannot invoke method; proxy is for the well-known name org.gnome.ScreenSaver without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
Mar 18 18:48:23 debian gsd-usb-protect[62888]: Failed to fetch USBGuard parameters: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.usbguard1 was not provided by any .service files
Mar 18 18:48:23 debian systemd[43817]: app-gnome-user\x2ddirs\x2dupdate\x2dgtk-62878.scope: Succeeded.
Mar 18 18:48:23 debian at-spi-bus-launcher[62743]: dbus-daemon[62743]: Activating service name='org.a11y.atspi.Registry' requested by ':1.3' (uid=1000 pid=62855 comm="/usr/libexec/gsd-keyboard ")
Mar 18 18:48:23 debian systemd[43817]: Started GNOME date & time service.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME date & time target.
Mar 18 18:48:23 debian systemd[43817]: Started GNOME keyboard configuration service.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME keyboard configuration target.
Mar 18 18:48:23 debian systemd[43817]: Started GNOME sound sample caching service.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME sound sample caching target.
Mar 18 18:48:23 debian systemd[43817]: Started GNOME color management service.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME color management target.
Mar 18 18:48:23 debian at-spi-bus-launcher[62743]: dbus-daemon[62743]: Successfully activated service 'org.a11y.atspi.Registry'
Mar 18 18:48:23 debian at-spi-bus-launcher[62938]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Mar 18 18:48:23 debian systemd[43817]: Started GNOME power management service.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME power management target.
Mar 18 18:48:23 debian gsd-xsettings[62897]: Failed to get current display configuration state: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Name "org.gnome.Mutter.DisplayConfig" does not exist
Mar 18 18:48:23 debian systemd[43817]: Started GNOME XSettings service.
Mar 18 18:48:23 debian systemd[43817]: GNOME session X11 services is not active.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME XSettings target.
Mar 18 18:48:23 debian systemd[43817]: Started GNOME Wacom tablet support service.
Mar 18 18:48:23 debian systemd[43817]: Reached target GNOME Wacom tablet support target.
Mar 18 18:48:24 debian systemd[43817]: Started GNOME RFKill support service.
Mar 18 18:48:24 debian systemd[43817]: Reached target GNOME RFKill support target.
Mar 18 18:48:24 debian systemd[43817]: Started GNOME keyboard shortcuts service.
Mar 18 18:48:24 debian systemd[43817]: Reached target GNOME keyboard shortcuts target.
Mar 18 18:48:24 debian systemd[43817]: Reached target GNOME Session.
Mar 18 18:48:24 debian systemd[43817]: Reached target GNOME X11 Session (session: gnome).
Mar 18 18:48:24 debian systemd[43817]: Reached target Current graphical user session.
Mar 18 18:48:24 debian gsd-media-keys[62858]: Unable to inhibit keypresses: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied
Mar 18 18:48:24 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Activating service name='org.gnome.Shell.Screencast' requested by ':1.35' (uid=1000 pid=62858 comm="/usr/libexec/gsd-media-keys ")
Mar 18 18:48:24 debian gnome-software[62871]: enabled plugins: desktop-categories, fwupd, os-release, packagekit, packagekit-local, packagekit-offline, packagekit-proxy, packagekit-refine-repos, packagekit-refresh, packagekit-upgrade, packagekit-url-to-app, appstream, desktop-menu-path, hardcoded-blocklist, hardcoded-popular, malcontent, modalias, odrs, packagekit-refine, rewrite-resource, packagekit-history, provenance, systemd-updates, generic-updates, provenance-license, icons, key-colors, key-colors-metadata
Mar 18 18:48:24 debian gnome-software[62871]: disabled plugins: dpkg, dummy, repos
Mar 18 18:48:24 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Activating via systemd: service name='org.gnome.evolution.dataserver.Sources5' unit='evolution-source-registry.service' requested by ':1.41' (uid=1000 pid=62879 comm="/usr/libexec/evolution-data-server/evolution-alarm")
Mar 18 18:48:24 debian systemd[43817]: Starting Evolution source registry...
Mar 18 18:48:24 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Activating service name='org.gnome.OnlineAccounts' requested by ':1.43' (uid=1000 pid=62984 comm="/usr/libexec/evolution-source-registry ")
Mar 18 18:48:24 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Successfully activated service 'org.gnome.evolution.dataserver.Sources5'
Mar 18 18:48:24 debian systemd[43817]: Started Evolution source registry.
Mar 18 18:48:24 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Successfully activated service 'org.gnome.Shell.Screencast'
Mar 18 18:48:24 debian goa-daemon[62993]: goa-daemon version 3.38.0 starting
Mar 18 18:48:24 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Activating service name='org.gnome.Identity' requested by ':1.44' (uid=1000 pid=62993 comm="/usr/libexec/goa-daemon ")
Mar 18 18:48:24 debian gnome-software[62871]: not handling error no-security for action refresh: Failed to obtain authentication.
Mar 18 18:48:24 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Successfully activated service 'org.gnome.OnlineAccounts'
Mar 18 18:48:24 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Successfully activated service 'org.gnome.Identity'
Mar 18 18:48:24 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Activating via systemd: service name='org.gnome.evolution.dataserver.Calendar8' unit='evolution-calendar-factory.service' requested by ':1.41' (uid=1000 pid=62879 comm="/usr/libexec/evolution-data-server/evolution-alarm")
Mar 18 18:48:24 debian systemd[43817]: Starting Evolution calendar service...
Mar 18 18:48:25 debian gnome-software[62871]: Only 0 apps for recent list, hiding
Mar 18 18:48:25 debian gnome-software[62871]: hiding category productivity featured applications: found only 0 to show, need at least 9
Mar 18 18:48:25 debian gnome-software[62871]: adding wildcard app */*/*/*/org.gnome.Builder.desktop/* to plugin cache
Mar 18 18:48:25 debian gnome-software[62871]: adding wildcard app */*/*/*/org.gnome.Calculator.desktop/* to plugin cache
Mar 18 18:48:25 debian gnome-software[62871]: adding wildcard app */*/*/*/org.gnome.clocks.desktop/* to plugin cache
Mar 18 18:48:25 debian gnome-software[62871]: adding wildcard app */*/*/*/org.gnome.Dictionary.desktop/* to plugin cache
Mar 18 18:48:25 debian gnome-software[62871]: adding wildcard app */*/*/*/org.gnome.Documents.desktop/* to plugin cache
Mar 18 18:48:25 debian gnome-software[62871]: adding wildcard app */*/*/*/org.gnome.Evince/* to plugin cache
Mar 18 18:48:25 debian gnome-software[62871]: adding wildcard app */*/*/*/org.gnome.gedit.desktop/* to plugin cache
Mar 18 18:48:25 debian gnome-software[62871]: adding wildcard app */*/*/*/org.gnome.Maps.desktop/* to plugin cache
Mar 18 18:48:25 debian gnome-software[62871]: adding wildcard app */*/*/*/org.gnome.Weather/* to plugin cache
Mar 18 18:48:25 debian gnome-software[62871]: hiding category graphics featured applications: found only 0 to show, need at least 9
Mar 18 18:48:25 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Successfully activated service 'org.gnome.evolution.dataserver.Calendar8'
Mar 18 18:48:25 debian systemd[43817]: Started Evolution calendar service.
Mar 18 18:48:25 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Activating service name='ca.desrt.dconf' requested by ':1.46' (uid=1000 pid=63013 comm="/usr/libexec/evolution-calendar-factory ")
Mar 18 18:48:25 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Activating via systemd: service name='org.gnome.evolution.dataserver.AddressBook10' unit='evolution-addressbook-factory.service' requested by ':1.46' (uid=1000 pid=63013 comm="/usr/libexec/evolution-calendar-factory ")
Mar 18 18:48:25 debian systemd[43817]: Starting Evolution address book service...
Mar 18 18:48:25 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Successfully activated service 'ca.desrt.dconf'
Mar 18 18:48:25 debian dbus-daemon[62661]: [session uid=1000 pid=62661] Successfully activated service 'org.gnome.evolution.dataserver.AddressBook10'
Mar 18 18:48:25 debian systemd[43817]: Started Evolution address book service.
Mar 18 18:48:25 debian gnome-software[62871]: CSS parse error 1:107: Using one color stop with linear-gradient() is deprecated.
Mar 18 18:48:26 debian gnome-software[62871]: FIXME: Unknown progress handling is not yet implemented for GsProgressButton
Mar 18 18:48:26 debian gnome-software[62871]: FIXME: Unknown progress handling is not yet implemented for GsProgressButton
Mar 18 18:48:26 debian gnome-software[62871]: FIXME: Unknown progress handling is not yet implemented for GsProgressButton
Mar 18 18:48:26 debian gnome-software[62871]: FIXME: Unknown progress handling is not yet implemented for GsProgressButton
Mar 18 18:48:26 debian gnome-software[62871]: automatically prevented from changing kind on system/package/*/generic/org.gphoto.libgphoto2/* from generic to unknown!

@akarl10
Copy link
Contributor

akarl10 commented Mar 18, 2023

@beppo-ivel according to this log [email protected] crashes. This is obviously not good and very probably the reason why you get the failure screen.

is the xrdp/xorgxrdp version used the "official" bullseye version?
just for curiosity: could you check the if the command xrandr works in the xfce4 session?

@matt335672 do you know if the randr warnings are normal or if they could be the issue (that is gnome requiring this extension to respond in a specific way)

@beppo-ivel
Copy link
Author

@akarl10

$ apt-cache policy xrdp
xrdp:
Installed: 0.9.12-1.1
Candidate: 0.9.12-1.1
Version table:
*** 0.9.12-1.1 500
500 http://ftp.halifax.rwth-aachen.de/debian bullseye/main amd64 Packages
100 /var/lib/dpkg/status

$ xrandr
Screen 0: minimum 256 x 256, current 1920 x 1080, maximum 16384 x 16384
rdp0 connected 1920x1080+0+0 0mm x 0mm
1920x1080 50.00*

@matt335672
Copy link
Member

The RandR errors don't look normal to me, and that could well be the cause of the problem.

This looks like neutrinolabs/xorgxrdp#156 to me. See also #1969 and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=995573 which suggest a workaround

@beppo-ivel
Copy link
Author

@akarl10 @matt335672 thx for the links. the workaround solved the issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants