You are not logged in.
WM: QTile
Installed xrdp, `xrdp.service` is active and enabled.
`sudo systemctl status xrdp`
● xrdp.service - xrdp daemon
Loaded: loaded (/usr/lib/systemd/system/xrdp.service; enabled; preset: disabled)
Active: active (running) since Mon 2023-02-13 22:34:59 CET; 48min ago
Docs: man:xrdp(8)
man:xrdp.ini(5)
Process: 35969 ExecStart=/usr/bin/xrdp (code=exited, status=0/SUCCESS)
Main PID: 35970 (xrdp)
Tasks: 1 (limit: 18914)
Memory: 1.3M
CPU: 11ms
CGroup: /system.slice/xrdp.service
└─35970 /usr/bin/xrdp
Feb 13 22:34:58 bazmorty systemd[1]: Starting xrdp daemon...
Feb 13 22:34:58 bazmorty xrdp[35969]: [INFO ] address [0.0.0.0] port [3389] mode 1
Feb 13 22:34:58 bazmorty xrdp[35969]: [INFO ] listening to port 3389 on 0.0.0.0
Feb 13 22:34:58 bazmorty xrdp[35969]: [INFO ] xrdp_listen_pp done
Feb 13 22:34:58 bazmorty systemd[1]: xrdp.service: Can't open PID file /run/xrdp.pid (yet?) after start: Operation not permitted
Feb 13 22:34:59 bazmorty systemd[1]: Started xrdp daemon.
Feb 13 22:35:00 bazmorty xrdp[35970]: [INFO ] starting xrdp with pid 35970
Feb 13 22:35:00 bazmorty xrdp[35970]: [INFO ] address [0.0.0.0] port [3389] mode 1
Feb 13 22:35:00 bazmorty xrdp[35970]: [INFO ] listening to port 3389 on 0.0.0.0
Feb 13 22:35:00 bazmorty xrdp[35970]: [INFO ] xrdp_listen_pp done`sudo xrdp` has no output.
As for `xrdp`
$ xrdp
Could not start log
Could not start log
error opening log file [The log is not properly started]. quitting.From Arch Wiki:
You should be able to connect an RDP client to the host on the default RDP port (3389). If successful, you will be greeted with the xrdp session manager window which allows you to choose between Xorg or Xvnc sessions and provides inputs for user authentication.
No session manager window appears.
Last edited by prayner96 (2023-02-14 12:43:08)
Offline
/var/log/xrdp.log
http://ix.io/4o17
I removed the .pid file as mentioned around the 20230214-13:41:27 mark, and the error said that the address was probably already in use.
sudo rm /var/run/xrdp.pidI don't see how the address could be in use as I keep deleting the pid and yet xrdp never displays the session manager.
In case it's useful to anyone:
/var/log/xrdp-sesman.log
http://ix.io/4o16
Offline
Do you have also xorgxrdp installed?
Do you use firewall - if so, is port 3389 enabled?
Offline
I had not installed xorgxrdp and I now have. No change.
I have iptables installed. I have never played with ports before, but I did ran the following commands:
sudo iptables -I INPUT -p tcp --dport 3389 -j ACCEPT
sudo iptables -I INPUT -p udp --dport 3389 -j ACCEPT
sudo ip6tables -I INPUT -p tcp --dport 3389 -j ACCEPT
sudo ip6tables -I INPUT -p udp --dport 3389 -j ACCEPTStill nothing happens.
Current rules in iptables:
$ sudo iptables -nvL
Chain INPUT (policy ACCEPT 9590 packets, 14M bytes)
pkts bytes target prot opt in out source destination
0 0 ACCEPT 17 -- * * 0.0.0.0/0 0.0.0.0/0 udp dpt:3389
0 0 ACCEPT 6 -- * * 0.0.0.0/0 0.0.0.0/0 tcp dpt:3389
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 5570 packets, 831K bytes)
pkts bytes target prot opt in out source destination Offline
Are you connecting from Windows or Linux machine? Any error message?
Log from such connection?
Offline
I am connecting a Linux Mint desktop to my Arch Linux laptop via xrdp. I am also using Zerotier to create a private tunnel.
I assumed that the window session manager would pop-up without connecting either device, but are you implying that the session manager will only appear if there is an ongoing connection between the two devices? Sorry for the obvious question, but I am not very familiar with networks or the RDP.
Offline
There will nothing popup on rdp server (arch) side. Window will popup on client side (mint) , when you try connect
to server (arch) asking for your credentials for server.
Which program you use on Mint desktop for connecting to Arch laptop (my recomendation: remmina)?
In remmina on Mint you create profile for connection to Arch linux (ip adress, credentials).
Offline
I am connecting a Linux Mint desktop to my Arch Linux laptop via xrdp
Sorry, I wrote that wrong. I am using my Arch laptop to remote access my dad's linux mint desktop, so that I can access my dad's desktop from abroad.
I also realise now that xrdp is not a client, and so I'll need to install a client for my Arch laptop. If I've understood things correctly, do you recommend using Remmina for Arch?
Offline
Yes - I recommend use remmina on your archlinux nb.
You don't need xrdp/xorgxrdp installed on your notebook, you need to instal it on your dad's desktop.
Installation on Mint should be the same, as on Ubuntu - there is lot of tutorials on Youtube, how to do it.
Offline
I installed Remmina on Arch and xrdp is now active on Mint. I put the server, name, and passwd of the Mint account on Remmina. However, I am now outside of the same network as that desktop. I am not sure how I can connect from Arch to Mint using this method when outside the network. Do I need to create an SSH tunnel or something?
Offline