informatica:linux:xwindow
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| informatica:linux:xwindow [2012/05/14 10:07] – javi | informatica:linux:xwindow [2015/06/25 10:42] (current) – jose | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| forward X X11 DISPLAY ssh | forward X X11 DISPLAY ssh | ||
| Queremos abrir desde un cliente aplicaciones graficas (por ejemplo xeyes) que estan instaladas en el servidor. | Queremos abrir desde un cliente aplicaciones graficas (por ejemplo xeyes) que estan instaladas en el servidor. | ||
| + | |||
| + | |||
| + | ===== Desde cliente GNU/Linux a servidor GNU/Linux ====== | ||
| 1. (Servidor) Editar: | 1. (Servidor) Editar: | ||
| Line 42: | Line 45: | ||
| 4. (Cliente) Conectarse al servidor: | 4. (Cliente) Conectarse al servidor: | ||
| - | ssh -X usuario@nombre.servidor.com | + | ssh -Y usuario@nombre.servidor.com |
| Y lanzar la aplicacion (debe estar instalada en el servidor): | Y lanzar la aplicacion (debe estar instalada en el servidor): | ||
| Line 80: | Line 83: | ||
| Y ya podemos abrir las x, xclock, etc... | Y ya podemos abrir las x, xclock, etc... | ||
| - | ====== LINUX ====== | ||
| + | ===== GNU/LINUX - corkscrew ===== | ||
| Instalar corkscrew \\ | Instalar corkscrew \\ | ||
| Line 135: | Line 138: | ||
| Y ya se abre xclock. | Y ya se abre xclock. | ||
| + | ===== No funcionan X con un usuario (FALTACOMPROBAR)===== | ||
| + | Si al cambiar de usuario nos da el error: | ||
| + | # xclock | ||
| + | | ||
| + | No protocol specified | ||
| + | Error: Can't open display: :0 | ||
| + | | ||
| + | Como root ejecutamos: | ||
| + | # xhost local: | ||
| + | | ||
| + | ===== X11 forwarding request failed on channel 0 ===== | ||
| + | Si nos da el error: | ||
| + | X11 forwarding request failed on channel 0 | ||
| + | |||
| + | Comprobad que en el sshd_config del servidor tiene: | ||
| + | X11Forwarding yes | ||
| + | X11UseLocalhost no | ||
informatica/linux/xwindow.1336990078.txt.gz · Last modified: (external edit)
