Diferencia entre revisiones de «Ejecutar aplicaciones gráficas en remoto desde la línea de comandos»
De Guifi.net - Wiki Hispano
(Ejecutar aplicaciones de las x de una máquina remota) |
|||
Línea 2: | Línea 2: | ||
usuario@LOCAL:~$ echo $DISPLAY | usuario@LOCAL:~$ echo $DISPLAY | ||
− | :0.0 | + | :0.0 |
− | usuario@LOCAL:~$ ssh -X usuario@maquina-remota | + | usuario@LOCAL:~$ ssh -X usuario@maquina-remota |
− | Password: | + | Password: |
− | LINUX maquina-remota 2.6.18-3-686 \#1 SMP Mon Dec 4 16:41:14 UTC 2006 i686 | + | LINUX maquina-remota 2.6.18-3-686 \#1 SMP Mon Dec 4 16:41:14 UTC 2006 i686 |
− | The programs included with the Debian GNU/Linux system are free software; | + | The programs included with the Debian GNU/Linux system are free software; |
− | the exact distribution terms for each program are described in the | + | the exact distribution terms for each program are described in the |
− | individual files in /usr/share/doc/*/copyright. | + | individual files in /usr/share/doc/*/copyright. |
− | Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent | + | Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent |
− | permitted by applicable law. | + | permitted by applicable law. |
− | No mail. | + | No mail. |
− | Last login: Mon Mar 5 03:55:53 2007 from XX.XX.XX.XX | + | Last login: Mon Mar 5 03:55:53 2007 from XX.XX.XX.XX |
− | usuario@maquina-remota:~$ echo $DISPLAY | + | usuario@maquina-remota:~$ echo $DISPLAY |
− | localhost:10.0 | + | localhost:10.0 |
− | usuario@maquina-remota:~$ xlogo | + | usuario@maquina-remota:~$ xlogo |
− | [Por pantalla se muestra una ventana con el logotipo X] | + | [Por pantalla se muestra una ventana con el logotipo X] |
− | usuario@maquina-remota:~$ exit | + | usuario@maquina-remota:~$ exit |
− | logout | + | logout |
− | Connection to XY.XY.XY.XY closed. | + | Connection to XY.XY.XY.XY closed. |
====Referencias==== | ====Referencias==== | ||
http://www.eldemonionegro.com/wordpress/archivos/2007/03/06/ejecutar-aplicaciones-graficas-en-remoto-desde-la-linea-de-comandos | http://www.eldemonionegro.com/wordpress/archivos/2007/03/06/ejecutar-aplicaciones-graficas-en-remoto-desde-la-linea-de-comandos |
Revisión de 02:03 18 dic 2010
Cómo ejecutar aplicaciones con interfaz gráfico que están instaladas en una máquina remota pero que quieres verlas directamente en tu ordenador local. Como prerequisito las máquinas remotas serán sistemas GNU/LINUX o UNIX.
usuario@LOCAL:~$ echo $DISPLAY :0.0 usuario@LOCAL:~$ ssh -X usuario@maquina-remota Password: LINUX maquina-remota 2.6.18-3-686 \#1 SMP Mon Dec 4 16:41:14 UTC 2006 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. No mail. Last login: Mon Mar 5 03:55:53 2007 from XX.XX.XX.XX usuario@maquina-remota:~$ echo $DISPLAY localhost:10.0 usuario@maquina-remota:~$ xlogo [Por pantalla se muestra una ventana con el logotipo X] usuario@maquina-remota:~$ exit logout Connection to XY.XY.XY.XY closed.