LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-25-2009, 07:30 AM   #1
Bller
Member
 
Registered: Aug 2009
Location: Bucharest, Romania
Distribution: Slackware 14.1
Posts: 228

Rep: Reputation: 17
How could this happen?


I woke up this morning willing to edit a bit in my xorg.conf file, the video driver i wanted to chage from vesa to radeon. But i noticed that the file wasn`t like the other ones from my previous instalations, and had allready been edited ..by itself, with my ati driver, my mouse and scroll working. I rebooted, and when i came back to X, surprise, i had my vide card working, all the resolutions in place, my 1280x1024 working great. How could this have happen over night? I sware i didn`t do nothing in xorg.conf.
 
Old 08-25-2009, 08:09 AM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Well you do need to restart X for any changes to take effect.

Also X looks for and uses an xorg.conf file if it finds one in your current directory.

Many people have had a copy of xorg.conf in their /root/ directory and wondered why the changes they made had no effect each time they startx =)

Some video driver installers will edit the xorg.conf as part of the install... they should of course ask your permission though.
 
Old 08-25-2009, 08:20 AM   #3
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
I think it was the Slackware fairy.
 
Old 08-25-2009, 09:22 AM   #4
w1k0
Senior Member
 
Registered: May 2008
Location: Poland
Distribution: Slackware (personalized Window Maker), Mint (customized MATE)
Posts: 1,309

Rep: Reputation: 234Reputation: 234Reputation: 234
The morning is wiser than the evening. (Russian proverb)
 
Old 08-25-2009, 02:50 PM   #5
Bller
Member
 
Registered: Aug 2009
Location: Bucharest, Romania
Distribution: Slackware 14.1
Posts: 228

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by Bruce Hill View Post
I think it was the Slackware fairy.
It must have been, now i think it was the Slackware demon. I stopped X and logged off my user, and shut down my PC, now, when i try to start x again, it closes my monitor when it tries to show X. I left 1280x1024 resolution from my last use ( it worked fine ). And now it won`t start. I can`t understand what the hell is happening.
 
Old 08-25-2009, 03:21 PM   #6
Bller
Member
 
Registered: Aug 2009
Location: Bucharest, Romania
Distribution: Slackware 14.1
Posts: 228

Original Poster
Rep: Reputation: 17
And now after a few reboots, it works. 1280x1024 on and works as a charm. This is so weird.
 
Old 08-25-2009, 05:27 PM   #7
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 15
Posts: 700

Rep: Reputation: 43
How do you log into X, graphical (init 4) or via command line (init 3)?
If it is init 4, add the line xrandr -s 1280x1024 in the file ./Xdefaults (if it doesn't exist, create it yourself)

If you start X via init 3, put that line in ./xinitrc.

Chances are that it will always start with that screen resolution (it worked for me).

Last edited by adriv; 08-25-2009 at 05:31 PM.
 
Old 08-25-2009, 06:54 PM   #8
forum1793
Member
 
Registered: May 2008
Posts: 312

Rep: Reputation: 34
If you install the video driver using the ati*run file, it automatically looks adjusts your xorg.conf file. They have some gui program the runs in X amdccb or something like that. Perhaps it does it also.

But, if you are using the radeon driver that comes with the kernel, or that from the gits, I don't think it adjusts your xorg.conf file. If this is case it must be fairy (or really friendly hacker).

Note if you are using slackware-current, you may not need an xorg.conf. Trying renaming it and starting X. If it works, look at /var/log/Xorg.0.log and see what driver its using.

I recently removed all keyboard and mouse related entries in xorg.conf and these still work well. I maintain control of which video driver is used (radeon or radeonhd) and so keep some options.
 
Old 08-25-2009, 07:08 PM   #9
Bller
Member
 
Registered: Aug 2009
Location: Bucharest, Romania
Distribution: Slackware 14.1
Posts: 228

Original Poster
Rep: Reputation: 17
I user 12.2 not current. Didn`t install any driver. And still my xorg file just changes intself, sometimes it shows at 1280 sometimes it doesn`t. And i loggin in with command line startx.
 
  


Reply



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
How can this happen? jacki General 1 06-30-2006 02:21 PM
Why does this always happen Canam97 Mandriva 1 03-17-2005 04:42 PM
rm -rf / What would actually happen? TheOneAndOnlySM General 22 03-29-2004 06:51 PM
Why does this happen?? xianzai Linux - Software 4 01-08-2004 06:24 AM
Can This Happen ? rvijay Linux - Security 11 09-28-2003 08:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:02 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
Open Source Consulting | Domain Registration