-
Notifications
You must be signed in to change notification settings - Fork 7
VM starts as bash shell sometimes (Ubuntu GUI fails to start) #77
Comments
This is X server stuff again. most likely your VB is out-of-date? |
I am using 5.2.8, the latest so far as I can see from VB site. |
ok. too bad. This will then be a problem with Ubuntu/the Vagrant box/VBox. Sigh. will presumably have to be flagged upstream, but not sure where... Maybe try a "sudo apt-get update;sudo apt-get upgrade" and hope it disappears... |
No, update+upgrade did not help |
I've installed the VGA for 5.2.8, so that should work. At any rate, could you please test whether installing VGA to your VM solves the problem? open a terminal
|
mount: no medium found on /dev/sr0 |
try |
sudo mount -t iso9660 /dev/cdrom /media |
@evgueni-ovtchinnikov try to insert guest addition CD first |
can we please try |
tried update_VGA.sh, restarted - no difference |
did you insert the cd? insert the CD, run |
what CD? |
this #77 (comment) |
nothing happens when I click there |
insert the CD clickin' there and then do the |
|
@evgueni-ovtchinnikov, what kind of error message are you getting in your console when this happens? I've just had a case (with the old VM) where it said something like
with I found a post that discusses this in 2016 with older VBox which recommends to adding the following to grub.cfg
I have no clue if this is still necessary. Let's only try this if you get the same error. |
The issue was fixed by reinstalling the VGA. |
reinstalling the VGA fixed it for me as well, but I have the following in the start-up logs
I discovered that the virtualbox-guest-utils ubuntu package was installed. This could create a conflict with the VGA installed from the CDROM. VBox recommends to use the latter. So, I did the following (after a bit of research) sudo apt-get install build-essential module-assistant
sudo /opt/VBoxGuestAdditions-*/uninstall.sh
sudo apt-get purge virtualb*
sudo reboot Then I used the After that, the vboxadd-service is ok. I haven't had any X server problems yet. So... @paskino, can you please try to create a new VM, do the above, check if the service runs, report back, export a new VM? |
This hasn't fixed the problem. I just did a reboot where the X-server failed to start (blinking screen). I also noticed that the VM captures the mouse (but doesn't display it), which is quite annoying. I can get out of that by pressing the Host key once (right-ctrl on Windows by default). That confirms it's a VGA problem. I've run @paskino, can you see if you have the same |
This has been solved by ensuring to run |
had this problem again solution that worked for me: cd devel/CCPPETMR_VM/scripts BTW sudo update_VGA.sh in the home folder did not work (did not find the script - without sudo it did, but update failed) |
can you check which step in |
sorry, it was update_VGA.sh of course apparently mount -t iso9660 /dev/sr0 /media/cdrom failed as the last message before the failure was "CD still not found. Trying /dev/sr0 !" |
ok. let's leave this closed as I have no clue what we can do about it :-; |
the trick i used to get the blinking vm running no longer works - now after reset i get lots of error messages from cloud-init (failed to establish a new connection: network is unreachable/connection refused) and blinking prompt is back |
What trick?
I have to run it every now and again but so far it's done its job. |
please see my comments on sep 28, just above my previous message |
closing is we haven't had this in ages, and it's not in our control anyway. |
New VM starts ok first time, but when started after shutdown would only get as far as ubuntu-xenial login: prompt. Login as sirfuser starts bash shell.
The text was updated successfully, but these errors were encountered: