Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 4056

System and Network configuration • Re: [Solved] RDP Server on 13.3

$
0
0

From the referenced link:

[5]To enable remote desktop with root privileges, set it as follows.
In this case, the username and password to connect to the remote desktop service are the same for each user, and after connecting, the normal login screen is displayed and each user logs in with their own OS username and

Code:

password.# create certificateroot@dlp:~# mkdir -p /var/lib/gnome-remote-desktop/.local/share/gnome-remote-desktop root@dlp:~# cd /var/lib/gnome-remote-desktop/.local/share/gnome-remote-desktop root@dlp:/var/lib/gnome-remote-desktop/.local/share/gnome-remote-desktop# openssl req -new -x509 -nodes -newkey ec:<(openssl ecparam -name secp384r1) -keyout tls.key -out tls.crt -days 3650 -----You are about to be asked to enter information that will be incorporatedinto your certificate request.What you are about to enter is what is called a Distinguished Name or a DN.There are quite a few fields but you can leave some blankFor some fields there will be a default value,If you enter '.', the field will be left blank.-----Country Name (2 letter code) [XX]:JPState or Province Name (full name) []:HiroshimaLocality Name (eg, city) [Default City]:HiroshimaOrganization Name (eg, company) [Default Company Ltd]:GTSOrganizational Unit Name (eg, section) []:Server WorldCommon Name (eg, your name or your server's hostname) []:dlp.srv.worldEmail Address []:root@srv.worldroot@dlp:/var/lib/gnome-remote-desktop/.local/share/gnome-remote-desktop# chown -R gnome-remote-desktop:gnome-remote-desktop /var/lib/gnome-remote-desktop/.local root@dlp:/var/lib/gnome-remote-desktop/.local/share/gnome-remote-desktop# cd# Enable RDP# [Init TPM credentials ***] message is no problem# it appears on older computers that do not have a TPM deviceroot@dlp:~# grdctl --system rdp set-tls-key /var/lib/gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.key Init TPM credentials failed because No TPM device found, using GKeyFile as fallback.root@dlp:~# grdctl --system rdp set-tls-cert /var/lib/gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.crt# set a user for RDP connection# set-credentials [any username you like] [password]root@dlp:~# grdctl --system rdp set-credentials rdpuser password root@dlp:~# grdctl --system rdp enable root@dlp:~# grdctl --system status Init TPM credentials failed because No TPM device found, using GKeyFile as fallback.Overall:        Unit status: activeRDP:        Status: enabled        Port: 3389        TLS certificate: /var/lib/gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.crt        TLS fingerprint: c8:ea:9d:00:86:7d:55:48:48:06:46:2c:b5:11:ab:a6:31:b5:0a:06:e3:6a:4f:21:cf:b6:89:37:3e:43:3c:f9        TLS key: /var/lib/gnome-remote-desktop/.local/share/gnome-remote-desktop/tls.key        Username: (hidden)        Password: (hidden)root@dlp:~# systemctl daemon-reload root@dlp:~# systemctl restart gnome-remote-desktop 

Statistics: Posted by Aki — 2026-01-24 07:52



Viewing all articles
Browse latest Browse all 4056

Trending Articles