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 -----