LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-11-2005, 06:55 AM   #1
artificialGekko
Member
 
Registered: Mar 2005
Posts: 77

Rep: Reputation: 15
startx crashes computer


I just finished installing Slack and booted the whole thing, logged in as root and created a user-account. Now when I try to start X the screen turns black with only a few lines of distorted white pixels at the top border - nothing working anymore. I already tried switching back to textmode with ctrl+alt+number, but that doesn't work. It crashes both when I'm logged in as root or as user.

Specs:

- very latest slackware, downloaded from the website just 2 days ago
- bareapci.i kernel
- fluxbox window manager

hardware:

- Sony Vaio FX-401 notebook

I know this is a very basic description of the problem, but I don't have the slightest clue about what that may be or what I could do to test or check anything, I don't even know if I can start some kind of "safe mode" or anything...
 
Old 03-11-2005, 08:47 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
try :
gzip /etc/X11/xorg.conf (save it in case)

xorgcfg -textmode
 
Old 03-11-2005, 09:25 PM   #3
kriton12
Member
 
Registered: Oct 2002
Posts: 81

Rep: Reputation: 16
Sounds like there is a problem with your X configuration file. You should be able to boot into text mode so I would suggest doing this:

login to tty1 (the normal text login terminal)
press Alt+F2 which will switch you to the second text terminal where you can log in again (this time as root)
check /var/log/messages noting the last entry and time as well as /var/log/Xorg.*.log

switch back to terminal 1 (Alt + F1) and type startx which produces the crash. Now you can flip back to terminal 2 and recheck the logs. This should give you an idea of what failed. Most likely it is either your video adapter or some type of input device. If you can find out what is making your system crash and give some more info we can go from there. It may be as simple as setting a new driver name. If you still can't switch back to a terminal try killing X with Ctrl+Alt+Backspace

Oh and 2 questions, did you try upgrading slack? Are you using a kernel you compiled yourself?
 
Old 03-12-2005, 06:43 AM   #4
artificialGekko
Member
 
Registered: Mar 2005
Posts: 77

Original Poster
Rep: Reputation: 15
I just tried configuring my xorg.conf for a while now, with the following results:

- run "xorgconfigure" but couldn't tell most of the things I needed to enter there. At this point I'd like to thank Sony for not stating things like the refresh-rates of their screens *any*where, and I googled a lot for it.

- put my backup of the xorg.conf back in place after X wouldn't want to start anymore at all only giving error-messages
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.


@Kriton12:
I logged in to tty1 and tty2, started X in one of them to produce the crash but could not switch back nor kill anything. Alt+F2 did not work, Ctrl+Alt+Del, Ctrl+Alt+Backspace and stuff didn't either.

I didn't upgrade Slackware but installed it completely new and for the first time.
I'm using the unmodified bareapci.i that came along with the package... (10.1)
 
Old 03-12-2005, 06:55 AM   #5
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
post ur xorg.conf file and the specs of ur system
video card and monitor etc etc

regards
 
Old 03-12-2005, 07:41 AM   #6
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
Um, did you ever try Xorg -configure as root? xf86config thing is obsolete now and has been for a long time.

$Xorg -configure

then copy the file in /root/xorg.conf.new to /etc/X11/xorg.conf

then startx
 
Old 03-12-2005, 07:55 AM   #7
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
then after that works, and you have verified that startx works. you can then edit the /etc/X11/xorg.conf to you liking, resolution, refresh, scrolling mouse, whatever.

also since you seem new, don't be running around your machine as root. It's a security and safety issue. just bad practice that a lot of people get caught up in. make an account with:

$ adduser

and only use root for system maintenance. there should never be a reason to log into X as root, never, never.
 
Old 03-12-2005, 08:23 AM   #8
artificialGekko
Member
 
Registered: Mar 2005
Posts: 77

Original Poster
Rep: Reputation: 15
Thanks for the advice so far, I don't plan on running around as root if unneccesary - actually that's the reason why I left Win

Kay, I tried Xorg -configure, but still when I test it it comes up with a black screen (this time without the distorted pixels at the upper border of the screen I meantioned in previous posts on this thread) and won't do anything anymore, no chance to switch back to console.

However, it gives me this message after generating the xorg.conf.new file:

Xorg is not able to detect your mouse.
Edit the file and correct the Device.


I don't know the specs for the touchpad of this computer or any of it's specs at all. Sony's pretty reclusive with the information too, the technical details in the 20 page (!) "user's manual" are ridiculous and remind me of the "what you bought is a computer. fin" kind of information you get in a supermarket. I googled for hours now but basic things like the refresh rates and stuff are nowhere to be found...

Can you tell me *how* to configure that file? Embarrassingly I don't even know how to edit a file in console. I'm using "less" to display it and I'll google and take a look at all kinds of man-pages to see how I can edit files now I guess...

The xorg.conf.new:

Code:
Section "ServerLayout"
  Identifier "X.org Configured"
  Screen 0 "Screen0" 0 0
  InputDevice "Mouse0" "CorePointer"
  InputDevice "Keyboard0" "CoreKeyboard"
End Section

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 "record"
  Load "extmod"
  Load "dbe"
  Load "glx"
  Load "xtrap"
  Load "freetype"
  Load "type1"
EndSection

Section "InputDevice"
  Identifier "Keyboard0"
  Driver "kbd"
EndSection

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

Section "Monitor"
  Identifier "Monitor0"
  VendorName "Monitor Vendor"
  ModelName "Monitor Model"
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 "accel" # [<bool>]
  #Option "crt_display" # [<bool>]
  #Option "composite-sync" # [<bool>]
  #Option "hw_cursor" # [<bool>]
  #Option "linear" # [<bool>]
  #Option "mmio_cache" # [<bool>]
  #Option "test_mmio_cache" # [<bool>]
  #Option "panel_display" # [<bool>]
  #Option "probe_clocks" # [<bool>]
  #Option "reference_clock" # <freq>
  #Option "shadow_fb" # [<bool>]
  #Option "sw_cursor" # [<bool>]
  Identifier "Card0"
  Driver "ati"
  VendorName "ATI"
  BoardName "Rage Mobility P/M AGP 2x"
  ChipSet "ati"
  ChipID 0x4c4d
  ChipRev 0x64
  BusID "PCI :1 :0 :0"
EndSection

Section "Screen"
  Identifier "Screen0"
  Device "Card0"
  Monitor "Monitor0"
  SubSection "Display"
    Viewport 0 0
    Depth 1
  EndSubSection
  SubSection "Display"
    Viewport 0 0
    Depth 4
  EndSubSection
  SubSection "Display"
    Viewport 0 0
    Depth 8
  EndSubSection
  SubSection "Display"
    Viewport 0 0
    Depth 15
  EndSubSection
  SubSection "Display"
    Viewport 0 0
    Depth 16
  EndSubSection
SubSection "Display"
    Viewport 0 0
    Depth 24
  EndSubSection
EndSection
 
Old 03-12-2005, 08:29 AM   #9
artificialGekko
Member
 
Registered: Mar 2005
Posts: 77

Original Poster
Rep: Reputation: 15
One more thing I just found:

The touchpad of my laptop seems to be the "ALPS GlidePoint"

The website http://thierry.fedorawiez.free.fr/vaio/fx401.html says:

XFree86 provides support for the ALPS GlidePoint and it works. I have defined the touchpad as the "CorePointer" and my USB mouse as "SendCoreEvents". So, I can use the touchpad and the mouse at the same time.

What does this translate to concerning my xorg.conf ?
 
Old 03-12-2005, 08:47 AM   #10
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
So you have a mouse and a touchpad? sorry i don't have a touchpad, so i'm not sure. However, I believe it is built as a module in slack and has to be loaded before you run Xorg -configure for X to pick it up.

All the char mods are in /lib/modules/2.4.29/kernel/drivers/char so you will have to find which one is for your touchpad and load. But first you have to find it.

$ cd /lib/modules/2.4.29/kernel/drivers/char

$ ls

$ modinfo guess | less

$ modprobe whatever_looks_good

then

$Xorg -configure

then

$ startx
 
Old 03-12-2005, 08:51 AM   #11
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
wait a minute is the "ALPS GlidePoint" a usb device becuase then its going to be in the usb section not char.
 
Old 03-12-2005, 08:54 AM   #12
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
anyway you will have to find out what module supports your touchpad and load it. google would be the easiest way.
 
Old 03-12-2005, 08:54 AM   #13
artificialGekko
Member
 
Registered: Mar 2005
Posts: 77

Original Poster
Rep: Reputation: 15
nonono, there's a touchpad because the computer is a notebook.

I don't have a regular mouse at all so far, though I eventually wanna use an USB logitech mouse sometime.

Do you know that that "XFree86" is?
 
Old 03-12-2005, 09:01 AM   #14
artificialGekko
Member
 
Registered: Mar 2005
Posts: 77

Original Poster
Rep: Reputation: 15
Oooh okay, forget about that "what is"
Now I just need to find it in my system...
 
Old 03-12-2005, 09:05 AM   #15
chbin
Member
 
Registered: Mar 2005
Distribution: slackware-current
Posts: 379

Rep: Reputation: 31
XFree86 is obsolete now. no one uses it anymore. Xorg started their own tree from XFree86 because people were unhappy with XFree86's progress.

google for you device and see what module covers it then load it and you shouldn't have any problems, the module for the device has to be loaded otherwise X can't see it of course.
 
  


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
openGL computer crashes??? king_scott_2 Linux - Hardware 2 07-19-2005 07:12 PM
computer crashes while compiling thrice Slackware 6 01-02-2004 04:59 PM
XFCE crashes when i startx. kriep Slackware 1 12-06-2003 11:31 PM
startx crashes 19802974 Linux - Newbie 7 08-13-2002 03:07 AM
startx crashes divekar Linux - Software 1 11-22-2000 06:49 PM

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

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