Linux Problemas con XRDP

Spinne_CL

Miembro Activo
Se incorporó
28 Abril 2024
Mensajes
7
Estimados, ocupé harto tiempo escritorio remoto con XRDP, donde entraba con una màquina windows y guacamole. Todo muy bien hasta que me apareció el siguiente error
1755875938414.png


Claramente cambié algo que no debía. Alguien sabe que pasos tomar para solucionarlo?
Gracias!
 

dwyer

Sonidista-Computin
Se incorporó
10 Mayo 2005
Mensajes
2.970
Probaste preguntando a la IA?

Visión general creada por IA

The error message "g_tcp_bind(7, 3389) failed bind" indicates that the XRDP service is unable to bind to port 3389, which is the default port for Remote Desktop Protocol (RDP). This typically occurs when another process is already using or has a hold on that specific port.

To resolve this issue, consider the following troubleshooting steps: Identify the process using port 3389.

Use a command like sudo lsof -i tcp:3389 to determine if another process is actively listening on port 3389. Terminate the conflicting process.

If a process is identified, you may need to terminate it using sudo kill <PID> (where <PID> is the process ID found in the previous step). Check for existing XRDP instances.

Ensure that there isn't a "dead" or lingering XRDP instance that is still holding onto the port. You might need to restart the XRDP service:

Código

sudo systemctl restart xrdp
Verify firewall settings.

Confirm that your firewall (e.g., UFW) is not blocking access to port 3389 for the XRDP service. You might need to allow the port through the firewall:

Código

sudo ufw allow 3389/tcp
Disable conflicting screen sharing features.

If you have enabled other screen sharing features (e.g., GNOME's built-in screen sharing), these might be conflicting with XRDP's attempt to bind to the port. Consider temporarily disabling them. Reinstall XRDP (as a last resort).

If the above steps do not resolve the issue, you might consider removing and then reinstalling XRDP:

Código

sudo apt-get remove xrdp
sudo apt-get install xrdp
 
Upvote 1

Kitsune

Fanático
Se incorporó
5 Mayo 2006
Mensajes
1.064
Hola,
no cache , con xrdp te conectabas a un windows que esta donde?? ¿En tu misma máquina?
el error es a 0.0.0.0, otro proceso ya te estara usando el puerto?
 
Upvote 0

Spinne_CL

Miembro Activo
Se incorporó
28 Abril 2024
Mensajes
7
Probaste preguntando a la IA?

Visión general creada por IA

The error message "g_tcp_bind(7, 3389) failed bind" indicates that the XRDP service is unable to bind to port 3389, which is the default port for Remote Desktop Protocol (RDP). This typically occurs when another process is already using or has a hold on that specific port.

To resolve this issue, consider the following troubleshooting steps: Identify the process using port 3389.

Use a command like sudo lsof -i tcp:3389 to determine if another process is actively listening on port 3389. Terminate the conflicting process.

If a process is identified, you may need to terminate it using sudo kill <PID> (where <PID> is the process ID found in the previous step). Check for existing XRDP instances.

Ensure that there isn't a "dead" or lingering XRDP instance that is still holding onto the port. You might need to restart the XRDP service:

Código

sudo systemctl restart xrdp
Verify firewall settings.

Confirm that your firewall (e.g., UFW) is not blocking access to port 3389 for the XRDP service. You might need to allow the port through the firewall:

Código

sudo ufw allow 3389/tcp
Disable conflicting screen sharing features.

If you have enabled other screen sharing features (e.g., GNOME's built-in screen sharing), these might be conflicting with XRDP's attempt to bind to the port. Consider temporarily disabling them. Reinstall XRDP (as a last resort).

If the above steps do not resolve the issue, you might consider removing and then reinstalling XRDP:

Código

sudo apt-get remove xrdp
sudo apt-get install xrdp
Claramente el remote que trae Gnome estaba ocupando el puerto 3389 de XRDP! No cachaba ese comando, anotado. Lo cambié a otro puerto y funcionó perfecto. Nunca pude desintalar el que trae Ubuntu, reiniciaba y se ponia denuevo. Muchas Gracias!!!!!
 
Upvote 0
Subir