How would I go about restarting MATE’s graphical environment via SSH?
I use my home computer at school via VNC and every now and then it completely hangs and won’t respond and I’m SOL from where I am to restart the computer.
I know I can restart the computer by a sudo reboot from SSH, but I was wondering if there was a way to restart the graphical environment so I can re-VNC in again without a reboot.