Acceso remoto bajo GNU/Linux (XDMCP)
XDMCP es un protocolo de conexión remota que utiliza GNU/Linux y su Entorno Gráfico X11 para permitir acceder remotamente a una máquina y utilizarla a distancia, para hacer esto posible se necesita la instalación de XNEST cuya función permite la ejecución de aplicaciones de otra sesión de X11 localmente; redirigiendo esa salida a una ventana común y corriente en el entorno.
XNEST creara un entorno de escritorio en una ventana, pudiendo seleccionar diferentes resoluciones que se ajusten a las necesidades. Aquí dejo la explicación para poder conectarnos (Usando Ubuntu 9.04 Jaunty Jackalope) remotamente desde una maquina a otra autenticándonos y tomando el control.
Para compartir el acceso a nuestro PC usando XDMCP hacemos lo siguientes pasos, nótese que el primer paso es para ser realizado en la maquina cliente y los demás en el servidor o la maquina a la cual necesitamos entrar.
- Primero Instalamos Xnest:
- Luego necesitamos modificar la configuración de GDM (/etc/gdm/gdm.con)
- Una vez abierto el archivo buscamos la linea 71 que debe lucir así:
- Descomentamos la linea #RemoteGreeter… y su resultado sería:
- Para finalizar buscamos la linea 312 de nuestro archivo gdm.conf:
- Cambiamos “false” por “true” y quedara lo indicado en las lineas siguientes, para finalizar guardamos el archivo y reiniciamos el PC o el servicio (Paso Opcional).
sudo aptitude install xnest
sudo nano /etc/gdm/gdm.conf
# The greeter for xdmcp logins, usually you want a less graphically intensive
# greeter here so it's better to leave this with gdmlogin
#RemoteGreeter=/usr/lib/gdm/gdmlogin
# The greeter for xdmcp logins, usually you want a less graphically intensive
# greeter here so it's better to leave this with gdmlogin
RemoteGreeter=/usr/lib/gdm/gdmlogin
[xdmcp]
# Distributions: Ship with this off. It is never a safe thing to leave out on
# the net. Setting up /etc/hosts.allow and /etc/hosts.deny to only allow local
# access is another alternative but not the safest. Firewalling port 177 is
# the safest if you wish to have xdmcp on. Read the manual for more notes on
# the security of XDMCP.
Enable=false
[xdmcp]
# Distributions: Ship with this off. It is never a safe thing to leave out on
# the net. Setting up /etc/hosts.allow and /etc/hosts.deny to only allow local
# access is another alternative but not the safest. Firewalling port 177 is
# the safest if you wish to have xdmcp on. Read the manual for more notes on
# the security of XDMCP.
Enable=true
- Paso Opcional para reiniciar el servicio sin reiniciar la maquina:
sudo /etc/init.d/gdm restart

