Full RDP is here, finally!

Remote login is working for me with 41540!

1 Like

How do you get this to work for a headless server in Vmware. I am up to 41540.

1 Like

I’m using Clear Linux on bare metal (a NUC).

My hardware server RDP session did not work: See hardware description and relevant error messages below. I set the settings in the console gnome-session settings to enable remote desktop. I noticed that port 3389 was opened for listening.

I logged in with the windows RDP client mstc.exe to the server. I was challenged by a password as expected but once the session started it was a black screen, which eventually times out.

# Basic Hardware I am running on
lshw -class cpu -short;lshw -class display;lshw -class memory -short;
H/W path                      Device          Class       Description
=====================================================================
/0/37                                         processor   AMD Ryzen 9 5950X 16-Core Processor
  *-display
       description: VGA compatible controller
       product: DG2 [Arc A770]
       vendor: Intel Corporation
       physical id: 0
       bus info: pci@0000:0c:00.0
       version: 08
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:43 memory:fb000000-fbffffff memory:d0000000-dfffffff memory:c0000-dffff
H/W path                      Device          Class       Description
=====================================================================
/0/0                                          memory      64KiB BIOS
/0/31                                         memory      32GiB System Memory
/0/31/0                                       memory      16GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
/0/31/1                                       memory      [empty]
/0/31/2                                       memory      16GiB DIMM DDR4 Synchronous Unbuffered (Unregistered) 2400 MHz (0.4 ns)
/0/31/3                                       memory      [empty]
/0/34                                         memory      1MiB L1 cache
/0/35                                         memory      8MiB L2 cache
/0/36                                         memory      64MiB L3 cache
#
# Software version
#
swupd info ; echo "gnome version"; gnome-shell --version
Distribution:      Clear Linux OS
Installed version: 41540
Version URL:       https://cdn.download.clearlinux.org/update
Content URL:       https://cdn.download.clearlinux.org/update
gnome version
GNOME Shell 46.0
#
# journalctl log of failure
#
journalctl -xeu gnome-remote-desktop.service
░░ Subject: A start job for unit gnome-remote-desktop.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit gnome-remote-desktop.service has begun execution.
░░
░░ The job identifier is 128.
Apr 16 20:17:33 netserver03 gnome-remote-de[676]: Init TPM credentials failed because Failed to initialize transmission interface context: tcti:IO failure, using GKeyFile as fallback
Apr 16 20:17:33 netserver03 systemd[1]: Started gnome-remote-desktop.service.
░░ Subject: A start job for unit gnome-remote-desktop.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit gnome-remote-desktop.service has finished successfully.
░░
░░ The job identifier is 128.
Apr 16 20:17:36 netserver03 gnome-remote-de[676]: RDP server started
Apr 16 20:19:58 netserver03 gnome-remote-de[676]: Failed to peek routing token: Cancelled
Apr 16 20:20:07 netserver03 gnome-remote-desktop-daemon[676]: [20:20:07:421] [676:000006a0] [ERROR][com.freerdp.core.transport] - [transport_read_layer]: BIO_read returned a system error 10>
Apr 16 20:20:07 netserver03 gnome-remote-desktop-daemon[676]: [20:20:07:421] [676:000006a0] [ERROR][com.freerdp.core.peer] - [transport_read_layer]: ERRCONNECT_CONNECT_TRANSPORT_FAILED [0x0>
Apr 16 20:20:07 netserver03 gnome-remote-desktop-daemon[676]: [20:20:07:421] [676:000006a0] [ERROR][com.freerdp.core.nla] - [nla_server_recv_stream]: nla_recv() error: -1
Apr 16 20:20:07 netserver03 gnome-remote-desktop-daemon[676]: [20:20:07:421] [676:000006a0] [ERROR][com.freerdp.core.transport] - [transport_accept_nla]: client authentication failure
Apr 16 20:20:07 netserver03 gnome-remote-desktop-daemon[676]: [20:20:07:421] [676:000006a0] [ERROR][com.freerdp.core.peer] - [peer_recv_callback_internal]: CONNECTION_STATE_NEGO - rdp_serve>
Apr 16 20:20:07 netserver03 gnome-remote-desktop-daemon[676]: [20:20:07:421] [676:000006a0] [ERROR][com.freerdp.core.transport] - [transport_check_fds]: transport_check_fds: transport->Rece>
Apr 16 20:20:07 netserver03 gnome-remote-de[676]: Unable to check file descriptor, closing connection
Apr 16 20:20:07 netserver03 gnome-remote-desktop-daemon[676]: [20:20:07:421] [676:000002a4] [ERROR][com.freerdp.core.transport] - [transport_default_write]: BIO_should_retry returned a syst>
Apr 16 20:20:13 netserver03 gnome-remote-de[676]: Failed to peek routing token: Cancelled
Apr 16 20:20:41 netserver03 gnome-remote-de[676]: [DaemonSystem] Aborting handover, removing remote client with remote id /org/gnome/RemoteDesktop/Client/1869258673
Apr 16 20:20:41 netserver03 gnome-remote-desktop-daemon[676]: [20:20:41:47] [676:000002a4] [ERROR][com.freerdp.core.peer] - [rdp_set_error_info]: ERRINFO_CB_CONNECTION_CANCELLED [0x00010409]

I finally had a chance to test it myself, and it works a treat! One thing to note is that if there is an active GNOME session on the remote machine and you want to RDP into that, you should RDP into port #3390 (the “old style” RDP, aka “Desktop Sharing” or “remote assistance”). Otherwise, if you want to start a new GNOME session, RDP into port 3389, as usual.

Many thanks to @arjan and all the other CL devs! :clinking_glasses:

1 Like

I just did as suggested by @Aqua1ung RDP into :3390 and that worked.
I had a running GNOME session and connected into that as far as I can tell that worked perfectly. So Other’s know you have setup both the Desktop Sharing and Remote Desktop connection in the GNOME settings as shown:


I just need to find out why the non-shared desktop method does not work, but shared desktop capability is great.

Remote Sharing works, but I can only temporarily enable Remote Login. When I close and re-open settings it will be shown as turned off again. Also I can not edit any details besides the enable toggle and the hostname. I am on 42290

I closed and re-opened settings, but i believe it persists. I have desktop sharing enabled in the previous page, and got a popup on the notifications saying to accept change in port between them.
CL 42330