Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
07-28-2006, 04:00 PM
|
#1
|
Member
Registered: Jan 2004
Location: Oslo, Norway
Posts: 57
Rep:
|
Booting Slackware direct into GUI mode???
Hello friends,
I installed Slacware 10.2 on my system and that was perfect. Now I just to start Slackware direct into GUI mode not into prompt mode. I mean it should direct start into Xwindow system. Now I have to start GUI mode using startx command. Is it possible??
Thanks for your reply
Last edited by avols143; 07-28-2006 at 04:03 PM.
|
|
|
07-28-2006, 04:06 PM
|
#2
|
Senior Member
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519
Rep:
|
Hi avols,
Yes you can boot straight into the gui mode.
Just so that you are aware. Slackware defaults a fresh installation to run level "3" which is simply a boot prompt. At first I did not understand why, after using slackware for a few months now I see why and I actually like it.
Look in this thread here for "Going graphical" it will answer all of your questions on how to get to run level "4"
http://www.linuxquestions.org/questi...d.php?t=174447
|
|
|
07-28-2006, 04:07 PM
|
#3
|
Member
Registered: Oct 2002
Location: Scotland
Distribution: Debian
Posts: 214
Rep:
|
Easy, open & edit /etc/inittab, change the runlevel value from 3 to 4.
Note; remember to change this back to runlevel 3 if/when you install new graphics drivers (e.g. nvidia ones), although that's just my method just to make recovery easier if graphics drivers have any issues.
EDIT: Old_Fogie beat me to it! I also like to then configure KDE for auto logins.
Last edited by Mr Marmmalade; 07-28-2006 at 04:08 PM.
|
|
|
07-28-2006, 04:10 PM
|
#4
|
Member
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470
Rep:
|
You certainly can. You just need to edit /etc/inittab. It should look something like this...
Code:
# Default runlevel. The runlevels used by RHS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:
The line "id:5:initdefault:" should be changed to 5. Or is it 4? I can't ever remember and I'm not on a Slack system atm. Basically, change it to whatever is listed there.
Edit: I thought I was typing fast and still got beat to the answer! By the way, it is run level 4 in Slackware.
Last edited by Chromezero; 07-28-2006 at 04:12 PM.
|
|
|
07-28-2006, 04:35 PM
|
#5
|
Member
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 564
Rep: 
|
Alternatively, if you do not want to modify /etc/inittab, you can add a new default entry in your lilo.conf or grub menu.lst file.
The first two entries in my menu.lst are:
Code:
# (0) Slackware Current, /dev/hda2, GUI
title Slackware Current (on /dev/hda2)
kernel (hd0,0)/vmlinuz root=/dev/hda2 ro 4
# (1) Slackware Current, /dev/hda2, CL
title Slackware Current (on /dev/hda2 - command line)
kernel (hd0,0)/vmlinuz root=/dev/hda2 ro
Note the "4" at the end of the first stanza. This tells the system to start in GUI mode. If I want/need to go in on the CL, I can select the second option.
Regards,
Bill
|
|
|
07-28-2006, 04:58 PM
|
#6
|
Member
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470
Rep:
|
Great suggestion TSquaredF. I'd never even thought of doing something like that. Nor was I aware that you could do that. Thanks for posting it.
|
|
|
07-28-2006, 06:49 PM
|
#7
|
Senior Member
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482
|
|
|
|
All times are GMT -5. The time now is 11:45 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|