About remote desktop connection to ROCK 3c

I wanted to connect to Rock 3c, Debian Bullseye from a Windows 10 PC using Windows 10 standard remote desktop software, so I executed the following command.
1) Tightvncserver installation command: “sudo apt install tinyvncserver”
2) xrdp installation command: “sudo apt install xrdp”

After running each, I entered the Rock 3c's IP address from my Windows PC to establish a connection, but the Rock 3c's desktop does not appear even after entering the ID and password.

However, you can connect using another character terminal software (CUI).

You can connect to Raspberry-pi (stretch) using remote desktop on Windows-PC.

Port opened on ROCK 3C.

— Open Port List Start --------------
rock@rock-3c:~$ sudo lsof -i
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd 1 root 25u IPv6 25546 0t0 TCP 192.168.1.68:ssh->192.168.1.64:60172 (ESTABLISHED)
systemd 1 root 65u IPv6 21003 0t0 TCP *:ssh (LISTEN)
systemd-r 329 systemd-resolve 11u IPv4 22532 0t0 UDP *:5355
systemd-r 329 systemd-resolve 12u IPv4 22533 0t0 TCP *:5355 (LISTEN)
systemd-r 329 systemd-resolve 13u IPv6 22535 0t0 UDP *:5355
systemd-r 329 systemd-resolve 14u IPv6 22536 0t0 TCP *:5355 (LISTEN)
systemd-r 329 systemd-resolve 16u IPv4 22540 0t0 UDP 127.0.0.53:domain
systemd-r 329 systemd-resolve 17u IPv4 22541 0t0 TCP 127.0.0.53:domain (LISTEN)
avahi-dae 344 avahi 12u IPv4 672 0t0 UDP *:mdns
avahi-dae 344 avahi 13u IPv6 673 0t0 UDP *:mdns
avahi-dae 344 avahi 14u IPv4 674 0t0 UDP *:38653
avahi-dae 344 avahi 15u IPv6 675 0t0 UDP *:42546
NetworkMa 349 root 23u IPv4 23734 0t0 UDP 192.168.1.68:bootpc->192.168.1.1:bootps
xrdp-sesm 541 root 11u IPv6 22094 0t0 TCP [::1]:3350 (LISTEN)
xrdp 608 xrdp 11u IPv6 22394 0t0 TCP *:ms-wbt-server (LISTEN)
sshd 2034 root 3u IPv6 25546 0t0 TCP 192.168.1.68:ssh->192.168.1.64:60172 (ESTABLISHED)
sshd 2034 root 4u IPv6 25546 0t0 TCP 192.168.1.68:ssh->192.168.1.64:60172 (ESTABLISHED)
sshd 2041 rock 3u IPv6 25546 0t0 TCP 192.168.1.68:ssh->192.168.1.64:60172 (ESTABLISHED)
sshd 2041 rock 4u IPv6 25546 0t0 TCP 192.168.1.68:ssh->192.168.1.64:60172 (ESTABLISHED)
— End -----

P.S.: Does anyone know why the ROCK 3c GUI desktop screen cannot be displayed from the Windows remote desktop?
thank you

@s_ikeda can you have a try on this guide https://docs.radxa.com/en/radxa-os/config/remote-login

Thank you for your advice.
I followed the remote login procedure, but unfortunately I cannot log in using the GUI from a Windows-10 PC.

I am attaching a copy of some of the screens below.
— Start ----------------------------------------------------------------------------
rock@rock-3c:~$ vncserver

New Xtigervnc server ‘rock-3c:1 (rock)’ on port 5901 for display :1.
Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/rock/.vnc/passwd :1 to connect to the VNC server.

rock@rock-3c:~$ vncserver -kill :1
Killing Xtigervnc process ID 1063… success!
rock@rock-3c:~$ vncserver -localhost no

New Xtigervnc server ‘rock-3c:1 (rock)’ on port 5901 for display :1.
Use xtigervncviewer -SecurityTypes VncAuth,TLSVnc -passwd /home/rock/.vnc/passwd rock-3c:1 to connect to the VNC server.

rock@rock-3c:~$ vncserver -list

TigerVNC server sessions:

X DISPLAY # RFB PORT # PROCESS ID SERVER
:1 5901 1889 Xtigervnc
:2 5902 2373 (stale) Xtigervnc
rock@rock-3c:~$ sudo lsof -i
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
systemd 1 root 65u IPv6 21423 0t0 TCP *:ssh (LISTEN)
systemd 1 root 66u IPv6 25828 0t0 TCP 192.168.1.68:ssh->192.168.1.64:55045 (ESTABLISHED)
systemd-r 322 systemd-resolve 11u IPv4 11884 0t0 UDP *:5355
systemd-r 322 systemd-resolve 12u IPv4 11885 0t0 TCP *:5355 (LISTEN)
systemd-r 322 systemd-resolve 13u IPv6 11887 0t0 UDP *:5355
systemd-r 322 systemd-resolve 14u IPv6 11888 0t0 TCP *:5355 (LISTEN)
systemd-r 322 systemd-resolve 16u IPv4 11891 0t0 UDP 127.0.0.53:domain
systemd-r 322 systemd-resolve 17u IPv4 11892 0t0 TCP 127.0.0.53:domain (LISTEN)
avahi-dae 343 avahi 12u IPv4 21948 0t0 UDP *:mdns
avahi-dae 343 avahi 13u IPv6 21949 0t0 UDP *:mdns
avahi-dae 343 avahi 14u IPv4 21950 0t0 UDP *:46353
avahi-dae 343 avahi 15u IPv6 21951 0t0 UDP *:48302
NetworkMa 346 root 23u IPv4 22276 0t0 UDP 192.168.1.68:bootpc->192.168.1.1:bootps
xrdp-sesm 535 root 11u IPv6 22718 0t0 TCP localhost:3350 (LISTEN)
xrdp 580 xrdp 11u IPv6 24606 0t0 TCP *:ms-wbt-server (LISTEN)
sshd 1032 root 3u IPv6 25828 0t0 TCP 192.168.1.68:ssh->192.168.1.64:55045 (ESTABLISHED)
sshd 1032 root 4u IPv6 25828 0t0 TCP 192.168.1.68:ssh->192.168.1.64:55045 (ESTABLISHED)
sshd 1048 rock 3u IPv6 25828 0t0 TCP 192.168.1.68:ssh->192.168.1.64:55045 (ESTABLISHED)
sshd 1048 rock 4u IPv6 25828 0t0 TCP 192.168.1.68:ssh->192.168.1.64:55045 (ESTABLISHED)
Xtigervnc 1889 rock 7u IPv4 26367 0t0 TCP *:5901 (LISTEN)
Xtigervnc 1889 rock 8u IPv6 26368 0t0 TCP *:5901 (LISTEN)
— End ----------------------------------------------------------------------------

After that, I was curious about the following screen being displayed when the system starts up, is there something to do with it?

please have a try again

1、sudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils -y
2、sudo apt install tigervnc-standalone-server tigervnc-common -y
3、vncserver – create password
4、vncserver -kill :1
5、sudo touch ~/.vnc/xstartup — Add these content below
#!/bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec startxfce4
6、chmod 777 ~/.vnc/xstartup

Yep. I remember it took me a lot of time finding the solution for setting remote desktop, and it was installing tigervnc.

Also, you should log out from the active desktop session before accessing it remotely.

Thank you for your advice.

I executed the following command:
— cmd 1 --------------------------------------------
cmd:[ sudo apt install xfce4 xfce4-goodies xorg dbus-x11 x11-xserver-utils -y ]
cmd:[ sudo apt install Tigervnc-standalone-server Tigervnc-common -y ]
cmd:[ vncserver ]
cmd:[ vncserver -kill :1 ]
cmd:[ sudo nano ~/.vnc/xstartup ]

[xstartup file]

#! /bin/sh
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
exec startxfce4
unset XDG_RUNTIME_DIR
/etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
#vncconfig -iconic &
startkde &

— cmd 2 --------------------------------------------
cmd:[ sudo apt install Tigervnc-standalone-server Tigervnc-common -y ]

— cmd 3 --------------------------------------------
cmd:[ vncserver ]

New Xtigervnc server ‘rock-3c:1 (rock)’ on port 5901 for display :1.
Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/rock/.vnc/passwd :1 to connect to the VNC server.

cmd:[ ss -atn ]
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 4096 0.0.0.0:5355 0.0.0.0:*
LISTEN 0 5 127.0.0.1:5901 0.0.0.0:*
LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:*
LISTEN 0 4096 [::]:5355 [::]:*
LISTEN 0 5 [::1]:5901 [::]:*
LISTEN 0 2 [::1]:3350 [::]:*
LISTEN 0 4096 *:22 :
LISTEN 0 2 *:3389 :
ESTAB 0 0 [::ffff:192.168.1.68]:22 [::ffff:192.168.1.64]:59920

Next, I tried connecting to Rock-3c with “RealVNC Viewer 7.8.0 (r51458) x64 (Nov 2 2023 16:07:13)” on Windows 10.
At the same time, I monitored the protocol using Windows 10’s “WireShark”, but data was sent to Rock-3c’s 5901 port using UDP, but Rock-3c disconnected at RST-ack.

Next, attach the “~/.vnc/rock-3c:5901.log” file.
An error or warning has occurred.
I’m thinking that there’s probably something wrong with the settings.


[rock-3c:5901.log file]

Xvnc TigerVNC 1.11.0 - built 2022-01-26 17:59
Copyright © 1999-2020 TigerVNC Team and many others (see README.rst)
See https://www.tigervnc.org for information on TigerVNC.
Underlying X server release 12011000, The X.Org Foundation

Fri Nov 17 10:49:11 2023
vncext: VNC extension running!
vncext: Listening for VNC connections on local interface(s), port 5901
vncext: created VNC server for screen 0
3NI3X0 New Xtigervnc server ‘rock-3c:1 (rock)’ on port 5901 for display :1.
3NI3X0 Use xtigervncviewer -SecurityTypes VncAuth -passwd /home/rock/.vnc/passwd :1 to connect to the VNC server.
/usr/bin/startxfce4: X server already running on display :1

(xfce4-session:1053): dbind-WARNING **: 10:49:12.641: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
/usr/bin/iceauth: creating new authority file /run/user/1001/ICEauthority
xfce4-session: No GPG agent found
dbus-update-activation-environment: warning: error sending to systemd: org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1

(xfwm4:1126): dbind-WARNING **: 10:49:13.385: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfwm4:1126): xfwm4-WARNING **: 10:49:14.639: Unsupported GL renderer (llvmpipe (LLVM 11.0.1, 128 bits)).
(xfsettingsd:1141): dbind-WARNING **: 10:49:14.826: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfce4-panel:1144): dbind-WARNING **: 10:49:15.316: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(Thunar:1148): dbind-WARNING **: 10:49:15.547: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfdesktop:1153): dbind-WARNING **: 10:49:15.844: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfce4-session:1053): xfce4-session-WARNING **: 10:49:16.416: Unable to launch “light-locker” (specified by autostart/light-locker.desktop): Failed to execute child process “light-locker” (No such file or directory)
unable to find device goodix-ts
unable to find device fts_ts
(xfce4-power-manager:1158): dbind-WARNING **: 10:49:16.659: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
** (xfce4-power-manager:1158): WARNING **: 10:49:16.690: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name ‘org.freedesktop.PowerManagement’: no such name
** (xfce4-power-manager:1158): WARNING **: 10:49:16.692: Failed to get name owner: GDBus.Error:org.freedesktop.DBus.Error.NameHasNoOwner: Could not get owner of name ‘org.xfce.PowerManager’: no such name
Xlib: extension “DPMS” missing on display “:1.0”.

(xfce4-power-manager:1158): xfce4-power-manager-WARNING **: 10:49:16.787: Monitor is not DPMS capable
Failure: Module initialization failure
(xfce4-notifyd:1165): dbind-WARNING **: 10:49:16.906: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(nm-applet:1156): dbind-WARNING **: 10:49:16.960: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(polkit-gnome-authentication-agent-1:1174): dbind-WARNING **: 10:49:17.040: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfce4-screensaver:1160): dbind-WARNING **: 10:49:17.148: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfsettingsd:1186): dbind-WARNING **: 10:49:17.300: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
** (xiccd:1163): WARNING **: 10:49:17.513: EDID is empty
(xfce4-power-manager:1158): GLib-GObject-WARNING **: 10:49:17.522: …/…/…/gobject/gsignal.c:2614: signal ‘Changed’ is invalid for instance ‘0xaaaadc93a140’ of type ‘GDBusProxy’
(polkit-gnome-authentication-agent-1:1174): polkit-gnome-1-WARNING **: 10:49:18.218: No icon for themed icon with name ‘application-vnd.iccprofile’
(polkit-gnome-authentication-agent-1:1174): polkit-gnome-1-WARNING **: 10:49:18.253: Couldn’t open user icon: Failed to open file “/home/radxa/.face”: No such file or directory
(polkit-gnome-authentication-agent-1:1174): polkit-gnome-1-WARNING **: 10:49:18.279: Couldn’t open user icon: Failed to open file “/home/rock/.face”: No such file or directory
(xfce4-power-manager:1158): xfce4-power-manager-WARNING **: 10:49:18.309: could not map keysym 1008ffa8 to keycode

(wrapper-2.0:1228): dbind-WARNING **: 10:49:18.342: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfce4-power-manager:1158): xfce4-power-manager-WARNING **: 10:49:18.413: Unable to inhibit systemd sleep: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Permission denied
** (xfce4-power-manager:1158): WARNING **: 10:49:18.414: No outputs have backlight property
** (xfce4-screensaver:1160): WARNING **: 10:49:18.437: Screensavers already running in this session
(xfce4-power-manager:1158): xfce4-power-manager-WARNING **: 10:49:18.463: Failed to get keyboard max brightness level : GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.UPower.KbdBacklight” on object at path /org/freedesktop/UPower/KbdBacklight
(wrapper-2.0:1224): dbind-WARNING **: 10:49:18.559: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(wrapper-2.0:1230): dbind-WARNING **: 10:49:18.567: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(blueman-applet:1166): dbind-WARNING **: 10:49:18.979: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(wrapper-2.0:1310): dbind-WARNING **: 10:49:19.383: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
(xfce4-panel:1144): garcon-CRITICAL **: 10:49:19.867: garcon_gtk_menu_get_desktop_actions_menu: assertion ‘actions != NULL’ failed
blueman-applet 10.49.20 WARNING PluginManager:148 __load_plugin: Not loading PPPSupport because its conflict has higher priority
(xfce4-panel:1144): garcon-CRITICAL **: 10:49:20.067: garcon_gtk_menu_get_desktop_actions_menu: assertion ‘actions != NULL’ failed
(xfce4-panel:1144): garcon-CRITICAL **: 10:49:20.304: garcon_gtk_menu_get_desktop_actions_menu: assertion ‘actions != NULL’ failed
(xfce4-panel:1144): garcon-CRITICAL **: 10:49:20.542: garcon_gtk_menu_get_desktop_actions_menu: assertion ‘actions != NULL’ failed
(blueman-tray:1436): dbind-WARNING **: 10:49:21.035: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
blueman-applet 10.49.21 WARNING PluginManager:148 __load_plugin: Not loading DhcpClient because its conflict has higher priority

(wrapper-2.0:1230): GLib-GIO-CRITICAL **: 10:49:22.198: g_file_new_for_path: assertion ‘path != NULL’ failed
(wrapper-2.0:1230): GLib-GIO-CRITICAL **: 10:49:22.199: g_file_monitor_file: assertion ‘G_IS_FILE (file)’ failed
(wrapper-2.0:1230): GLib-GObject-WARNING **: 10:49:22.199: invalid (NULL) pointer instance
(wrapper-2.0:1230): GLib-GObject-CRITICAL **: 10:49:22.202: g_signal_connect_data: assertion ‘G_TYPE_CHECK_INSTANCE (instance)’ failed
(wrapper-2.0:1230): Gtk-WARNING **: 10:49:22.202: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.
(wrapper-2.0:1230): Gtk-WARNING **: 10:49:23.136: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)
(wrapper-2.0:1228): Gtk-WARNING **: 10:49:23.305: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PulseaudioButton)
(blueman-tray:1498): dbind-WARNING **: 10:49:23.819: AT-SPI: Error retrieving accessibility bus address: org.freedesktop.DBus.Error.ServiceUnknown: The name org.a11y.Bus was not provided by any .service files
** (xiccd:1163): CRITICAL **: 10:49:42.539: failed to create colord device: Timeout was reached
** (xiccd:1163): CRITICAL **: 10:49:42.691: unable to connect to profile: Failed to connect to missing profile /org/freedesktop/ColorManager/profiles/icc_28a4727fd7bb0fca52bc3be3b26cf74d
** (xiccd:1163): CRITICAL **: 10:49:42.692: unable to connect to profile: Failed to connect to missing profile /org/freedesktop/ColorManager/profiles/icc_0f1fca9f8054c968960047329afcb4ab
** (xiccd:1163): CRITICAL **: 10:49:42.692: unable to connect to profile: Failed to connect to missing profile /org/freedesktop/ColorManager/profiles/icc_8e1a06e8463bb6c4652d30efa89661e4

thank you.