If you use windows server and have remote access you can restart from start menu as local desktop system
for linux if you have root access via ssh and vnc then
You must login as root to reboot...