LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices

Reply
 
Search this Thread
Old 07-10-2008, 03:15 PM   #1
Tkdrg
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Rep: Reputation: 0
Error while quitting X in Slackware 12.1


I've installed slackware 12.1 yesterday and it worked as expected. After some tests everything was working. When I tried to exit X with Ctrl-Alt-Backspace to change my WM, the system crashed and I could only see a totally black screen ( no it isn't bash, it is totally black ). Anything else do not show any problem. The same computer with Slackware 11 didn't have this error. Any ideas?
 
Old 07-10-2008, 04:13 PM   #2
askalon9f2
LQ Newbie
 
Registered: Feb 2008
Location: Antwerp, Belgium
Distribution: Slackware 12.2, slamd64 12.1
Posts: 18

Rep: Reputation: 0
Hi,


Assuming your hardware is identical with both versions of slackware (11 & 12.1) , and it is still functioning correctly;
the only thing that comes to mind is a modified/different X configuration, or perhaps a change in video drivers (ATI/nVidia/...) you installed/configured.
What do your system and X logs write about the crash ?
 
Old 07-10-2008, 04:25 PM   #3
Tkdrg
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Original Poster
Rep: Reputation: 0
It is the same hardware, the same xorg.conf and the same driver with the same video. The X server logs the same as it logged in 11, too. The only difference is the crash. Maybe it is about software versions.

EDIT: Now I can't shutdown it by software on X. Only by pulling the energy cable from the PC. Everything is allright in console, so I can't see what's happening.

Last edited by Tkdrg; 07-10-2008 at 06:23 PM.
 
Old 07-11-2008, 12:26 PM   #4
askalon9f2
LQ Newbie
 
Registered: Feb 2008
Location: Antwerp, Belgium
Distribution: Slackware 12.2, slamd64 12.1
Posts: 18

Rep: Reputation: 0
I think it's time for someone with more experience/knowledge to step in here, as I'm somewhat out of suggestions.
Only thing that comes to mind is perhaps running X with extra debug/verbosity flags and checking that output,
or perhaps modifying your xorg.conf to try and find the offending module/driver/option.

Hope this helps , and best of luck

Ben
 
Old 07-11-2008, 01:06 PM   #5
Tkdrg
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Well, here's my xorg.conf:
Code:
Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
EndSection

Section "Files"
    RgbPath      "/usr/X11R6/lib/X11/rgb"
    ModulePath   "/usr/X11R6/lib/modules"
    FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
    FontPath     "/usr/X11R6/lib/X11/fonts/TTF/"
    FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
    FontPath     "/usr/X11R6/lib/X11/fonts/CID/"
    FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
    FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
    Load  "glx"
    Load  "extmod"
    Load  "ddc"
    Load  "GLcore"
    Load  "dbe"
    Load  "dri"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
   Option       "CoreKeyboard"
   Option       "XkbRules"  "xorg"
    Option       "XkbModel"  "abnt2"
    Option       "XkbLayout"  "br"
    Option       "XkbVariant"  "abnt2"
    Option       "XkbOptions"  "abnt2"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol" "auto"
    Option      "Device" "/dev/mouse"
    Option      "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
 Option "DPMS" "true"
    VendorName   "_[_"
    ModelName    "_[_7f7f"
    HorizSync    28.0 - 96.0
   VertRefresh  50.0 - 75.0
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"               # [<bool>]
        #Option     "HWCursor"              # [<bool>]
        #Option     "SWCursor"              # [<bool>]
        #Option     "ShadowFB"              # [<bool>]
        #Option     "Rotate"                # [<str>]
        #Option     "UseBIOS"               # [<bool>]
        #Option     "LCDClock"              # <freq>
        #Option     "ShadowStatus"          # [<bool>]
        #Option     "CrtOnly"               # [<bool>]
        #Option     "TvOn"                  # [<bool>]
        #Option     "PAL"                   # [<bool>]
        #Option     "ForceInit"             # [<bool>]
        #Option     "Overlay"               # [<str>]
        #Option     "TransparencyKey"       # [<str>]
        #Option     "ForceInit"             # [<bool>]
        #Option     "DisableXVMC"           # [<bool>]
        #Option     "DisableTile"           # [<bool>]
        #Option     "DisableCOB"            # [<bool>]
        #Option     "BCIforXv"              # [<bool>]
        #Option     "DVI"                   # [<bool>]
        #Option     "BusType"               # [<str>]
        #Option     "DmaType"               # [<str>]
        #Option     "DmaMode"               # [<str>]
        #Option     "AGPMode"               # <i>
        #Option     "AGPSize"               # <i>
    Identifier  "Card0"
    Driver      "vesa"
    VendorName  "All"
    BoardName   "All"
#   BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    SubSection "Display"
        Depth     8
        Modes "1280x1024" "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1280x1024" "1024x768" "800x600"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1280x1024" "1024x768" "800x600"
    EndSubSection
EndSection

Section "DRI"
 Mode 0666
EndSection
 
Old 07-11-2008, 04:16 PM   #6
marneson
LQ Newbie
 
Registered: Dec 2006
Posts: 5

Rep: Reputation: 0
I have the same problem when I try to use drivers from ATI. My vesa drivers work ok. Have you tried to disable DRI? Possibly glx too and see what happens.
 
Old 07-11-2008, 04:42 PM   #7
Wekker
LQ Newbie
 
Registered: Jul 2008
Posts: 4

Rep: Reputation: 0
Disable Ctrl+Alt+Backspace from Restarting X Windows and use GDM

Quote:
Originally Posted by Tkdrg View Post
When I tried to exit X with Ctrl-Alt-Backspace to change my WM, the system crashed and I could only see a totally black screen ( no it isn't bash, it is totally black ). Anything else do not show any problem. The same computer with Slackware 11 didn't have this error. Any ideas?

Disable Ctrl+Alt+Backspace from Restarting X Windows and use GDM to select windowmanagers, by logout and login with gdm you can select an other wm.

And this line to your xorg.conf in the section "ServerFlags":

Option "DontZap" "yes"


and issue the command gdm on the commandline


(Slackware 11 was still using a very stable 2.4 kernel )
 
Old 07-11-2008, 04:51 PM   #8
Tkdrg
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Well, I've tried removing DRI and GLX, but nothing changed. I do not want to use login managers, I prefer using the console. Actually, I only use X for a few things, like playing some games or using Firefox (for flash, etc). I spend most of the time on the console. I'm testing the DontZap now.

EDIT: Now Ctrl-Alt-Backspace do not work, nothing happens. That was the idea?

Last edited by Tkdrg; 07-11-2008 at 04:56 PM.
 
Old 07-20-2008, 10:18 AM   #9
heinblöd
Member
 
Registered: May 2004
Location: France
Distribution: Slackware Gentoo
Posts: 185

Rep: Reputation: 31
Quote:
Originally Posted by Tkdrg View Post

EDIT: Now Ctrl-Alt-Backspace do not work, nothing happens. That was the idea?
That's what he meant.
But it sounds more like a console driver prob.
Can you boot into rl2 without anyprobs ?
Maybe add vga=normal to lilo.conf
 
Old 07-21-2008, 09:28 AM   #10
Tkdrg
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Well, I'm already using vga=normal. I think that it may have something to do with those drivers, since nethack, aalib, libcaca and svgalib are messing up my console.
 
Old 07-22-2008, 03:43 PM   #11
heinblöd
Member
 
Registered: May 2004
Location: France
Distribution: Slackware Gentoo
Posts: 185

Rep: Reputation: 31
But what happens when you boot into rl2, without having any X started?
 
Old 07-23-2008, 08:27 AM   #12
symatic
Member
 
Registered: May 2007
Distribution: Slackware
Posts: 242

Rep: Reputation: 32
This may not apply, but in -current they have a updated mesa driver 7.0.3 I would give that a try and see what happens. It does sound like a framebuffer issue, but like you said you do not use that. This is about all the advice I can give. Why are you using alt+ctrl+backspace?

Slackware does not use gdm, does not have gnome.
 
Old 07-23-2008, 12:24 PM   #13
Tkdrg
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Original Poster
Rep: Reputation: 0
Without X, the system works without any error. I only use X for playing a few games, most of time I use only the console, so I start and close X many times.
 
Old 07-23-2008, 11:21 PM   #14
heinblöd
Member
 
Registered: May 2004
Location: France
Distribution: Slackware Gentoo
Posts: 185

Rep: Reputation: 31
I had a similar prob when i used the open source ati driver. Everytime i switched back to console, the screen was black or sometimes scrambled.
I was gone with the closed-source ati driver .
What kind of Gpu do you have ?
If you use a ati or nvidia card maybe try another driver ,.
 
Old 07-26-2008, 11:15 AM   #15
Tkdrg
LQ Newbie
 
Registered: Apr 2008
Posts: 7

Original Poster
Rep: Reputation: 0
I'm using an onboard SiS gpu.
 
  


Reply

Tags
error, slackware


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
Quitting Smoking masonm General 62 04-04-2008 06:10 AM
Rhythmbox quitting on me cneal Linux - Software 2 10-27-2004 11:28 AM
kppd quitting with error code 16 Pico_01 Linux - Laptop and Netbook 1 07-01-2004 08:05 PM
Quitting X distortedstar Linux - Hardware 6 03-25-2004 03:39 PM
Quitting X lokee Linux - Newbie 3 02-03-2003 06:12 PM


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