Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error message on startup [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
catchpole
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2014
Posts: 103
Location: Leeds UK

PostPosted: Wed Jan 14, 2015 6:43 am    Post subject: Error message on startup [SOLVED] Reply with quote

I get two error messages when I bootup which flash by on the screen before I have the chance to read them.
This has happened since emerging Abiword.

How can I catch these messages?
_________________
Noob
With experience of Mint and trying to learn more by intalling Gentoo
Motherboard = MS-7211- MICRO-STAR INTERNATIONAL CO., LTD
CPU = Intel(R) Celeron(R) CPU 2.80GHz version: 15.4.9
Memory = 2GB


Last edited by catchpole on Thu Jan 15, 2015 6:48 am; edited 1 time in total
Back to top
View user's profile Send private message
PeGa!
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 104
Location: Capital Federal, Buenos Aires, Argentina

PostPosted: Wed Jan 14, 2015 7:03 am    Post subject: Reply with quote

Hi,

If you want to know the exact moment when that happens, your best move is to video record the screen with a camera or cell phone and play it later with slow speed. If you want to catch a specific error or look for errors during startup:

Code:
# grep rc_log /etc/rc.conf
# rc_logger launches a logging daemon to log the entire rc process to
rc_logger="YES"
# Through rc_log_path you can specify a custom log file.
rc_log_path="/var/log/rc.log"


Note that you need devfs service running as soon as possible in order to be able to log the system startup:

Code:
# rc-update add devfs boot
 * rc-update: devfs already installed in runlevel `boot'; skipping
(this is my box)

Hope that helps,

Cheers!
_________________
If it moves, it needs an ebuild.

Adopt an unanswered post.
Back to top
View user's profile Send private message
catchpole
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2014
Posts: 103
Location: Leeds UK

PostPosted: Wed Jan 14, 2015 2:34 pm    Post subject: Reply with quote

Hi PeGa!,

Using your method I found the error messages.

Something like xdm not valid - install "x11-apps xdm"

I did emerge "x11-apps xdm" and the login screen appeared.
However when I logged in it would not go any further than the login screen.
This was the same wether I logged in as root or another user.

Luckyly I have dual boot and was able to chroot in from a Mint distro and unmerge "x11-apps xdm"

Thanks for your help.

Now I have to retrace my steps and find out what's gone wrong.
I don't like the login screen anyway!!
_________________
Noob
With experience of Mint and trying to learn more by intalling Gentoo
Motherboard = MS-7211- MICRO-STAR INTERNATIONAL CO., LTD
CPU = Intel(R) Celeron(R) CPU 2.80GHz version: 15.4.9
Memory = 2GB
Back to top
View user's profile Send private message
PeGa!
Tux's lil' helper
Tux's lil' helper


Joined: 13 May 2005
Posts: 104
Location: Capital Federal, Buenos Aires, Argentina

PostPosted: Wed Jan 14, 2015 3:42 pm    Post subject: Reply with quote

Hi! glad you were able to found the culprit.

Now, regarding xdm and the inner works of it, I should recommend you to read http://wiki.gentoo.org/wiki/Display_manager, because xdm today is a bit too simple, and there are many, many options to beautify your display manager. Somehow, most of them works through the xdm script in /etc/init.d, although they are called differently: kdm, gdm, slim, etc.

Read that, may be it will clarify some concepts for you.

Cheers!
_________________
If it moves, it needs an ebuild.

Adopt an unanswered post.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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