Log on the screen on the Linux box (locally) with a X server.
Log on by
ssh -Xwith X windows.
Started a vnc session and log on it.
I am managing the Linux box remotely via a ssh session (I have root password).
Just do this:
# killall -u bob
It will kill all processes that user bob owns.
Check the manual of killall for more information: killall manual.