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...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help