[SOLVED] Upgraded to Ubuntu 21.04 from 20, now desktop doesn't work, unless VirtualBox hack...
UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Upgraded to Ubuntu 21.04 from 20, now desktop doesn't work, unless VirtualBox hack...
This is rather weird.
I have seen warnings before not to upgrade to 21.04, but then I saw it is supposed to be fixed and affected only old hardware anyway.
I did the upgrade because Ubuntu (packet manager?) recommended it with one of the usual popup messages on the desktop - not by forcing it.
This is running in a VirtualBox, on some i7 8 core / hyperthreads machine, 2 cores assigned to VM.
The upgrade ran for 10 mins or so, but did not complete. It said something about something not working and some part being rolled back - I unfortunately did not screencap that. It then ended with a success message. I queried the Ubuntu version, and it's 21.04.
So far, so good, it seemed.
Until... the next time I fired up the VM.
Ubuntu starts until the desktop, well sometimes it gets to show the default background image, sometimes it only shows purple.
But there are no icons on the left, extept the lower left "3x3 dots square" menu button.
Nothing works.
Weirder still is:
If I completely kick that VM, and tell VirtualBox to "start without GUI", so it will show only a thumbnail of the desktop in the right upper corner of the VirtualBox main window, updated every 1 second only - then it does boot into the desktop.
And if I then "show", I can actually open a terminal and type commands, although the screen update is plagued by flickering - this is not the normal way to use a VM I guess.
The normal way to sart up the VM still results in the desktop not working.
I can only guess that the difference is some timing, or, the lower screen resolution (1024x768) of the virtual monitor that VBox presents to the Ubuntu VM when it tis started in this "without GUI" way. (without GUI seems to just mean that VBox does not open an extra window for the virtual monitor, with all the keyboard/mouse capturing stuff etc)
So I *can* get access to a console on that broken Ubunto, at least.
I tried to update + upgrade, which then caused a complaint about a broken /etc/postfix/main.cf file.
When correcting the badly inserted (not by me...) myhost name there and ran upgrade again, the thing would put in a bad name with two ".." at the end after the actual name, again, ...
So I made a backup of main.cf and blanked it, and let postfix create a default value filled one.
Then I ran upgrade again, this time it complete without complaints.
But the issue outlined above persists.
So. Does anybody have an idea what I could do to find out what is actually wrong?
It's interesting enough that resolution / timing differences make the difference of the desktop starting in a working manner or non-working.
Is that already a clue?
Ok - I went to virtual box settings for the VM, and doubled the default and previously working 16MB of video memory to 32MB, and also I saw a warning by virtualbox that another (not recommended) video controller than VMSVGA was set, so I changed it to that.
Now it works, so far. Interesting that there are no complaints by the system about not enough memory or such.
Last edited by somanyquestions; 07-08-2021 at 06:22 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.