LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-28-2006, 03:00 PM   #1
avols143
Member
 
Registered: Jan 2004
Location: Oslo, Norway
Posts: 57

Rep: Reputation: 15
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 03:03 PM.
 
Old 07-28-2006, 03:06 PM   #2
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,519

Rep: Reputation: 63
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
 
Old 07-28-2006, 03:07 PM   #3
Mr Marmmalade
Member
 
Registered: Oct 2002
Location: Scotland
Distribution: Debian
Posts: 214

Rep: Reputation: 27
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 03:08 PM.
 
Old 07-28-2006, 03:10 PM   #4
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
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 03:12 PM.
 
Old 07-28-2006, 03:35 PM   #5
TSquaredF
Member
 
Registered: Dec 2005
Location: "The South Coast of Texas"
Distribution: Slackware64-current
Posts: 564

Rep: Reputation: Disabled
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
 
Old 07-28-2006, 03:58 PM   #6
Chromezero
Member
 
Registered: Nov 2004
Location: Arizona
Distribution: Slackware, RHEL, others
Posts: 470

Rep: Reputation: 40
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.
 
Old 07-28-2006, 05:49 PM   #7
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Perhaps the following will help:

Configuring Slackware for a GUI Startup-Part I
Configuring Slackware for a GUI Startup-Part II
Configuring Slackware for a GUI and a Command Line Startup
 
  


Reply



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
How do i swith from GUI mode to CLI mode in fedora core 3 tinfocoms Fedora 5 09-08-2005 07:23 AM
problem booting in GUI mode aquasika Linux - Newbie 3 04-01-2005 11:20 AM
Booting Slackware GUI? Noogie Linux - Newbie 2 01-21-2004 09:28 AM
slackware not booting a gui Darshu55 Slackware 4 10-17-2003 11:53 PM
Direct Connect in ACTIVE MODE??? eXor Linux - Networking 0 04-11-2002 08:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:44 PM.

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