LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2008, 08:30 AM   #1
atunguyd
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Rep: Reputation: 0
Changing X verbosity level


Ok although I am somewhat experienced in Linux I am posting this in the Newbie forums cause I know it is a newbie question and I will slap myself when i see the answer.

I am fiddling around with modelines and I need to change my X log verbosity level. Now i know how to do this from the command line with startx X but in fedora 8 my X is starting automatically. Where is this done and how can I change the verbosity level?

Thanks
 
Old 07-23-2008, 01:57 PM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
I am not used to fedora, so take this advice carefully (mostly with regards to choosing the right runlevel):

You could stop X starting at boot by booting to runlevel3 in most distros (not debian or (k)ubuntu)

See /etc/inittab and change the default runlevel from 5 to 3 (maybe different for fedora?) and reboot.
Probably easier though (and no reboots): in a proper terminal (<CRTL><ALT><F1>) login as yourself.
su - to root then just

init 3

X will be shut down.
exit so you are back as yourself.

Then you can startx with any parameters you wish, and see any messages in the terminal.

The X environment is usually to be found on virtual TTY 7
<CRTL><ALT><F7> to switch to it, and <CRTL><ALT><F1> to switch back.
Of course you can also access the other terminals with <CRTL><ALT><F2-6>

When messing with this sort of thing I usually have

<CRTL><ALT><F1> running as myself
<CRTL><ALT><F2> running as root
<CRTL><ALT><F7> my X display (or not, depending).

Once you have it sorted, just reboot, or init 5 as root

X generally logs the startup events, and warnings / errors to /var/log/Xorg.0.log
That file is worth looking at.

There's no need for auto-flagellation.
 
Old 07-23-2008, 03:04 PM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Quote:
Originally Posted by tredegar View Post
Then you can startx with any parameters you wish, and see any messages in the terminal.
...and if you view "startx" you see it sources server and client resource files and "man X(server|org)" has the switches you could put in them to make it log more verbose (like "-logverbose") .
 
Old 07-24-2008, 02:28 AM   #4
atunguyd
LQ Newbie
 
Registered: Sep 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for that - i know I could change runlevels then manually run startx -verbose 5 but i was hoping there was a way for GDM to launch X with this option. If not then i will go the route described above
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
no verbosity with boot after 2.6 upgrade fincher69 Slackware 2 09-11-2006 12:03 PM
changing init level h3htimo Linux - Newbie 5 10-25-2005 12:05 AM
Changing Permission - Root Level? Garoth Linux - Software 4 02-24-2005 08:54 PM
Changing Fedora RUN LEVEL 3? carlosinfl Fedora 5 01-29-2005 07:07 PM
changing access level in Inheritance aashishagrawal Programming 1 12-03-2002 08:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:18 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration