4 ms·
I want to login to my computer over some remote protocol (i.e vnc, rdp), execute "sudo systemctl reboot", wait a little, and log in again. For this I think I n
by iudqnolq 3y ago
I want to login to my computer over some remote protocol (i.e vnc, rdp), execute "sudo systemctl reboot", wait a little, and log in again.
For this I think I need remote access to a logged out session, which as of my last check is impossible. (It's also poorly supported by gnome on x though)
- kaba0 3y agoIf you want to execute something in the terminal, why even bother with a graphical interface? Just ssh in and do it?
- iudqnolq 3y agoThe use case here is that I'm in a different physical location to the computer and want to remotely connect and run everything I'm working on on the remote computer in my remote window manager, including a browser and ide and terminal and so on. Maybe I was too literal. The problem isn't executing the reboot command. The problem is logging in remotely to a computer that hasn't been logged into locally since it booted. In particular the problem is that if I'm going to be remote for an extended period of time I have to ensure that nothing could interrupt the local session, and there's no fix if it does.
- kaba0 3y agoYou can choose to start a session locally though.