how to enable headless operation on an Ubuntu 22.04 desktop running on a Raspberry PI without screen

cn flag

I've tried to follow:

RPI4 and Ubuntu 20.04 LTS: Switch between headless and hdmi mode without any changes

but it doesn't seem to work. The RPi fails to boot.

My goal is to be able to connect via Anydesk or something equivalent and get access to a desktop environment even though no screen are attached.

Any ideas?

guiverc avatar
cn flag
Did you install Ubuntu 22.04 LTS Server? or something else? ie. please be specific as to what Ubuntu 22.04 LTS product you installed (*the link you refer to covers Xubuntu; so was it a flavor of 22.04?*)
user535733 avatar
cn flag
"* doesn't seem to work*" and "*...fails to boot*" are, unfortunately, much too vague to offer useful advice. SOMETHING must have happened when you rebooted. Lights flash, screen text, cursor blinking, etc. Please [edit your question]( to detail that experience -- those little details are important troubleshooting clues.

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.