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.
- very latest slackware, downloaded from the website just 2 days ago
- bareapci.i kernel
- fluxbox window manager
- 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...
gzip /etc/X11/xorg.conf (save it in case)
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?
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.
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)
post ur xorg.conf file and the specs of ur system
video card and monitor etc etc
Um, did you ever try Xorg -configure as root? xf86config thing is obsolete now and has been for a long time.
then copy the file in /root/xorg.conf.new to /etc/X11/xorg.conf
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:
and only use root for system maintenance. there should never be a reason to log into X as root, never, never.
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... :confused:
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...
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 ? :)
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
$ modinfo guess | less
$ modprobe whatever_looks_good
wait a minute is the "ALPS GlidePoint" a usb device becuase then its going to be in the usb section not char.
anyway you will have to find out what module supports your touchpad and load it. google would be the easiest way.
nonono, there's a touchpad because the computer is a notebook. :p
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? :confused:
Oooh okay, forget about that "what is" :p
Now I just need to find it in my system... ;)
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.
|All times are GMT -5. The time now is 04:27 AM.|