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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-25-2007, 10:24 AM
|
#1
|
LQ Newbie
Registered: Oct 2007
Distribution: Slackware 12, Ubuntu 7.04
Posts: 11
Rep:
|
Can't connect to X server slackware 12
I was trying to fix my scroll wheel on my mouse by editing the xorg.conf file and when i hit ctrl alt backspace and tried to restart my x server it says no screens found. I know I must've done something to the xorg.conf file, but how can I fix it back?
|
|
|
10-25-2007, 10:27 AM
|
#2
|
Member
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446
Rep:
|
You haven't forgot a " or something in the file? If you added a section, did you end it with EndSection?
If you could post your /etc/X11/xorg.conf file here, it would be a little easyer to find the error
|
|
|
10-25-2007, 10:30 AM
|
#3
|
LQ Newbie
Registered: Oct 2007
Distribution: Slackware 12, Ubuntu 7.04
Posts: 11
Original Poster
Rep:
|
How can I view it? pico /etc/x11/xorg.conf doesn't bring up anything...
|
|
|
10-25-2007, 10:40 AM
|
#4
|
Member
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446
Rep:
|
In unix the filesystem is case-sensitive. Therefor File.txt and file.txt are two different files. You have to enter X11 with a capital X. Try using the TAB-key to autocomplete your filenames. Press TAB two times to show the files matching your current letters. Try pressing this:
pico /e <tab> X <tab> xo <tab>.
If nothing happens, try pressing tab two times. If nothing shows up, it doesn't exist, or you don't have the necessary user rights.
|
|
|
10-25-2007, 10:42 AM
|
#5
|
LQ Newbie
Registered: Oct 2007
Distribution: Slackware 12, Ubuntu 7.04
Posts: 11
Original Poster
Rep:
|
oh i totally forgot about it being case sensitive...i havent messed with linux in a few months lol :P. But i will restart my computer and boot slackware and see what i get. (right now i am on ubuntu.) Will post back with results.
|
|
|
10-25-2007, 11:02 AM
|
#6
|
LQ Newbie
Registered: Oct 2007
Distribution: Slackware 12, Ubuntu 7.04
Posts: 11
Original Poster
Rep:
|
Ok here are the xorg.conf results.
Code:
Section "Monitor"
Identifier "Compaq FS7600"
HorizSync 31.5, 35.15, 35.5
Vertfresh 50-70
Endsection
Code:
Section "Device"
Identifier "Standard VGA"
Vendorname "Unknown"
Boardname "Unknown"
Chipset "generic"
Driver "vga"
BusID "PCI:0:10:0"
Videoram 256
Clocks 25.2 28.3
The second seems to me like it would be wher e the problem was. It has a lot of unkown fields in it.
Last edited by mcbeerbong; 10-25-2007 at 11:03 AM.
|
|
|
10-25-2007, 11:16 AM
|
#7
|
Member
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446
Rep:
|
Is there a EndSection to that second section you posted?
|
|
|
10-25-2007, 11:16 AM
|
#8
|
LQ Newbie
Registered: Oct 2007
Distribution: Slackware 12, Ubuntu 7.04
Posts: 11
Original Poster
Rep:
|
Yes, I just didnt write it down...I had to hand copy all that lol. Still wont let me connect to X server. Which sections of the xorg.conf file should i be focusing on?
Last edited by mcbeerbong; 10-25-2007 at 11:32 AM.
|
|
|
10-25-2007, 12:02 PM
|
#9
|
LQ Newbie
Registered: Oct 2007
Distribution: Slackware 12, Ubuntu 7.04
Posts: 11
Original Poster
Rep:
|
Does anyone have any ideas?
Last edited by mcbeerbong; 10-25-2007 at 12:05 PM.
|
|
|
10-25-2007, 12:51 PM
|
#10
|
Member
Registered: Dec 2004
Distribution: Slackware, Arch, FreeBSD
Posts: 202
Rep:
|
This is a good reason to backup configuration files when making changes. But onto your problem, what did you add to the configuration file just before it stopped working? May want to try removing those and/or setting them back to their default value. For the scroll wheel, you typically have to edit the directives:
Option "Protocol"
Option "ZAxisMapping"
under the InputDevice section that relates to your mouse.
Also, looking through /var/log/Xorg.0.log may provide some hints as to where the fault occurs.
If none of that works, you can always try to make a new xorg.conf by running xorgconfig as root.
|
|
|
All times are GMT -5. The time now is 11:17 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|