SunQuest
           Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Try It Free
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old April 12th, 2002, 02:07 PM
true2u1 true2u1 is offline
ÐÊšîGñË®
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Posts: 66 true2u1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to true2u1 Send a message via AIM to true2u1
Starting KDE automatically

I installed the latest and greatest Slackware Linux 8.0 and everything is hunky dory. How can I config it to start KDE automatically so my female unit can start the durn thing and play games geek-free? The last version of Linux I had on a box was Cauldera and it started the GUI automatically.

Reply With Quote
  #2  
Old April 13th, 2002, 11:28 AM
telex4's Avatar
telex4 telex4 is offline
Wacky hack
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 512 telex4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 29 sec
Reputation Power: 8
Sorry if some of this is obvious to you..


GNU/Linux systems work with a series of "runlevels", which you can put the system into. Each runlevel represents the number of programs/services running. So there's a runlevel for booting, a runlevel for shutting down, a runlevel for being in the shell, and a runlevel for being in X.

Systems have one file which controls these runlevels by defining each one and what should be run in that runlevel (usually /etc/inittab). In Slackware I think runlevel 3 is the shell, and runlevel 4 (or 5?) is X.

What you need to do is open the runlevel file (/etc/inittab) and find what runlevel corresponds to X (KDE), and then find the line that tells your system what the default runlevel is, and change it to be the runlevel for X. So you change from:

id:3:initdefault:

To

id:4:initdefault:

Where that could be 4 or 5, I forget. Hope that helps

Reply With Quote
  #4  
Old April 15th, 2002, 08:34 AM
true2u1 true2u1 is offline
ÐÊšîGñË®
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2001
Posts: 66 true2u1 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 8
Send a message via ICQ to true2u1 Send a message via AIM to true2u1
Thanks for the info - for Slackware Linux, the inittab had notes in there explaining how to use each runlevel. For this installation, it was runlevel 4. Interestingly enough, booting directly into X gave me other options such as which window manager I could use as well.

Now if I can just get Samba to work....

Thanks again.

Reply With Quote
  #5  
Old April 15th, 2002, 10:22 AM
telex4's Avatar
telex4 telex4 is offline
Wacky hack
Dev Shed Novice (500 - 999 posts)
 
Join Date: Apr 2001
Location: London, England
Posts: 512 telex4 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 25 m 29 sec
Reputation Power: 8
That'll be because runlevel 4 tells your system to launch X, and a program called "KDM" (the KDE variant of "XDM" which is rarely used now), which is basically a graphical login system, replacing getty (the login system on the console). It also lets you choose which window manager/desktop environment you use, which is an easy way to experiment

If you go back to console mode (which can be done by typing "init 3" as root in a console whilst in X/KDE/GNOME etc), and then run "kdm" instead of "startx", you'll notice you get the same login screen again. The same goes for typing "init 4" in runlevel 3.

Oh and as for samba, if you're using KDE, and you at least have samba installed, KDE handles the smb protocol very nicely, so you can just type "smb://hostname" in a konqueror window and it'll browse the host for you much like in Windows. You can also use a program called "lisa" which I haven't tried yet but which is supposed to make it all even easier, letting you scan the network for hosts etc. It all makes learning samba an awful lot easier to begin with than trying to figure it out from the shell (though it's always worth learning how to use it in the shell as well )

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Starting KDE automatically


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway