Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-29-2007, 09:15 PM   #1
LQ Newbie
Registered: Dec 2007
Posts: 1

Rep: Reputation: 0
Question (tty1) no GUI slackware 12

hi I am having some trouble, I installed slackware 12 but when I start it up I don't get a GUI I just get a console session that says darkstar login then I log in as root with my password but just get a command line. Help I really want to know how to get the KDE desktop.
Old 12-29-2007, 09:55 PM   #2
Registered: Dec 2007
Location: Slightly left of center
Distribution: slackware
Posts: 276
Blog Entries: 2

Rep: Reputation: 44
You need to know a bit about your hardware, specifically your graphics card and monitor.

For your monitor, find out its horizontal and vertical sync ranges, and the resolutions it supports.
All of this should be in your monitor's user guide or find it online for your specific monitor.

Then find out if your graphics card is supported by xorg, and which driver to use.
Visit and/or search for xorg and your card.

Note that some ATI and nVidia cards have proprietary drivers available for Linux, if you want 3D acceleration for those cards you may wish to use those drivers. has links to them, if you wish. The proprietary drivers may patch the kernel, review the requirements and installation instructions for more detail.

As a generic fallback, you can always use the VESA driver, it will work with virtually any card, though you may not get the best performance or resolutions that you will with other drivers.

Once all of that is done, type xorgconfig on the command line.

Follow all of the instructions in the menus that appear, entering the information as it appears.

When all of that is done, and you have told xorgconfig to write a new xorg.conf, then change directory to /etc/X11/xinit
Copy xinitrc.kde to xinitrc

Then type startx and you should be off and running.

If all of that is successful, you may wish to start KDE when you start Slackware.
Do that by editing /etc/inittab and changing the default run level to from 3 to 4.
Then entry should look like this: id:4:initdefault:
Do that only after you're happy with all of the X configuration settings.

Search this forum for more details about editing your xinitrc and xorg.conf files.
Old 12-29-2007, 10:44 PM   #3
Registered: Apr 2007
Location: Vietnam
Distribution: Slackware
Posts: 38

Rep: Reputation: 15
If that's the first time you start your Slackware system after installation, then you need to edit /etc/inittab as follow :
Find the line :

And edit to:

The default init mode of Slackware is text mode, not graphic mode.
Old 12-29-2007, 10:49 PM   #4
Alien Bob
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,313

Rep: Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491Reputation: 5491
Please do not change that file /etc/inittab before you have ensured that your X will actually start!

Slackware ships with a X server configuration by default which should support nearly every available video card (using the VESA driver), so running the "startx" command right after logging in for the very first usually works.
By collecting the specs for your video card and monitor, and running the "xorgconfig" command, you can tune your X configuration to use a driver that is specifically written for your video card, which will make X run much smoother and faster.

Old 12-29-2007, 11:25 PM   #5
Senior Member
Registered: Dec 2004
Location: In my house.
Distribution: Ubuntu 10.10 64bit, Slackware 13.1 64-bit
Posts: 2,649
Blog Entries: 1

Rep: Reputation: 66
Personally, I've had very good luck with 'xorgsetup' rather than 'xorgconfig'.

xorgsetup TRIES to automatically recognize your video card and monitor (Does a great job with my Nvidia card and HP monitor.)

Just putting out there that for a newbie, xorgsetup may be easier.


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
using crontab how to show on tty1 or from GUI "xterm". hocheetiong Linux - Newbie 4 12-16-2007 06:44 PM
LXer: GliBench SMP - a GUI based benchmarking tool to check your computer's performan LXer Syndicated Linux News 0 08-19-2007 09:20 PM
utf-8 in slackware 11.0 cyrillic font only on tty1 __saint Slackware 1 06-22-2007 12:40 PM
9.1 Slackware SMP.S? jss Slackware 4 11-30-2003 10:58 AM
SMP on slackware? andy_lee Linux - Hardware 3 01-17-2003 05:22 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:34 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration