LinuxQuestions.org
Review your favorite Linux distribution.
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 07-14-2006, 07:21 PM   #1
Dachy
Member
 
Registered: Apr 2004
Location: san diego, ca
Distribution: Slackware 12.1
Posts: 99

Rep: Reputation: 15
x server not starting up now


suddenly, as if out of no where... when i reboot, my x server fails to start up. . here's the log:

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/natasha:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.9.0
Release Date: 21 December 2005
X Protocol Version 11, Revision 0, Release 6.9
Build Operating System: Linux 2.4.32 i686 [ELF]
Current Operating System: Linux natasha 2.6.16.16 #1 PREEMPT Thu May 18 21:20:55 CEST 2006 i686
Build Date: 02 May 2006
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: Fri Jul 14 09:16:20 2006
(==) Using config file: "/etc/X11/xorg.conf"
Data incomplete in file /etc/X11/xorg.conf
InputDevice section "Mouse1" must have a Driver line.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at http://wiki.X.Org
for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.

(WW) xf86CloseConsole: VT_GETSTATE failed: Bad file descriptor
(WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
(WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor






any ideas? i checked out my xorg.conf and it all looks pretty normal to me..

here's my xorg.conf:





# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 1.0 (buildmeister@builder3) Mon May 15 13:23:42 PDT 2006

# File generated by videoconfig
# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************
# **********************************************************************
# Server flags section.
# **********************************************************************
# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************
# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************
# **********************************************************************
# Monitor section
# **********************************************************************
# **********************************************************************
# Graphics device section
# **********************************************************************
# Any number of graphics device sections may be present
# **********************************************************************
# Screen sections
# **********************************************************************
# **********************************************************************
# ServerLayout sections.
# **********************************************************************

Section "ServerLayout"
Identifier "Simple Layout"
Screen "Videoconfig" 0 0
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"
EndSection

Section "Module"
Load "dbe" # Double buffer extension
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection
Load "type1"
Load "freetype"
#Load "speedo"
Load "glx"
EndSection

Section "InputDevice"

# Option "Protocol" "Xqueue"
# Option "AutoRepeat" "500 5"
# Option "Xleds" "1 2 3"
# Option "XkbDisable"
# Option "XkbOptions" ""
Identifier "Keyboard1"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
# Option "XkbVariant" ""
EndSection

Section "InputDevice"

# Identifier and driver
# Option "BaudRate" "9600"
# Option "SampleRate" "150"
# Option "Emulate3Buttons" "false"
# Option "Emulate3Timeout" "50"
# Option "ChordMiddle"
Identifier "Mouse1"
# Option "CorePoint"
Option "Protocol" "Auto"
Option "Device" "/dev/mouse"
# Option "Protocol" "Xqueue"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor1"
VendorName "SAM"
ModelName "SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection

Section "Device"
Identifier "Videocard1"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName "NV31 [GeForce FX 5600]"
EndSection

Section "Screen"
Identifier "Videoconfig"
Device "Videocard1"
Monitor "Monitor1"
DefaultDepth 24
SubSection "Display"
Depth 8
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 32
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
 
Old 07-14-2006, 07:28 PM   #2
jstephens84
Senior Member
 
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
try running xorgconfig and setting everything back up again.
 
Old 07-14-2006, 07:37 PM   #3
Tennessee Jed
LQ Newbie
 
Registered: Jun 2006
Location: Slackware
Distribution: Slackware ,,, you mean there are other distros?
Posts: 6

Rep: Reputation: 0
Your server layout is at the beginning.

Nothing is defined when this section is parsed.

Try moving it to the end.

There may be other errors, but this is the glaring one.
 
Old 07-14-2006, 07:55 PM   #4
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Quote:
Originally Posted by Tennessee Jed
Your server layout is at the beginning.

Nothing is defined when this section is parsed.

Try moving it to the end.

There may be other errors, but this is the glaring one.

Makes no difference, mine is also at the beginning.

The mouse lines contain no Driver "mouse" line, that's the problem.
 
Old 07-14-2006, 10:35 PM   #5
Dachy
Member
 
Registered: Apr 2004
Location: san diego, ca
Distribution: Slackware 12.1
Posts: 99

Original Poster
Rep: Reputation: 15
well i just remembered that recently i was messing with the mouse settings and probably deleted that line.. i have another problem now. when i boot up, it starts to boot the x server but then it seems that the computer goes into power save mode. someone brought to my attention this:

Section "Device"
Identifier "Videocard1"
VendorName "nVidia Corporation"
BoardName "NV5M64 [RIVA TNT2 Model 64/Model 64 Pro]"
Driver "nv"
BusID "PCI:1:0:0"
#Option "FPScale" "false"
VideoRam 32768
EndSection

so i want to go ahead and add that/edit it but i dont know how to bypass booting to graphical mode.. i want to boot into terminal mode so i can get some work done... how can i do this?
 
Old 07-14-2006, 11:02 PM   #6
FreeDoughnut
Member
 
Registered: Jun 2006
Distribution: Slackware 10.2, Debian Testing/Unstable, Ubuntu Breezy Badger, working on LFS
Posts: 228

Rep: Reputation: 30
Edit /etc/inittab. Make the runlevel 3.
 
Old 07-14-2006, 11:05 PM   #7
Dachy
Member
 
Registered: Apr 2004
Location: san diego, ca
Distribution: Slackware 12.1
Posts: 99

Original Poster
Rep: Reputation: 15
i have no way to edit /etc/initab... it keeps booting into graphical mode automatically.
 
Old 07-14-2006, 11:18 PM   #8
FreeDoughnut
Member
 
Registered: Jun 2006
Distribution: Slackware 10.2, Debian Testing/Unstable, Ubuntu Breezy Badger, working on LFS
Posts: 228

Rep: Reputation: 30
Boot from the install CD. Don't you have a WM or something that you could use for a few minutes to edit 1 file?
 
Old 07-14-2006, 11:56 PM   #9
Dachy
Member
 
Registered: Apr 2004
Location: san diego, ca
Distribution: Slackware 12.1
Posts: 99

Original Poster
Rep: Reputation: 15
i'm sorry but i've only booted with the install cd once before and mounted my linux partition to edit something...can you walk me through the steps real quickly please? appreciate your help, thank you!
 
Old 07-15-2006, 06:48 AM   #10
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
Boot your Slackware CD 1, login as root, then
Code:
mkdir /anything
now mount your slackware partition on the /anything dir we just created
Code:
mount -t fstype /dev/hdXy /anything
(you know your fstype i presume and partition number so you can replace it in the example above) , then after the partition is mounted edit the /anything/etc/inittab file by either using vi which is the default texteditor on the boot cd if my memory helps me, either by using your favourite text editor you wore using on your slack system like this
Code:
/anything/usr/bin/pico
replace pico with whatever editor you like and know you have it installed. GL.


*EDIT*

Come to think of it, that sounds like the hard part, but it was the first that came in my mind. You can also do this:When booting your system, at the LILO prompt you can pass the 'telinit 3' parameter and it will boot your system straight into runlevel 3. Now, let's say you named your slackware installation 'Linux' when you installed lilo. After your system name add 'telinit 3' with a space between them just like this:
Code:
Linux telinit 3
Replace Linux if you have another name for it.

Last edited by nykey; 07-15-2006 at 07:00 AM.
 
Old 07-15-2006, 11:50 AM   #11
Dachy
Member
 
Registered: Apr 2004
Location: san diego, ca
Distribution: Slackware 12.1
Posts: 99

Original Poster
Rep: Reputation: 15
okay so i got all the changes made but when i startup now, it'll get to the point of starting xwindows but now the screen goes blank, and seems to go into powersave mode.. im at a total lost as to how to fix this!
 
Old 07-15-2006, 12:21 PM   #12
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
I've seen in your xorg.conf you have Nvidia card with driver installed, just run nvidia-xconfig , and try runing X again. you could even completly remove your /etc/X11/xorg.conf before running nvidia-xconfig to allow the utility to write the config file top to bottom.
 
Old 07-15-2006, 12:36 PM   #13
Dachy
Member
 
Registered: Apr 2004
Location: san diego, ca
Distribution: Slackware 12.1
Posts: 99

Original Poster
Rep: Reputation: 15
wow, this is becomign so frustrating.

okay so i did get xwindows to start by reverting to a backup of my xorg.conf (the one before i actually installed the nvidia drivers) i tried changing "Driver 'nv'" to "Driver 'nvidia'" but it still did the blank screen thing. So with "Driver 'nv'" everything works just fine. So I figured I'd just download the NVIDIA drivers and reinstall them but then i got this error:

ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).

any ideas for this new problem?
 
Old 07-15-2006, 12:47 PM   #14
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 -current
Posts: 2,300

Rep: Reputation: 90
Try changing the driver to "vesa" just to get it working again. You can tinker from there.
 
Old 07-15-2006, 01:18 PM   #15
nykey
Member
 
Registered: Nov 2003
Posts: 360

Rep: Reputation: 30
Did you upgraded/recompiled your kernel or gcc ? I got this error message when using gcc-4.x
 
  


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
starting xprogram without starting X server. bruse Linux - Newbie 9 04-26-2005 07:05 PM
X server don't starting. poisoner Slackware 4 07-11-2004 11:57 AM
Starting a server... CrAzY G Linux - General 7 04-13-2004 02:02 PM
starting X server? Squall Slackware 5 04-02-2004 10:12 AM
X server not starting manthram Linux - General 1 06-28-2002 03:43 PM

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

All times are GMT -5. The time now is 02:37 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