I can use Remote Desktop on my Win 11 machine to connect to my other Win 11 machine. But if I try to connect to my newly installed Debian 12 machine, it says I cant connect.
1) Debian machine has remote Desktop and remote login turned on. It can connect to the internet.
2) Firewall not installed.
3) After failure, I googled and decided I have to install xrdp.
4) Xrdp failed to start "port 3389 already in use".
I'd be grateful for any suggestions; I've spent a week googling, experimenting and even reinstalled twice.
/blair
EDIT: Well, I gave up and installed Fedora, and remote desktop worked.
Can't get Remote desktop to work in Debian 12
Can't get Remote desktop to work in Debian 12
Last edited by blairitme on 2025-02-13 13:47, edited 1 time in total.
Re: Can't get Remote desktop to work in Debian 12
Hi
Note the name or IP address of your Windows 11 PC
Perhaps this ....
Then...
Note the name or IP address of your Windows 11 PC
Perhaps this ....
Open a terminal on your Debian 12 systemsudo apt install freerdp2-x11 freerdp2-wayland
Then...
Code: Select all
xfreerdp /v:<Windows_11_IP_or_hostname> /u:<username> /p:<password>
Kind Regards
Ann_Droid
Ann_Droid
Re: Can't get Remote desktop to work in Debian 12
Thanks Ann:
At 4am this morning I gave up and new/installed Fedora Desktop 41 and it worked instantly. I think my problem was the computer couldn't found by it's name, perhaps I needed a local dns.
/b
At 4am this morning I gave up and new/installed Fedora Desktop 41 and it worked instantly. I think my problem was the computer couldn't found by it's name, perhaps I needed a local dns.
/b
- RedGreen925
- Posts: 267
- Joined: 2024-05-16 02:56
- Has thanked: 5 times
- Been thanked: 44 times
Re: Can't get Remote desktop to work in Debian 12
Editing your /etc/hosts file will do no need for a DNS server. I have all my machines name so I can use host names for them instead of the IP.blairitme wrote: 2025-02-13 13:44 Thanks Ann:
At 4am this morning I gave up and new/installed Fedora Desktop 41 and it worked instantly. I think my problem was the computer couldn't found by it's name, perhaps I needed a local dns.
/b
Code: Select all
root@9600k:~# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 9600k
# Added to stop the fscking BS of it not finding them when using that avahi-daemon junk
192.168.0.1 asus.local
#192.168.0.100 macpro.local moved to Haswell machine
192.168.0.101 9600k.local
192.168.0.102 lenovo_lan.local
192.168.0.103 macpro.local
#192.168.0.103 haswell.local
snip...
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters