Automatically Log In to an Ubuntu Head with systemd
spin.atomicobject.com·1d
🧮Memory Allocators
Preview
Report Post

I have a piece of software I need running continuously on one of my Ubuntu virtual machines. Sadly, for some reason I cannot explain, that software requires a user be logged into the head. But my virtual machine barely has a head. And I certainly don’t want to be logged into it all the time. This post is about a workaround I found.

The Problem

This piece of software needs to be started manually after boot. Once it’s started, it’ll keep running as a daemon. Oddly, on that first startup, there needs to be an account logged into the head. If not, it’ll refuse to start. Even more oddly, you don’t even need to start it from the head. You simply need to have something connected to the head, and then you can do the rest over ssh.

I don’t get it either. But that’s what I have i…

Similar Posts

Loading similar posts...