How not to lock yourself out of your Ubuntu 18.04 VDI desktop

Image result for vmware horizon logoThose that follow my adventures with EUC will probably be aware that I’m a huge fan of Linux on the VDI desktop. The cost benefits are self-evident for task and knowledge-based workers; and for power users like developers, the platform can provide an easier route to a lot of their applications.

However, I won’t deny there are challenges, including upskilling those traditionally used to Windows, and a higher cost of maintenance.

Recently my Ubuntu 18.04 desktop developed a fault, and due to being midway through a proof-of-concept, I was unwilling to discard it and provision a new one. Kerberos had decided to lose access to the domain, meaning VMware SSO was completely broken.

However as I’d previously authenticated as my domain account, I was prevented from selecting another account (eg. root) to log in as. I tried booting into single-user mode, creating a new account, rebooting… all to no avail. The log in UI would not show it, so I had no way back in.

TL;DR

The solution is to modify /etc/lightdm/lightdm.conf in your base image and add the following:

[SeatDefaults]
greeter-session=unity-greeter
user-session=ubuntu
greeter-show-manual-login=true

After a quick reboot, you should see the ability to specify an account:

Fixed

Happy EUCing!!

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.