SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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...
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.
@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)
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.
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...
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.