LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 07-08-2021, 05:57 AM   #1
somanyquestions
Member
 
Registered: Jan 2019
Distribution: Ubuntu, Debian, Buildroot
Posts: 34

Rep: Reputation: Disabled
Question 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?
 
Old 07-08-2021, 06:16 AM   #2
somanyquestions
Member
 
Registered: Jan 2019
Distribution: Ubuntu, Debian, Buildroot
Posts: 34

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply

Tags
broken, desktop, ubuntu 21.04, upgrade, virtual box



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgraded to Fedora 15 now OpenVPN doesn't work ... systemctl issue? Hanse42 Linux - Newbie 10 05-29-2011 10:32 AM
Upgraded from 9.04 to 9.10 Now the system doesn't work kadal27 Ubuntu 6 11-09-2009 08:23 PM
Upgraded to 2.6.10 kernel and now sound doesn't work h0mes1ck Slackware 3 04-25-2006 11:05 AM
Upgraded to XFree86 in Slackware, now it doesn't work. crabber338 Slackware 7 04-13-2006 09:21 PM
Upgraded memory, now PCMCIA doesn't work ponds Linux - Software 5 07-05-2004 04:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration