Gentoo Forums
Gentoo Forums
Quick Search: in
Install complete, but machine boots to command line?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
gangelo
n00b
n00b


Joined: 09 Feb 2010
Posts: 8
Location: Boonton, NJ

PostPosted: Tue Feb 09, 2010 8:28 pm    Post subject: Install complete, but machine boots to command line? Reply with quote

I am a first timer...

Non-networked install using .iso to Sun VirtualBox...

I've completed the install using the command line "short cut" found on the desktop during install...

All seemed to go well, except I did not see the machine finish the install because I was working.

When I unmount the install .iso from the CD and reboot, the machine reboots to the command line. Having chosen to install Xfce during the install, I expected to see a desktop, not the command prompt. I can login from the command prompt and switch to root (su) fine. Is this expected behavior? Why am I brought to the command line after reboot?

Any ideas where to go from here? :(
Back to top
View user's profile Send private message
ursusca
Apprentice
Apprentice


Joined: 10 Sep 2008
Posts: 277
Location: Toronto ON, CANADA

PostPosted: Tue Feb 09, 2010 8:52 pm    Post subject: Re: Install complete, but machine boots to command line? Reply with quote

gangelo wrote:
I am a first timer...

Non-networked install using .iso to Sun VirtualBox...

I've completed the install using the command line "short cut" found on the desktop during install...

All seemed to go well, except I did not see the machine finish the install because I was working.

When I unmount the install .iso from the CD and reboot, the machine reboots to the command line. Having chosen to install Xfce during the install, I expected to see a desktop, not the command prompt. I can login from the command prompt and switch to root (su) fine. Is this expected behavior? Why am I brought to the command line after reboot?

Any ideas where to go from here? :(


Hi,

You didn't add xdm to the default runlevel. Please post the output of this command
Code:
rc-update show default

_________________
You deserve free software!
Back to top
View user's profile Send private message
gangelo
n00b
n00b


Joined: 09 Feb 2010
Posts: 8
Location: Boonton, NJ

PostPosted: Tue Feb 09, 2010 9:00 pm    Post subject: Re: Install complete, but machine boots to command line? Reply with quote

ursusca wrote:
gangelo wrote:
I am a first timer...

Non-networked install using .iso to Sun VirtualBox...

I've completed the install using the command line "short cut" found on the desktop during install...

All seemed to go well, except I did not see the machine finish the install because I was working.

When I unmount the install .iso from the CD and reboot, the machine reboots to the command line. Having chosen to install Xfce during the install, I expected to see a desktop, not the command prompt. I can login from the command prompt and switch to root (su) fine. Is this expected behavior? Why am I brought to the command line after reboot?

Any ideas where to go from here? :(


Hi,

You didn't add xdm to the default runlevel. Please post the output of this command
Code:
rc-update show default


Here goes...thank you

local | default
netmount | default
syslog-ng | default
vixie-cron | default
Back to top
View user's profile Send private message
rtomek
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 209
Location: Chicago

PostPosted: Tue Feb 09, 2010 9:25 pm    Post subject: Re: Install complete, but machine boots to command line? Reply with quote

Code:
rc-update add xdm default
should start xdm on the next boot. To run it now, try
Code:
/etc/init.d/xdm start
and it should give you a login prompt, assuming xdm was pulled in by xfce correctly.
Back to top
View user's profile Send private message
gangelo
n00b
n00b


Joined: 09 Feb 2010
Posts: 8
Location: Boonton, NJ

PostPosted: Tue Feb 09, 2010 9:43 pm    Post subject: Re: Install complete, but machine boots to command line? Reply with quote

rtomek wrote:
Code:
rc-update add xdm default
should start xdm on the next boot. To run it now, try
Code:
/etc/init.d/xdm start
and it should give you a login prompt, assuming xdm was pulled in by xfce correctly.


Humm very strange,

When rebooting, says...

start-stop-daemon: stat /usr/bin/xdm: no such file or directory (no such file or directory)
ERROR: could not start the Display Manager

I looked and found there is no /usr/bin/xdm
Back to top
View user's profile Send private message
rtomek
Apprentice
Apprentice


Joined: 05 Jan 2007
Posts: 209
Location: Chicago

PostPosted: Tue Feb 09, 2010 9:57 pm    Post subject: Reply with quote

check out http://www.gentoo.org/doc/en/xfce-config.xml and jump to 'graphical login'

Quote:
We aren't quite finished yet. We have to pick a display manager and set the appropriate variable. Though there are a few choices available in Portage, for this guide, we'll stick with SLiM, the Simple Login Manager.

slim is speedy and lightweight, with minimal dependencies. Perfect for Xfce!

Code Listing 4.3: Installing SLiM
# emerge -avt slim

Note: The branding USE flag will pull in the slim-themes package, which will give you an assortment of login themes, including a Gentoo Linux theme.


Then edit the DISPLAYMANAGER variable in /etc/conf.d/xdm:

Code Listing 4.4: Editing /etc/conf.d/xdm
DISPLAYMANAGER="slim"
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2277
Location: /home/zach

PostPosted: Wed Feb 10, 2010 12:18 am    Post subject: Reply with quote

What happens when you try to start the X server manually?

Code:

echo "exec startxfce4" > ~/.xinitrc && startx

_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
gangelo
n00b
n00b


Joined: 09 Feb 2010
Posts: 8
Location: Boonton, NJ

PostPosted: Thu Feb 11, 2010 12:40 pm    Post subject: Reply with quote

NathanZachary wrote:
What happens when you try to start the X server manually?

Code:

echo "exec startxfce4" > ~/.xinitrc && startx


ty for your reply, back at work now...

says: Fatal server error: no screens found
XIO: fatal IO error 104 (connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.
Back to top
View user's profile Send private message
Mike Hunt
Watchman
Watchman


Joined: 19 Jul 2009
Posts: 5287

PostPosted: Thu Feb 11, 2010 1:14 pm    Post subject: Reply with quote

You'll also need to start hal and dbus:
Code:
# /etc/init.d/hald start
# /etc/init.d/dbus start
# rc-update add hald default
# rc-update add dbus default


Have a look at the The X Server Configuration HOWTO
Back to top
View user's profile Send private message
NathanZachary
Moderator
Moderator


Joined: 30 Jan 2007
Posts: 2277
Location: /home/zach

PostPosted: Thu Feb 11, 2010 6:48 pm    Post subject: Reply with quote

If you still have problems after starting dbus and hal, please post the errors upon issuing the startx command. You don't need to use the full command I gave you earlier anymore, since it has created a .xinitrc for you now. Now you simply need to type:

Code:

startx

_________________
“Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio---
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum