oh interesting, how do you now which is active? or are they both always active? oh it is as simple as using or not using --system!
What I want in the system variant because I want to start a session, and then have it remain active when I disconnect (and then resume when I reconnect)
Current status, which I think is what I want:
# user mode (not what I want, and correctly disabled)
❯ sudo grdctl status
[20:09:30:740] [38020:00009484] [ERROR][com.freerdp.crypto] - [x509_utils_from_pem]: BIO_new failed for certificate
RDP server certificate is invalid.
Failed to lookup legacy VNC password schema: Cannot autolaunch D-Bus without X11 $DISPLAY
RDP:
Status: disabled
Port: 3389
TLS certificate:
TLS fingerprint: (null)
TLS key:
View-only: yes
Negotiate port: yes
Failed to read credentials: Cannot autolaunch D-Bus without X11 $DISPLAY.
and then system, which is enabled, has the cert, etc.
❯ sudo grdctl --system status
Init TPM credentials failed because No TPM device found, using GKeyFile as fallback.
Overall:
Unit status: active
RDP:
Status: enabled
Port: 3389
TLS certificate: /var/lib/gnome-remote-desktop/rdp-tls.crt
TLS fingerprint: f1:db:60:79:75:40:97:84:63:ef:5f:bc:43:6b:b9:5d:81:f8:df:bc:24:d6:e9:92:6c:b1:8d:1b:25:91:fa:b4
TLS key: /var/lib/gnome-remote-desktop/rdp-tls.key
Username: (hidden)
Password: (hidden)
(however, I still cannot connect from an rdp client)
❯ systemctl --system status gnome-remote-desktop.service
Warning: The unit file, source configuration file or drop-ins of gnome-remote-desktop.service ch>
● gnome-remote-desktop.service - GNOME Remote Desktop
Loaded: loaded (/usr/lib/systemd/system/gnome-remote-desktop.service; enabled; preset: enab>
Active: active (running) since Sun 2024-11-10 20:08:15 EST; 4min 24s ago
Invocation: 267ea8b02fba430f8eece4b1275b1b84
Main PID: 37393 (gnome-remote-de)
Tasks: 4 (limit: 8634)
Memory: 3.1M (peak: 4M)
CPU: 29ms
CGroup: /system.slice/gnome-remote-desktop.service
└─37393 /usr/libexec/gnome-remote-desktop-daemon --system
Nov 10 20:08:15 Calypso systemd[1]: Starting gnome-remote-desktop.service - GNOME Remote Desktop>
Nov 10 20:08:15 Calypso gnome-remote-de[37393]: Init TPM credentials failed because No TPM devic>
Nov 10 20:08:15 Calypso systemd[1]: Started gnome-remote-desktop.service - GNOME Remote Desktop.
Nov 10 20:08:15 Calypso gnome-remote-de[37393]: RDP server started
OK, so my troubleshooting at the top / OP is a little over the place – but I hope this through serves as an aggregate of stuff to look at for future headless RDP folks <3