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 installed slackware 11 and install went well but i have no gui just command prompt. can anyone help.
type startx
PS: it's not a good idea to do this as root.
First creat a regular user:
*Log in as root
*type adduser
*answer the questions asked (mostly the username and password)
*type exit
*log in as your normal user and give its password
*type startx to start X (your GUI)
Unlike Fedora or other distros, Slack initializes in run level 3 (no GUI). You login with your user account (not root) at the prompt and then type in the command "startx" at the prompt. Your X interface will initialize at this point.
How did you install Slack? From d-loaded iso disks? If so, did you opt for the complete install or did you do a selective install. It's possible that you didn't install X at the time of your Slack install.
you'll need to edit your xorg.conf file. if you have access to another distro install that has your desired res working, you can use that distro's xorg.conf to give you some clues on what you need to edit.
To add to what charle97 says... you might also have to install 3rd party drivers. I could not get my normal resolution and screen refresh rate in Fedora without installing Nvidia drivers.
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054
Rep:
I am facing a weird problem. In my xorg.conf all resolution lists are:
"1152x863" "1280x1024" "1024x768"
But the xserver never uses 1152x864 (which is 1st priority in xorg.conf) but always uses 1280x1024. Now isn't 1280x1024 a larger resolution than 1152x864? Shouldn't a comp that is able to 1280x1024 be able to do 1152x864?
I have onboard 128 MB Intel Graphics which are correctly installed as in cwwilson's guide. glxgears works after startx
That was also my problem when i was a slackware noob. I assume you do a full install
Or at least, you have X and or KDE.
First you need to get your X configured, use "xorgconfig".
Log in as root, then run "xorgconfig"
*****************************************************************
OW! By the way, i haven't tried slackware 11 yet, and i heard
"xorgconfig" and xorg is for gnome, and slackware 11 has no gnome
I read from other post, the command is "xf86config"
JUST TRY IT!
********************************************************************
You need to read carefully on the menu, and if you don't have an idea, try guessing
You will be asked for you mouse, screen, etc, just try to figure out, anyway, you
can always reconfigure it.
When you're done, run "startx"
If it runs successfully, then you're OK, but if not, keep retrying, you know
It's a hardware thing, and poeple has different hardware. KEEP retrying until you
SUCCEED!
If you succeed, setup the default window manager, i forgot the command,
is it "xwmconfig", anyway, it sounds like that.
If you want to log in automatically to X Window system, edit your default
runlevel and set to 4
Edit /ect/inittab using joe or any text editor
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
Change it to:
# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:
After all the changes, and when you reboot, you will have a graphical login.
What if when you reboot, x doesn't start?
You need to use a bootable Linux CD, and boot with it, mount your newly installed linux, and restore what you've done in /etc/inittab
BEWARE!! DO IT AT YOUR OWN RISK!
I'm not a slackware geek, but i have successfully installed slackware on many
computers with different hardwares, what i did was KEEP ON TRYING. anyway, don't be afraid, slackware won't destroy your PC.
*****************************************************************
OW! By the way, i haven't tried slackware 11 yet, and i heard
"xorgconfig" and xorg is for gnome, and slackware 11 has no gnome
I read from other post, the command is "xf86config"
JUST TRY IT!
********************************************************************
Forget about xf86config please. That was the configurator for XFree86 which was removed from Slackware long time ago. It has nothing to do with Gnome at all. The "xorgconfig" program is the correct one to use for X.ORG which is the X version of Slackware.
By the way, Slackware has a preconfigured X that uses the VESA driver, which means that on most modern PC's you can simply start X with the "startx" command without having to run "xorgconfig" first!
Of course if you want to have the correct driver for your graphics card (to get hardware acceleration for instance) you need to re-configure your X using the "xorgconfig" command. The VESA driver is very generic, and works on virtuall all video cards, but it is not very fast.
Quote:
After all the changes, and when you reboot, you will have a graphical login.
What if when you reboot, x doesn't start?
You need to use a bootable Linux CD, and boot with it, mount your newly installed linux, and restore what you've done in /etc/inittab
Before setting your default runlevel to "4", you might want to check if that actually works before you edit /etc/inittab... if you edit that file and find out that your computer won't boot into X at all, you need more knowledge to fix the /etc/inittab file. Instead, try this first:
Being logged-on as root, run
Code:
init 4
This will change the computer's runlevel from 3 to 4 on the fly. And then see whether the graphical login manager starts. If that goes OK, you can edit your inittab file and reboot the PC.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.