Page 1 of 1

Gnome doesn't start automatically

Posted: 10. Apr 2014, 13:46
by automatix1311
Hello!

For some days, Gnome doesn't start automatically anymore. Instead of this only the command line is loaded.

I can start Gnome manually with

Code: Select all

$ startx
Then I get this message:
VBOXADDITIONS_4.3.10_93012

This medium contains software intended to be automatically started. Would you like to run it?
The software will run directly from the medium "VBOXADDITIONS_4.3.10_93012". You should never run software that you don't trust.
If in doubt, press Cancel.
VBOXADDITIONS.png
VBOXADDITIONS.png (27.27 KiB) Viewed 3013 times
After clicking on "Run" an error message pops up:
Error autorunning software
Cannot find the autorun program
Error.png
Error.png (9.49 KiB) Viewed 3013 times
I already updated the VM and the Guest Additions and edited the /etc/fstab, so that the VBOXADDITIONS_4.3.10_93012 ISO can be mounted:

Code: Select all

/dev/sr0        /media/cdrom0   udf,iso9660 user,exec     0       0
or

Code: Select all

/dev/sr0        /media/cdrom0   udf,iso9660 user,auto     0       0
instead of

Code: Select all

/dev/sr0        /media/cdrom0   udf,iso9660 user,noauto     0       0
... but nothing helps.

What can be the cause of the problem and how to fix it?

Thx

Host: Windows 7
Guest: Debian 7.1 + Gnome 3
VB: 4.3.10

Re: Gnome doesn't start automatically

Posted: 10. Apr 2014, 14:52
by loukingjr
I can't tell you why Gnome stopped loading other than an update that went wrong or a corrupted install. Mine still works. The reason you are getting the "would you like to run it" message is because the guest additions .iso is still attached to your guest. you shouldn't have had to modify anything to mount the CD since it was mounted already. With the guest shutdown, go to the storage setting for your Debian guest in VirtualBox and remove the VirtualBox Guest Additions .iso.

Re: Gnome doesn't start automatically

Posted: 14. Apr 2014, 00:31
by automatix1311
It works again! But I really do not have an idea, why... The only thing I did was, that I add startx to the list of the Startup Applications.
Add-Startup-Program.png
Add-Startup-Program.png (55.85 KiB) Viewed 2980 times
I thougth, that would be the applications, starting with the system. I didn't know, that this is the list of programs, that starting with Gnome. Logically, after it I could not start Gnome at all: it was still not starting automatically and after manual starting with startx, it came in a infinite loop... OK, then I deleted startx from the startup apps list:

Code: Select all

$ rm ~/.config/autostart/startx.desktop
After a restart Gnome was loaded automatically...