
Top command using ssh client
If you access to you ubuntu remotely using a vnc client, like VNC-Viewer on Windows or other, probably sometimes you have issues with you connection or you miss it. So how you can fix it? I access to ssh console using Putty.exe from Windows, then I check the process using the command:
sudo top
then, you should look for your vnc-server process, in my case it’s called “vino-server”, and then press K (Kill) key and write the PID of the vino-server daemon and then press Enter twice to confirm. Ubuntu will re-start the service automatically, so you will able to connect again with you vnc-client.
Ahora en español…
Si te conectas a Ubuntu usando algún cliente de VNC, tal como VNC-Viewer, probablemente a veces tengas problemas de conexión y la pierdas, si esto ocurre, deberás acceder a tu computadora de una manera alternativa, por ejemplo, usando un cliente SSH, por ejemplo, desde Windows pueder usar Putty.exe. Una vez que lo descarges y accedes a Ubuntu, puedes ejecutar el comando
sudo top
para listar los procesos en ejecución, buscar en el listado el servidor VNC, que por defecto en Ubuntu es “vino-server” y presionar la tecla K para matar el proceso. Ingresa PID correspondiente al proceso y presiona Enter dos veces para confirmar. Esto reiniciará el servidor VNC.
Regards,
Álvaro