LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 06-05-2009, 01:43 AM   #1
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Rep: Reputation: 15
cannot connect to X server


after following a previous forum on how to get the scroll wheel on my mouse to work here: http://humanreadable.nfshost.com/sde...heel-mouse.htm

I restarted KDE and not I get a big error message stating it's unable to connect to X server. All I did was add

Code:
Section "InputDevice"
 Identifier "Mouse0"
 Driver "mouse"
 Option "Protocol"    "auto"
 Option "Device"     "/dev/input/mice"
 Option "Buttons"     "5"
 Option "ZAxisMapping"  "4 5"
 Option "CorePointer"
 Option "SendCoreEvents" "true"
in xorg.conf

Can anyone help me out on this? I know it's something simple. I had everything running beautiful with slack 12.2 for the second time in two days, and now this happens after the second install.
 
Old 06-05-2009, 02:25 AM   #2
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
You could try swapping "auto" on protocol to "IMPS/2"

but it's hard to say. What's the error message you get when you try to start X. If you could give us a snip from the bottom of /var/log/Xorg.0.log, it would be easier to say exactly what's wrong
 
Old 06-05-2009, 02:44 AM   #3
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Original Poster
Rep: Reputation: 15
Quote:
You could try swapping "auto" on protocol to "IMPS/2"

but it's hard to say. What's the error message you get when you try to start X. If you could give us a snip from the bottom of /var/log/Xorg.0.log, it would be easier to say exactly what's wrong
I swapped "auto with "IMPS/2" but nothing.

I'm using another computer for this forum but I can type it all the errors.

Quote:
xauth: creating new authority file /root/.serverauth.3537

X.Org X Server 1.4.2
Release Date: 11 June 2008
X Protocol Version 11, Revision 0
Build Operating System: Slackware 12.1 Slackware Linux Project
Current Operating System: Linux darkstar 2.6.27.7-smp #2 SMP Thu Nov 20 22:32:43 CST 2008 i686
Build Date: 30 June 2008 11:35:29PM

Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Jun 4 12:32:47 2009
(==) Using config file: "/etc/X11/xorg.conf"
Parse error on line 277 of section InputDevice in file /etc/X11/xorg.conf
"mouse" is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
giving up.
xinit: Connection reset by peer (errno 104): unable to connect to X server
xinit: No such process (errno 3): Server error.
That's what it gives me word for word.
 
Old 06-05-2009, 02:48 AM   #4
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
Parse error on line 277 of section InputDevice in file /etc/X11/xorg.conf
"mouse" is not a valid keyword in this section.

Is this line 277 of xorg.conf?
Driver "mouse"

I can't see anything wrong with that line. Is there a "EndSection" after every section in the config file?
 
Old 06-05-2009, 02:56 AM   #5
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Original Poster
Rep: Reputation: 15
Quote:
Is this line 277 of xorg.conf?
Driver "mouse"
I used "vi" to find the line and it say's
Code:
Identifier "Mouse1"mouse
but I don't remember touching that line before

Quote:
I can't see anything wrong with that line. Is there a "EndSection" after every section in the config file?
There is an "EndSection" after every section.

By the way, how can I escape in "vi" in the command prompt? I'm kind of use to "pico".
 
Old 06-05-2009, 03:03 AM   #6
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Original Poster
Rep: Reputation: 15
actually scratch that "vi" thing. I found it online and the command is :q! to exit without saving changes. lol
 
Old 06-05-2009, 03:06 AM   #7
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Original Poster
Rep: Reputation: 15
Whoa! I can't believe that deleting that extra "mouse" word on line 277 made it worse. I think X starts now but it's nothing but a black screen.
 
Old 06-05-2009, 03:24 AM   #8
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Original Poster
Rep: Reputation: 15
I did install a ati driver for my video card. I have a ATI Tech Inc RV610 LE AGP [Radeon HD 2400 PRO AGP]. The log file was stored in /usr/share/ati. After it installed it gave me a message at the end.

Quote:
if the X Server fails to load on the next attempt, run 'aticonfig--initial-f' from the console.

Note: this will remove all device/monitor/screen sections in your X Server configuration file).
Anyways, I ran 'aticonfig--initial-f' and slackware didn't recognize the command.

What can I do to configure my video card settings correctly?
 
Old 06-05-2009, 03:50 AM   #9
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 14.1
Posts: 446

Rep: Reputation: 59
Did you backup the original xorg.conf file? I think it might me easier to start all over :P
If not, you could try this:
xorgconfig
As root to configure manually, or:
Xorg -configure
To make Xorg automaticly generate a new config file. It will be stored in /root/

I have no experience with ati-drivers, so I can't help you with them. Usually it's enough to make a working xorg.conf file, and edit xorg by hand to change the driver
 
Old 06-05-2009, 03:53 AM   #10
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Original Poster
Rep: Reputation: 15
Ok, I almost fixed my server.

so far I did this:
Code:
cd /lib/modules/fglrx/build_mod
sh make.sh
cd ..
sh make_install.sh
I got to the last line of the code and it gave me a FATAL error.

Quote:
-recreating module dependency list
-trying a sample load of the kernel modules
FATAL: Error inserting fglrx (/lib/modules/2.6.27.7-smp/kernel/drivers/char/drm/fglrx.ko): Unknown symbol in module, or unknown parameter (see dmesg)
failed
As you can see this is pretty much all that is holding me back from getting my X server up and running again.

Any input would be greatly appreciated.
 
Old 06-05-2009, 04:01 AM   #11
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Original Poster
Rep: Reputation: 15
Quote:
Did you backup the original xorg.conf file? I think it might me easier to start all over :P
unfortunately I did not make a back up file, but I think I fixed it. It doesn't give me any more error messages, just a black screen and flash of color before it goes blank.

Quote:
Usually it's enough to make a working xorg.conf file, and edit xorg by hand to change the driver
I think your totally right, I just wish I knew how. So right now I'm following the directions posted as a sticky thread on top of the forums page to get your ati driver to work properly from shilo. I just hope I can get this video card to work correctly.
 
Old 06-05-2009, 07:55 AM   #12
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,845

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Are you running in "init 4" instead of the default "init 3"? If you are, root has no authority to start an x session in "init 4". That may be the problem.
 
Old 06-05-2009, 11:33 AM   #13
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Original Poster
Rep: Reputation: 15
Quote:
Are you running in "init 4" instead of the default "init 3"?
I don't recall, but I've seen that somewhere. How would I change it back to init 3?
 
Old 06-05-2009, 12:16 PM   #14
em21701
Member
 
Registered: Feb 2008
Location: Rhode Island, USA
Distribution: Slackware12.2 & Slackware64-current
Posts: 265

Rep: Reputation: 40
Stupid question, did you include an "EndSection" after the "Section" you added?

Edit: should have read more thoroughly, this has already been asked.

Last edited by em21701; 06-05-2009 at 12:18 PM.
 
Old 06-05-2009, 12:22 PM   #15
mattydee
Member
 
Registered: Dec 2006
Location: Vancouver, BC
Distribution: Debian,Ubuntu,Slackware
Posts: 479

Rep: Reputation: 48
If you want to start over from scratch, maybe run xorgsetup
 
  


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
realvnc server installed on fed9 attempting to connect to server from windows desktop nataloi Linux - General 1 04-21-2009 09:31 AM
Unix-connect: can't connect to server jrdioko Linux - Software 1 01-08-2006 04:56 PM
Suddenly unable to connect to my web server and my ftp server. HELP! Silly22 Linux - Software 4 05-23-2004 04:42 PM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 12:32 AM

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

All times are GMT -5. The time now is 05:18 PM.

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