LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 10-06-2007, 10:56 AM   #1
Linkhiei
LQ Newbie
 
Registered: Feb 2006
Location: Portland, OR
Distribution: debian etch
Posts: 28

Rep: Reputation: 15
Xorg.conf is edited on restart? x-server fails to start


Hihi everyone. I am having a problem where everytime I restart my debian etch, my x-server will not start. I have the proprietary nvidia drivers installed. I beleive that the xorg.conf might be being edited on startup (I could be totally wrong about this), which could be causing this problem.

There is a line in the startup that makes me think this:
Code:
Removing NVIDIA TLS Links
All I have to do to fix my problem is run the nvidia drivers install and make sure it writes to my xorg.conf file. Everything works fine after this. But then, once I restart my computer, x cannot start again.

My xorg.conf file currently looks like this (this is the file while x-server is running correctly):


Code:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Wed Sep 12 14:29:35 PDT 2007

# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg
#Section "InputDevice"
#        Identifier    "Configured Mouse"
#        Driver        "mouse"
#    Option        "Protocol"        "evdev"
#    Option        "Dev Name"        "Logitech USB-PS/2 Optical Mouse"
#    Option        "Dev Phys"        "usb-*/input0"
#        Option        "Device"        "/dev/input/event3"
#    Option        "Buttons"        "10"
#    Option        "ZAxisMapping"        "4 5"
#EndSection

Section "ServerLayout"

# Uncomment if you have a wacom tablet
#	InputDevice     "stylus"	"SendCoreEvents"
#	InputDevice     "cursor"	"SendCoreEvents"
#	InputDevice     "eraser"	"SendCoreEvents"
    Identifier     "Default Layout"
    Screen         "Default Screen" 0 0
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "Files"
EndSection

Section "Module"
    Load           "glx"
EndSection

Section "InputDevice"
    Identifier     "Generic Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc105"
    Option         "XkbLayout" "us"
EndSection

Section "InputDevice"
    Identifier     "Configured Mouse"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "true"
EndSection

Section "InputDevice"
    Identifier     "stylus"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "stylus"
    Option         "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "eraser"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "eraser"
    Option         "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "InputDevice"
    Identifier     "cursor"
    Driver         "wacom"
    Option         "Device" "/dev/input/wacom"
    Option         "Type" "cursor"
    Option         "ForceDevice" "ISDV4"		# Tablet PC ONLY
EndSection

Section "Monitor"
    Identifier     "HW191D"
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "nVidia Corporation NV43 [GeForce 6600]"
    Driver         "nvidia"
EndSection

Section "Screen"
    Identifier     "Default Screen"
    Device         "nVidia Corporation NV43 [GeForce 6600]"
    Monitor        "HW191D"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1440x900" "1280x1024" "1280x960" "1152x864" "1024x768" "832x624" "800x600" "720x400" "640x480"
    EndSubSection
EndSection
o__O Sorry if I don't give a quick response, I am leaving the house for a while.

Last edited by Linkhiei; 10-06-2007 at 10:57 AM.
 
Old 10-06-2007, 12:20 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 167Reputation: 167
Hi Linkhiei, I believe you'll find the answer to your problem here.

http://www.leverkruid.eu/linux-laptop/index.html

Good luck. ;-)
 
Old 10-07-2007, 10:49 AM   #3
Linkhiei
LQ Newbie
 
Registered: Feb 2006
Location: Portland, OR
Distribution: debian etch
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks much for the reply! Sorry for taking so long to reply, I've been at my friend's house.


Anyways, I tried that page and it didn't fix my problem, but it was quite useful in helping me search for answers to my problem.

For future reference, this is how I fixed it:

Of course, when I started up x-server was not working. I reinstalled the nvidia drivers again, but this time instead of going into my graphical login afterwards, I decided to do the following:

I edited the nvidia-glx file:
Code:
nano /etc/init.d/nvidia-glx
Then, there was a section that said:
Code:
echo -n "Removing NVIDIA TLS links..."
 remove the symlinks
rm -f /usr/lib/tls/libGL.so
rm -f /usr/lib/tls/libGL.so.*
rm -f /usr/lib/tls/libGL.la
rm -f /usr/lib/tls/libGLcore.so.*
rm -f /usr/lib/tls/libnvidia-tls.so
rm -f /usr/lib/tls/libnvidia-tls.so.*
 reconfigure dynamic linker run-time bindings
ldconfig
echo " done."
I just commented out that entire section by adding the pound signs so that it looked like this:

Code:
#echo -n "Removing NVIDIA TLS links..."
# remove the symlinks
#rm -f /usr/lib/tls/libGL.so
#rm -f /usr/lib/tls/libGL.so.*
#rm -f /usr/lib/tls/libGL.la
#rm -f /usr/lib/tls/libGLcore.so.*
#rm -f /usr/lib/tls/libnvidia-tls.so
#rm -f /usr/lib/tls/libnvidia-tls.so.*
# reconfigure dynamic linker run-time bindings
#ldconfig
#echo " done."
Saved the file by hitting F3. Then after the file was saved, I just restarted and everything was working perfectly!

Last edited by Linkhiei; 10-07-2007 at 10:50 AM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
scripting help: how to restart an application that fails to start sometimes? murray_linux Linux - Software 16 06-27-2007 03:13 PM
Xorg.conf Server flag what is it? jacook Linux - General 2 05-23-2006 02:55 AM
can't start x, xorg.conf read only, no root access doublez Linux - General 2 11-16-2005 02:49 PM
X Server (xorg 6.8.2) restart problems yitzhakbg Linux - Software 3 10-13-2005 08:26 PM
Samba server ok at boot, later fails to bind to IP. smbd restart doesn't help. tisource Linux - Networking 1 04-09-2005 08:16 AM


All times are GMT -5. The time now is 11:47 AM.

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