LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-12-2003, 01:13 AM   #1
gauge73
Member
 
Registered: Jan 2003
Location: Dallas, TX
Distribution: Fedora Core 4
Posts: 420

Rep: Reputation: 30
Startup Scripts?


I'm curious about what scripts are run when someone logs in and when the computer starts up. There are two things that I'm specifically interested in...

1) How to NOT use the graphical login program (plain text owns)
2) How to edit how users log in (shell, plain X, KDE, etc)

I guess I'm looking for a login script for each user and a script that determines what login program is used. If these are stupid questions, then give me what answers you think are the most relevant to what I'm wanting to do.

Thanks a bunch in advance. It's not easy being a newbie.
 
Old 12-12-2003, 01:33 AM   #2
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
Check out www.tldp.org and look through some of the howtos on the subject(s).

/etc/inittab for console login over graphical runlevels.

Not sure what you mean by the rest. Also not sure how RH scripts work - they're pretty weird. If you like mucking with files and booting to text mode, you should be using Slack. lilo/grub.conf, inittab, scripts in /etc/rc.d, scripts in /etc/X11 - things like /etc/profile and ~/.bash_profile and ~/.bashrc control shell configuration - but init invokes agetty invokes login. That's somewhat standard, I guess. A console run level and an ~/.xinitrc will usually handle plain X or get you there directly, anyway. Whereas I think Xsession or some such - and various xdm/gdm/kdm files - control the display manager, but I don't use those.
 
Old 12-12-2003, 02:00 AM   #3
timdsmith
Member
 
Registered: Nov 2003
Location: The Colony, TX
Distribution: Slackware, Debian Etch, FreeBSD, MicroSh*t free.
Posts: 209

Rep: Reputation: 30
To get plain text login, open /etc/inittab
modify
id:5:initdefault:

to where it reads

id:3:initdefault:
 
Old 12-12-2003, 03:03 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE 42.1_64+Tumbleweed-KDE, Mint 17.3
Posts: 4,065

Rep: Reputation: Disabled
For a more comprehensive read on startup routines: From Powerup to Bash-Prompt. Have fun.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Startup Scripts?? jimbo-62 Debian 5 07-10-2005 11:23 AM
startup scripts... ValidiusMaximus Linux - Software 8 01-11-2005 06:55 PM
Startup Scripts jhartney Linux - Newbie 3 01-07-2005 02:35 AM
startup scripts mimi Linux - General 1 04-24-2002 04:22 AM
X Startup Scripts JHuizingh Linux - General 1 09-18-2001 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration