LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 09-11-2005, 04:16 AM   #1
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Gentoo
Posts: 134

Rep: Reputation: 15
xorg.conf.new only works as root, not as user..?


hello, im running Gentoo on a fujitsu siemens laptop.

when I log on as root everything works fine, I type startx, I get 3 xterm's, I type startkde in one of them and voila, all works fine...this is becuse im using xorg.conf.new and NOT xorg.conf (when I did emerge ati-drivers it made a regular xorg.conf file and I couldn't use startx; got an error about my ATI card so I deleted the xorg.conf file and all worked well as before).

and as reading plenty of threads before regarding logging on as root being extremely dangerous then it kinda wants me to have a user...

now my question is why I get an error when I type startx as user? is it not suppose to read the xorg.conf.new just as root does?

how do I fix this???

the error that xorg.conf makes has to do with the ati drivers and I THINK (not sure) my ATI card is burned since I couldn't run any games threw windows before (also when I did play games sometimes the computer just went down, and when I felt behind my laptop where the usb-ports are located it was boiling hot!! and it still does today so I'm using ice-bags)

my xorg.conf.new is located in /root/xorg.conf.new, so any ideas how to make it work as user? thx! any ideas appreciated!
 
Old 09-11-2005, 04:45 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
how are you making X use this alternative xorg.conf file? just delete the failing one and put the new one as xorg.conf normally.
 
Old 09-11-2005, 05:06 AM   #3
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Gentoo
Posts: 134

Original Poster
Rep: Reputation: 15
hi n thx 4 reply!!

Quote:
Originally posted by acid_kewpie
how are you making X use this alternative xorg.conf file?
no idea^^

ok I run startx as user it goes:

Running "/usr/bin/getconfig -X 60802000 -I /etc/X11,/usr/X11R6/etc/X11,/usr/lib/modules,/usr/X11R6/lib/X11/getconfig -v 0x1002 -d 0x4c59 -r 0x00 -s 0x1025 -b 0x101d -c 0x0300"

so as I see it im suppose to delete /usr/bin/getconfig ? will the xorg.conf.new automatically be replaced?? thx!
 
Old 09-11-2005, 06:10 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
getconfig? never heard of it... certainly don't delete it. basically have ONE config file, called xorg.conf remove and .new ones however they are getting used (not convinced it is at all mind) and go from there. if you want to test that config explicitly with a non root user try "startx -- -config /etc/X11/xorg.conf.new"
 
Old 09-11-2005, 06:58 AM   #5
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Gentoo
Posts: 134

Original Poster
Rep: Reputation: 15
I've tried several things by now like xorgconfig and running -config /home/me/xorg.conf getting fatal server error, then tried cp /root/xorg.conf.new /etc/X11/xorg.conf.new and tried running with startx and with startx -- -config /etc/X11/xorg.conf.new...nothing...tried running startx as root and all fine...im clueless.......thx
 
Old 09-11-2005, 07:30 AM   #6
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
maybe I'm too noob for this question but wouldn't chown as root for user work here?

I think it will :CONFUSED:
 
Old 09-11-2005, 07:44 AM   #7
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Gentoo
Posts: 134

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by itz2000
maybe I'm too noob for this question but wouldn't chown as root for user work here?
then my question goes, what's chown???? =)
 
Old 09-11-2005, 07:46 AM   #8
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally posted by Wiz22
then my question goes, what's chown???? =)
It's the command you use to change the owner of a file (or directory).

$ man chown

for more info.
 
Old 09-11-2005, 08:24 AM   #9
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Gentoo
Posts: 134

Original Poster
Rep: Reputation: 15
i c, thx! that chown will sure come handy a day, but for now I made another discovery:

while I copyed xorg.conf.new to another place and deleted /root/xorg.conf.new (original one)...seems startx is STILL working...so basically xorg.conf.new doesn't have anything to do with it....now im even more confused...just what is going on when I type startx?! isnt it starting X?! and should'nt Xorg.conf be the one to make it all work??? correct me if im wrong plz, cuz I hope I am :P thx!
 
Old 09-11-2005, 08:25 AM   #10
itz2000
Member
 
Registered: Jul 2005
Distribution: Fedora fc4, fc7, Mandrake 10.1, mandriva06, suse 9.1, Slackware 10.2, 11.0, 12.0,1,2 (Current)]
Posts: 732

Rep: Reputation: 30
Quote:
Originally posted by Wiz22
then my question goes, what's chown???? =)
lets say ur username is xyzw


so write as root

chown xyzw /root/xorg.conf.new

and try to check the file as user xyzw :]
 
Old 09-11-2005, 08:35 AM   #11
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
no, all this chowning stuff is nonsense.. no place here at all, it will only break things (if it had any effect whatsoever)

Ok, let's ust stop and how about you actually tell us what the errors are. you can see the full output of any failed X starting attempt in /var/log/Xorg.0.log and we'll take it from there ok? if you do have a faulty config file it should be the file at /etc/X11/xorg.conf you should never have any long term need for any other similar files whatsoever.
 
Old 09-11-2005, 10:55 AM   #12
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Gentoo
Posts: 134

Original Poster
Rep: Reputation: 15
I have real problem posting my error as im getting logged out all the time at linuxquestions.org when using konqueror as root, but it should be something like:

Symbol drmGetClient from module /usr/X11R6/lib/modules/drivers/radeon_drv.o is unresolved

so as I mentioned it's a ATI problem...but whatsoever Im really trying to use something I can post my error, I've tried links2 and lynx but they both "log out" of there, so..right now im on my windows comp and it'll be hard just making a network due to my experience...I don't know more then that..any ideas? =\
 
Old 09-11-2005, 11:38 AM   #13
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Gentoo
Posts: 134

Original Poster
Rep: Reputation: 15
emerging mozilla now...that HAS to work..
 
Old 09-11-2005, 01:57 PM   #14
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,345

Rep: Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945Reputation: 1945
?? what do you expect that to achieve??
 
Old 09-11-2005, 02:40 PM   #15
Wiz22
Member
 
Registered: Mar 2004
Location: {€urope}
Distribution: Gentoo
Posts: 134

Original Poster
Rep: Reputation: 15
well, you asked for an output of /var/log/Xorg.0.log and now I don't have anything to put it out with =) and mozilla is still emerging...
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't start x, xorg.conf read only, no root access doublez Linux - General 2 11-16-2005 02:49 PM
FC4 xorg issue - 1280x1024 works for root, but not normal user account peitz11 Linux - Software 2 09-29-2005 08:40 AM
Slamd64 Xorg only works correctly as root niztec Linux - General 3 09-21-2005 09:45 PM
Some questions - root user, xorg cb951303 Slackware 4 08-18-2004 10:17 AM
IntelliMouse thumb buttons work as root, broken as non-root user, wheel works always digital vortex Linux - Hardware 7 03-02-2004 04:14 PM


All times are GMT -5. The time now is 02:49 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration