| View previous topic :: View next topic |
| Author |
Message |
gangelo n00b

Joined: 09 Feb 2010 Posts: 8 Location: Boonton, NJ
|
Posted: Tue Feb 09, 2010 8:28 pm Post subject: Install complete, but machine boots to command line? |
|
|
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 |
|
 |
ursusca Apprentice


Joined: 10 Sep 2008 Posts: 277 Location: Toronto ON, CANADA
|
Posted: Tue Feb 09, 2010 8:52 pm Post subject: Re: Install complete, but machine boots to command line? |
|
|
| 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 |
|
 |
gangelo n00b

Joined: 09 Feb 2010 Posts: 8 Location: Boonton, NJ
|
Posted: Tue Feb 09, 2010 9:00 pm Post subject: Re: Install complete, but machine boots to command line? |
|
|
| 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 |
|
 |
rtomek Apprentice


Joined: 05 Jan 2007 Posts: 209 Location: Chicago
|
Posted: Tue Feb 09, 2010 9:25 pm Post subject: Re: Install complete, but machine boots to command line? |
|
|
| 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 |
|
 |
gangelo n00b

Joined: 09 Feb 2010 Posts: 8 Location: Boonton, NJ
|
Posted: Tue Feb 09, 2010 9:43 pm Post subject: Re: Install complete, but machine boots to command line? |
|
|
| 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 |
|
 |
rtomek Apprentice


Joined: 05 Jan 2007 Posts: 209 Location: Chicago
|
Posted: Tue Feb 09, 2010 9:57 pm Post subject: |
|
|
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 |
|
 |
NathanZachary Moderator


Joined: 30 Jan 2007 Posts: 2277 Location: /home/zach
|
Posted: Wed Feb 10, 2010 12:18 am Post subject: |
|
|
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 |
|
 |
gangelo n00b

Joined: 09 Feb 2010 Posts: 8 Location: Boonton, NJ
|
Posted: Thu Feb 11, 2010 12:40 pm Post subject: |
|
|
| 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 |
|
 |
Mike Hunt Watchman


Joined: 19 Jul 2009 Posts: 5287
|
Posted: Thu Feb 11, 2010 1:14 pm Post subject: |
|
|
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 |
|
 |
NathanZachary Moderator


Joined: 30 Jan 2007 Posts: 2277 Location: /home/zach
|
Posted: Thu Feb 11, 2010 6:48 pm Post subject: |
|
|
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:
_________________ “Truth, like infinity, is to be forever approached but never reached.” --Jean Ayres (1972)
---avatar cropped from =AimanStudio--- |
|
| Back to top |
|
 |
|