Go Back   openSUSE Forums > Archives > SF Archives > ARCHIVES - Install/Boot
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Install/Boot Questions about installation or problems booting SUSE Linux

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 19-May-2008, 08:10
aluengas
Guest
 
Posts: n/a
Default

Hello,

I just broke x again by installing the nvidia driver and configuring it. I used "the hard way" because the yast + repositories method didn't work for me, the one click install didn't work either.

Whenever I try to login as a non-root user(kde) it gives me a loading icon and then it just shows me a small windowed command prompt. The window manager for this command prompt looks old school(os2 ish). Under this I have tried "startx" which tells me to "delete /tmp/X11/.X0-lock" which I then proceeded to delete. Then I tried "startx" again and I got my desktop. BUT I cannot logout and log back in or restart without having to do this.

BTW: if I log in as root from kde I can get in no problem, also, I cannot use the default vesa driver because I use 2 screens with my nVidia card.

Thanks in advance,
-Andre
  #2 (permalink)  
Old 19-May-2008, 16:19
swerdna
Guest
 
Posts: n/a
Default

Try this experiment: Create a new user (easy to delete user later) and see if you can log on as that user without the problem.
  #3 (permalink)  
Old 21-May-2008, 10:10
aluengas
Guest
 
Posts: n/a
Default

Yes I have tried different users already installed but, I havent tried making another user to try it. My gut says this wont work, but it also says it can't hurt. Ill give it a shot.
  #4 (permalink)  
Old 21-May-2008, 14:23
swerdna
Guest
 
Posts: n/a
Default

I don't think that will help either, it's just a thing that popped into my mind. The X11 lock file is probably set up in the previous session and associated with you (probably). Notice that it's in the /tmp directory. It probably should clear/delete when you log off or reboot. But it doesn't, which is a bug that's specific to you for some strange reason. Simplest thing is to auto-delete it before runlevel 5 (the X level) is invoked. So try putting this line in the local boot script (boot.local) at /etc/init.d/boot.local
Code:
rm /tmp/X11/.X0-lock
or if that doesn't work try this force version:
Code:
rm -f /tmp/X11/.X0-lock
That might be a permamnet fix of an odd problem that seems to be just affectining you.

Swerdna
  #5 (permalink)  
Old 22-May-2008, 08:19
aluengas
Guest
 
Posts: n/a
Default

Yes creating new users didn't work. Thanks for the tip, I didn't know you could do that to the boot.local, but then again, I should have known linux works that way.
  #6 (permalink)  
Old 22-May-2008, 14:04
swerdna
Guest
 
Posts: n/a
Default

Quote:
Yes creating new users didn't work. Thanks for the tip, I didn't know you could do that to the boot.local, but then again, I should have known linux works that way.
[/b]
Just clarify for me: did that work?
  #7 (permalink)  
Old 22-May-2008, 20:50
aluengas
Guest
 
Posts: n/a
Default

I actually hadn't tested it at the time of my last post. I just thought that was a good idea. No, It did not work. But, I feel I haven't explained this in enough detail.

Here is the complete console output:

Code:
xauth: creating new authority file /home/user_name/.serverauth.4038


Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock and start again

Couldnt get a file descriptor referring to the console
I should have explained that X was actually running just not showing the desktop.

Quote:
Server is already active for display 0[/b]
This confirms X is already running, BUT, it is configured for 2 monitors so??? could that be causing confusion.

But again, No, it dosnt work.
  #8 (permalink)  
Old 22-May-2008, 21:52
swerdna
Guest
 
Posts: n/a
Default

Quote:
I should have explained that X was actually running just not showing the desktop.
This confirms X is already running, BUT, it is configured for 2 monitors so??? could that be causing confusion.
[/b]
Avenue 1: Sure worth a try. Maybe go back to 1 monitor so maybe you can at least get a GUI at boot time. Then sort it out.

Avenue 2: I'm now confused by your references: first it's /tmp/X11/.X0-lock then later it's /tmp/.X0-lock. If the latter is correct, can you boot and then get the message and then get a GUI by executing as root the command
rm -f /tmp/.X0-lock then get the GUI with startx.
If you can then the boot.local thing might work with that variant. But avenue 1 looks better to me.

So there's two avenues to investigate.

Swerdna
  #9 (permalink)  
Old 23-May-2008, 17:16
aluengas
Guest
 
Posts: n/a
Default

My original post
Quote:
/tmp/X11/.X0-lock[/b]
was incorrect.
It is: /tmp/.X0-lock

At boot time it goes through to runlevel 5, then, displays kde's grapgical login. Once I enter the user's credentials it displays what I assume to be the desktop bacground(because none of my users have changed thier desktop backgrounds from default) without any icons or a taskbar/start menu. Instead of those things it displays a non-standard kde window(its grey and it looks like an old school Apple II window manager) for console input.

I did try changing the boot.local and unfortuantly that didn't work.

I really wanna use two screens !
  #10 (permalink)  
Old 24-May-2008, 15:47
aluengas
Guest
 
Posts: n/a
Thumbs up

Here is a copy of my "/etc/X11/xorg.conf" which the "NVIDIA X Server Settings" applet of the Nvida driver writes to. I am assuming the problem is with this file since it is the only one I have modified(albeit indirectly).

Code:
Section "ServerLayout"
****Identifier**** "Layout[all]"
****Screen******0**"Screen0" 0 0
****InputDevice****"Keyboard[0]" "CoreKeyboard"
****InputDevice****"Mouse[1]" "CorePointer"
****Option******** "Clone" "off"
****Option******** "Xinerama" "off"
EndSection

Section "Files"
****InputDevices******"/dev/gpmdata"
****InputDevices******"/dev/input/mice"
****FontPath********"/usr/share/fonts/misc:unscaled"
****FontPath********"/usr/share/fonts/local"
****FontPath********"/usr/share/fonts/75dpi:unscaled"
****FontPath********"/usr/share/fonts/100dpi:unscaled"
****FontPath********"/usr/share/fonts/Type1"
****FontPath********"/usr/share/fonts/URW"
****FontPath********"/usr/share/fonts/Speedo"
****FontPath********"/usr/share/fonts/PEX"
****FontPath********"/usr/share/fonts/cyrillic"
****FontPath********"/usr/share/fonts/latin2/misc:unscaled"
****FontPath********"/usr/share/fonts/latin2/75dpi:unscaled"
****FontPath********"/usr/share/fonts/latin2/100dpi:unscaled"
****FontPath********"/usr/share/fonts/latin2/Type1"
****FontPath********"/usr/share/fonts/latin7/75dpi:unscaled"
****FontPath********"/usr/share/fonts/baekmuk:unscaled"
****FontPath********"/usr/share/fonts/japanese:unscaled"
****FontPath********"/usr/share/fonts/kwintv"
****FontPath********"/usr/share/fonts/truetype"
****FontPath********"/usr/share/fonts/uni:unscaled"
****FontPath********"/usr/share/fonts/CID"
****FontPath********"/usr/share/fonts/ucs/misc:unscaled"
****FontPath********"/usr/share/fonts/ucs/75dpi:unscaled"
****FontPath********"/usr/share/fonts/ucs/100dpi:unscaled"
****FontPath********"/usr/share/fonts/hellas/misc:unscaled"
****FontPath********"/usr/share/fonts/hellas/75dpi:unscaled"
****FontPath********"/usr/share/fonts/hellas/100dpi:unscaled"
****FontPath********"/usr/share/fonts/hellas/Type1"
****FontPath********"/usr/share/fonts/misc/sgi:unscaled"
****FontPath********"/usr/share/fonts/xtest"
****FontPath********"/opt/kde3/share/fonts"
EndSection

Section "Module"
****Load********** "dbe"
****Load********** "type1"
****Load********** "freetype"
****Load********** "extmod"
****Load********** "glx"
EndSection

Section "ServerFlags"
****Option******** "AllowMouseOpenFail" "on"
****Option******** "Xinerama" "0"
EndSection

Section "InputDevice"
****Identifier**** "Keyboard[0]"
****Driver******** "kbd"
****Option******** "Protocol" "Standard"
****Option******** "XkbLayout" "us"
****Option******** "XkbModel" "microsoftpro"
****Option******** "XkbRules" "xfree86"
EndSection

Section "InputDevice"
****Identifier**** "Mouse[1]"
****Driver******** "mouse"
****Option******** "Buttons" "5"
****Option******** "Device" "/dev/input/mice"
****Option******** "Name" "Logitech M-UV69a Optical Wheel Mouse"
****Option******** "Protocol" "explorerps/2"
****Option******** "Vendor" "Sysp"
****Option******** "ZAxisMapping" "4 5"
EndSection

Section "Modes"
****Identifier******** "Modes[0]"
****ModeLine**** "1280x1024" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync
EndSection

Section "Monitor"
****Identifier**** "Monitor[0]"
****VendorName**** "SAM"
****ModelName******"SAMSUNG SYNCMASTER"
****UseModes****** "Modes[0]"
****DisplaySize**** 338****270
****HorizSync****** 30.0 - 81.0
****VertRefresh**** 43.0 - 75.0
****Option******** "CalcAlgorithm" "XServerPool"
****Option******** "DPMS"
EndSection

Section "Monitor"
****Identifier**** "Monitor0"
****VendorName**** "Unknown"
****ModelName******"Samsung SyncMaster"
****HorizSync****** 30.0 - 81.0
****VertRefresh**** 56.0 - 75.0
EndSection

Section "Monitor"
****Identifier**** "Monitor1"
****VendorName**** "Unknown"
****ModelName******"Samsung SyncMaster"
****HorizSync****** 0.0 - 0.0
****VertRefresh**** 0.0
EndSection

Section "Device"
****Identifier**** "Device[0]"
****Driver******** "nvidia"
****VendorName**** "VESA"
****BoardName******"Framebuffer Graphics"
****BusID**********"0:16:0"
EndSection

Section "Device"
****Identifier**** "Videocard0"
****Driver******** "nvidia"
****VendorName**** "NVIDIA Corporation"
****BoardName******"GeForce 7150 / NVIDIA nForce 630i"
EndSection

Section "Device"
****Identifier**** "Videocard1"
****Driver******** "nvidia"
****VendorName**** "NVIDIA Corporation"
****BoardName******"GeForce 7150 / NVIDIA nForce 630i"
****BusID**********"PCI:0:16:0"
****Screen**********1
EndSection

Section "Screen"
****Identifier**** "Screen[0]"
****Device******** "Device[0]"
****Monitor********"Monitor[0]"
****DefaultDepth****24
****SubSection**** "Display"
********Depth****** 15
********Modes******"1280x1024" "1152x864" "1024x768" "800x600"
****EndSubSection
****SubSection**** "Display"
********Depth****** 16
********Modes******"1280x1024" "1152x864" "1024x768" "800x600"
****EndSubSection
****SubSection**** "Display"
********Depth****** 24
********Modes******"1280x1024" "1152x864" "1024x768" "800x600"
****EndSubSection
****SubSection**** "Display"
********Depth****** 8
********Modes******"1280x1024" "1152x864" "1024x768" "800x600"
****EndSubSection
EndSection

Section "Screen"

#Removed Option "TwinView" "0"
# Removed Option "metamodes" "CRT: 1280x1024 +0+0; CRT: 1152x864 +0+0; CRT: 1024x768 +0+0; CRT: 800x600 +0+0"
# Removed Option "TwinViewXineramaInfoOrder" "CRT-0"
# Removed Option "metamodes" "CRT: 1280x1024 +0+0, DFP: nvidia-auto-select +1486+617; CRT: 1152x864 +0+0; CRT: 1024x768 +0+0; CRT: 800x600 +0+0"
# Removed Option "TwinViewXineramaInfoOrder" "DFP-0"
# Removed Option "metamodes" "CRT: 1280x1024 +1467+738, DFP: nvidia-auto-select +0+0; CRT: 1152x864 +0+0, DFP: NULL; CRT: 1024x768 +0+0, DFP: NULL; CRT: 800x600 +0+0, DFP: NULL"
# Removed Option "metamodes" "CRT: 1280x1024 +1280+333, DFP: nvidia-auto-select +0+0; CRT: 1152x864 +0+0, DFP: NULL; CRT: 1024x768 +0+0, DFP: NULL; CRT: 800x600 +0+0, DFP: NULL"
****Identifier**** "Screen0"
****Device******** "Videocard0"
****Monitor********"Monitor0"
****DefaultDepth****24
****Option******** "TwinView" "1"
****Option******** "TwinViewXineramaInfoOrder" "CRT-0"
****Option******** "metamodes" "CRT: 1280x1024 +1280+678, DFP: nvidia-auto-select +0+0; CRT: 1152x864 +0+0, DFP: NULL; CRT: 1024x768 +0+0, DFP: NULL; CRT: 800x600 +0+0, DFP: NULL"
EndSection

Section "Screen"
****Identifier**** "Screen1"
****Device******** "Videocard1"
****Monitor********"Monitor1"
****DefaultDepth****24
****Option******** "TwinView" "0"
****Option******** "metamodes" "DFP: nvidia-auto-select +0+0"
EndSection
If anyone sees anything suspicious or flat out wrong with this conf file PLEASE tell me!

Thanks,
-Andre
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2