Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-06-2005, 11:24 PM   #1
LQ Newbie
Registered: Jan 2005
Location: USA
Posts: 20

Rep: Reputation: 0
'startx' gives me a black screen on new slackware 10 install

i reinstalled slackware 10 on my computer, and it works perfectly fine until i startx, at which point, it just gives me a black screen. this is a completely new install, formatted and repartitioned, and tried with gnome, kde, xcef, fluxbox, all with the same result.

i've been primarily using windows, and since the last time i used slackware, i switched out my monitor for a secondhand 19" monitor (compaq mv940), no other hardware changes.

i had no problems at all with my 14" dell monitor (other than it being reeealy small), and i dont really have much experience with linux or xservers...any help would be greatly appreciated.
Old 01-07-2005, 12:11 AM   #2
LQ Guru
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
First check in /var/log/Xorg.9.log and/or /var/log/Xorg.0.log for any errors. It does not hurt to check $HOME/.xsession-errors. Also you may need to add a few Modeline in your xorg.conf. Go to to help you generate some Modelines. I suggest using 800x600 for starters and then increase to the desire resolution. Not all Xorg modules (drivers) work higher than 800x600. Though you did not tell us what video card you have.
Old 01-07-2005, 01:03 AM   #3
Registered: Apr 2004
Location: Canada
Distribution: OpenBSD 3.6, Slackware 10.1
Posts: 134

Rep: Reputation: 15
You could take a look at this thread:

One of my post, which is mine by the way explain how I do configure X, it might give you some hint and perhaps, why not, help you solve the problem.

I hope it helps
Old 01-07-2005, 05:38 AM   #4
Senior Member
Registered: Dec 2004
Distribution: Slackware, ROCK
Posts: 1,973

Rep: Reputation: 46
what vid card and drivers are you using. With my Geforce 4 and nvidia's newest driver (66xx-1.0) all i get is a black screen no matter what distro i use. Ended up having to roll back to the previous driver (6111-1.0).
Old 01-07-2005, 10:38 AM   #5
Registered: Dec 2003
Distribution: Gentoo / Sabayon / Suse
Posts: 245

Rep: Reputation: 32
if you have x running, stop it and enter the shell.
then type, I believe you have to be root to run the command:
X -configure
this will autoconfigure your xorg.conf file.
to test the settings, just type
X -config /root/
usually you will get the X server up and running, and can press CTRL+ALT+BACKSPACE to kill it.
if not, you will have to modify the config file. just play around with the until it works.

when it works, just type
cp /root/ /etc/X11/xorg.conf
now you can reboot and the X server and your windowmanager should start

Last edited by ZaphyR; 01-07-2005 at 10:40 AM.
Old 01-07-2005, 09:59 PM   #6
LQ Newbie
Registered: Jan 2005
Location: USA
Posts: 20

Original Poster
Rep: Reputation: 0
i'm using an nvidia geforce 2 ultra, and i DID get it working now. apparently, due to the new monitor i'm using, startx right after the slackware install just gives me a black screen from which i can't do anything. ctrl+alt+del does nothing, ctrl+alt+backspace does nothing,.

someone mentioned trying xorgconfig, so I did, which overwrote the original config file from installation, and that's got it working now.


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
Black Screen with startx BDTyre Linux - Newbie 8 06-04-2005 08:47 AM
Startx results in a black screen with VGA and screen errors kwosource Linux - Newbie 4 03-11-2005 02:58 PM screen. bumjubeo Linux - Newbie 8 01-27-2005 10:13 PM
startx --> black screen (slackware10, geforce4mx64mb) Sinope Linux - Newbie 10 08-09-2004 02:38 PM
black screen when try startx Brian_CC Slackware 8 10-15-2003 06:06 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:47 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration