LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 01-08-2004, 12:39 PM   #1
tranquil.au
LQ Newbie
 
Registered: Dec 2003
Posts: 18

Rep: Reputation: 0
HELP : my salckware 8.1 cant boot into a GUI


I need some help on the way to get my Slackware 8.1 to boot straight into a GUI. and wgen i use the command startx... the gui i get is crap... i would like some help on getting it to go into either KDE , Gnome or fluxbox (they are all installed) and also a graphical login :-)

thanks.

Luke.
 
Old 01-08-2004, 12:41 PM   #2
Whitehat
Senior Member
 
Registered: Feb 2003
Location: The Cold North
Distribution: SuSE 9.1
Posts: 1,289

Rep: Reputation: 46
You probably need to run xf86config to configure X windows for your monitor, video card and etc.....



Peace,
Whitehat
 
Old 01-08-2004, 12:42 PM   #3
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Reconfigure X first with xf86config to put in your correct settings for your hardware.

Then simply edit your /etc/inittab file and change it to runlevel 4 instead of 3 to boot into X at startup.
 
Old 01-08-2004, 12:47 PM   #4
tranquil.au
LQ Newbie
 
Registered: Dec 2003
Posts: 18

Original Poster
Rep: Reputation: 0
i can startx .
i want to know how to boot into a gui though... my X works
i want to know how to go into either KDE , Gnome or fluxbox (they are all installed) and also a graphical login :-) because my window manager by default isnt very nice :-)

ta tricky

Last edited by tranquil.au; 01-08-2004 at 12:49 PM.
 
Old 01-08-2004, 01:21 PM   #5
Skitzo
LQ Newbie
 
Registered: Aug 2003
Location: Beyond the third Van-Allen belt
Distribution: Slackware,Gentoo
Posts: 25

Rep: Reputation: 15
this is for slack 9.0-9.1, but I assume it is the same:

the easiest and quickest way would be to boot to runlevel 4 which runs kdm, gdm, or xdm in a gui that has a menu to select your session manager. edit inittab (on my sys line 24) "id:3:initdefault:" to "id:4:initdefault" in the default runlevel section. personally I like to make a soft link (ln -s) in my home dir .xinitrc -> xinitrc.gnome (ln -s /etc/X11/xinit/xinitrc.gnome ~/.xinitrc). look in /etc/X11/xinit, these are the scripts that startx calls to run the session manager. when you have a .xinitrc in your home, startx will look for this first and run it (if it doesn't find it it will look for /etc/X11/xinit/xinitrc next which would be the global default). just switching the soft link around to the other scripts is fairly quick and easy. I don't like runlevel 4 because you kind of get trapped in a gui. I hope this is correct, if I am wrong please correct me.

oh ya, to try runlevel 4 out temporarily run: "telinit 4"

Last edited by Skitzo; 01-08-2004 at 01:45 PM.
 
Old 01-08-2004, 03:56 PM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Yeah, it looks real slick to have a graphical login, but if you ever have any trouble then you are stuck in a loop where you can neither logout or boot. If you're going to set default to runlevel 4, be sure you have a rescur disk like tomsrtbt so you can boot wiht that and change /etc/inittab to runlevel 3 again. The ONLY times I have ever crashed Linux has been as a result of bad configuration of X. ext2fs will recover, maybe once or twice, but after that... Speaking of that, xf86config is the best utility for configuration of x. If you run xf86cfg or xfree86setup, they may produce an incomplete XF86Config file. If the mouse is not working, then there you are without even being able to use CTRL+ALT+BACKSPACE to kill X. This means powerbutton and damaged file system. If you use reiser file system you'll have better chances of recovering. I'd much rather type startx each time than have to reistall and configure a system.
 
Old 01-08-2004, 04:15 PM   #7
ac1980
Member
 
Registered: Aug 2003
Location: Trento, Italy
Distribution: Debian testing
Posts: 394

Rep: Reputation: 30
->gnashley
Actually, if you find yourself in trouble, you can always boot into single-user mode by launching "linux single" at lilo/grub prompt (assuming "linux" is your boot entry label)
 
Old 01-09-2004, 01:46 AM   #8
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
To change from window manager run xwmconfig and choose the one you want. If you are already in X you'll need to restart X in order for the change to take effect.
 
  


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
salckware 10.0 guest on VMware 4.52 cameleonul1 Slackware 2 02-13-2005 11:47 PM
Boot problem with salckware please help me New In Linux 11 Linux - Newbie 8 07-23-2004 08:37 PM
gxine failed in salckware 9.1 salahuddin_66 Slackware 2 05-21-2004 10:03 PM
Salckware logon problem borkbork Slackware 2 02-20-2003 11:00 AM
salckware-current? epic Linux - Software 1 05-30-2001 06:31 AM

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

All times are GMT -5. The time now is 01:50 AM.

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