Translate

jueves, 5 de abril de 2018

Black screen in VNC SSH tunneled session after closing SSH connection.
SSH closes X11 clients from VNC session (Fixed / Solved ) /
Pantalla negra en sesión de VNC conectada mediante túnel de SSH.
Al cerrar el SSH se cierran clientes de X11 de la sesión del vncserver ( Solucionado / resuelto )


After disconnecting from a SSH connection, the x-clients from the vncserver session were killed from the memory.
After checking the logs of the vncserver ( .vnc/<hostname>:VNCDISPLAY.log ) , I found a message that stated that the file /tmp/.X11-unix should be owned by root. Indeed, for an uknown reason it was owned by other user (in my case was owned by cron).

So I just fixed it with:

chown root:root  /tmp/.X11-unix


And no more 'black screens' in VNC session. Hope this helps somone else.


Traducción:

Después de desconectarse de una conexión SSH, los x-clients de la sesión vncserver se eliminaron de la memoria.

Después de verificar los registros de vncserver (.vnc/<hostname>: VNCDISPLAY.log), encontré un mensaje que indicaba que el archivo /tmp/.X11-unix debería ser propiedad de root. 

De hecho, por alguna razón desconocida era propiedad de otro usuario (en mi caso, de cron).

Así que lo solucioné simplemente con:

chown root: root /tmp/.X11-unix


Y no más 'pantallas negras' en la sesión de VNC. Espero que esto ayude a alguien más.

No hay comentarios: