LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-30-2015, 02:57 AM   #1
dirg3r
LQ Newbie
 
Registered: Oct 2004
Location: New Zealand
Distribution: Mandrake 10.0 OE
Posts: 5

Rep: Reputation: 0
Jessie in Virtualbox fails to load GUI


Hi all, I am using Virtualbox to install Debian Jessie 8.0, with the Debian desktop environment selected. After what seemed like a successful install, it booted straight to the command line without a GUI. When I logged in and entered the startx command as root, all I got was a black screen.

Can anybody explain what has gone wrong, and why it should fail in the same way after trying to re-install a second time? How can I change things to make Jessie boot to the GUI?
 
Old 04-30-2015, 08:57 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,311
Blog Entries: 28

Rep: Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137Reputation: 6137
What are your video and processor settings for the Virtual Machine? They may provide a hint.

As I recall, Debian by default is not configured to boot to the command line, but only to a display manager. If it booted to command line without the display manager's loading for some reason, it may not have known what to do in response to startx. Does the Debian VM have an xinitrc configured globally (likely somewhere in /etc/X11) or for root (~/.xinitrc)?

(A while ago, I configured Lenny to boot to a command line and I had to create my own ~/.xinitrc.)
 
Old 04-30-2015, 09:11 PM   #3
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

Quote:
Check the settings for your virtual machine. Under 'display', make sure that 'Accelerate 3D graphics' is ENABLED. Once I enabled it, I was able to boot into the graphical mode.
http://forums.debian.net/viewtopic.php?f=17&t=115912

If that doesn't work, you could try changing the run-level and see if that gives you the GUI-
https://wiki.debian.org/RunLevel

On my Slackware box the default runlevel is 3. I had to change it to 4 in order to boot to a GUI.
I edited the /etc/inittab file to do that.

Not sure what file that would be on Debian.
https://www.debian-administration.or..._to_run-levels

Hope that helps.
 
Old 05-01-2015, 08:54 PM   #4
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
also
did you install one of the desktop environments ?

if not then you only installed a headless server version and NOT the desktop version

also keep in mind Gnome3 NEEDS!!!!! a 3d card installed

Last edited by John VV; 05-01-2015 at 08:55 PM.
 
Old 05-01-2015, 11:49 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
Originally Posted by John VV View Post
also
did you install one of the desktop environments ?

if not then you only installed a headless server version and NOT the desktop version

also keep in mind Gnome3 NEEDS!!!!! a 3d card installed
It doesn't depend on 3d card, you have to enable 3d support in vbox settings
 
Old 05-02-2015, 11:38 AM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
In Vbox it's in Settings> Display> Video> Enable 3D Acceleration.
Attached Thumbnails
Click image for larger version

Name:	3D.png
Views:	90
Size:	175.5 KB
ID:	18334  
 
Old 05-06-2015, 12:35 PM   #7
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 731

Rep: Reputation: 158Reputation: 158
Make sure you actually have the vboxdrv video driver installed in the guest and the driver module loaded. You will have to install the guest additions for this i suppose first (which has to be done from command line in this case - boot in single user).
Some info here:
https://wiki.debian.org/VirtualBox#T...does_not_exist
 
  


Reply

Tags
gui, jessie, startx, virtualbox



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
current Kernel 3.16-2 fails. (custom config, but not default one) Debian jessie i386 kaz2100 Debian 2 10-29-2014 08:51 AM
Skype video fails to survive Wheezy > Jessie upgrade jdkaye Linux - Software 3 05-08-2013 11:43 PM
VirtualBox fails to create file Uaebuntu Linux - Virtualization and Cloud 3 02-13-2013 11:21 AM
GUI fails to load eqisow SUSE / openSUSE 2 06-13-2005 10:01 AM
GUI abruptly fails to load on restart JevidL Linux - General 1 08-30-2003 05:20 PM

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

All times are GMT -5. The time now is 03:43 PM.

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