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.
Before you do that though you have to configure X to your system.
As root type xorgconfig and follow the prompts. It will ask you for various info on your system such as mouse, keyboard, video card, monitor etc. It is important to collect this info first. You can get away with default/generic types for mouse and keyboard but make sure you know your video card specs and monitor specs. Try to find out your vertical and horizontal specs for the monitor before you start. After you save all the info you can adduser and login or just type startx and login with root to your already designated Windows Manager (usually KDE).
To change to a different windows manager type xwmconfig and select the one that you want.
just in the way of a little background, linux has different runlevels that determine which processes are run, etc etc. runlevel 0 mean everything is terminated, and you can switch off the power, runlevel 1 is the minimum services neccessary, and only root can log in. by default, slackware boots to runlevel 3, which is command prompt. from there, you can log in as any user, and the command startx will start the x server, which will run your preferred window manager (gnome, kde, fluxbox, etc). this is the preferred method. if, however, you want to boot to a graphical login screen, you can use a program like vi or emacs to edit your /etc/inittab file. open a terminal and do this:
su root
emacs /etc/inittab
and look for a line that looks like this:
# default runlevel
id:3:initdefault:
change the "3" to a "4", then save and quit. now when you restart your computer it will go straight to runlevel 4, which is graphical login screen. the danger here is that if your X server isn't properly configured (a very common problem), slackware will be unable to change to runlevel 4, but i believe if that happens it will simply dump you back out to command line. the only reason i like the graphical login personally, is the ability to change between various window managers. i've always been too lazy to look up the individual commands for starting them individually.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.