Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 07-01-2003, 07:43 AM   #1
LQ Newbie
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Distribution: Mandrake 9.1
Posts: 2

Rep: Reputation: 0
User Specific Startup scripts

I have just finished installing Mandrake 9.1 and I was wondering.....

Is it possible to have user specific login scripts?

Basically what I want to do is have the users login with the CLI login prompt, then depending on the user, run startx.

I want root and my user account to NOT start X, but the other 2 start x automatically after logging in.

Is this possible?

Any guidance for this Linux newbie will be greatly accepted
Old 07-01-2003, 12:57 PM   #2
Registered: May 2003
Location: Nashville TN, USA
Distribution: Debian (I'm unstable)
Posts: 117

Rep: Reputation: 15
there are a number of user specific startup scripts, depending on the shell the user has. for example, bash uses the ~/.bashrc file. ~/.profile is also used. if you look at the man page for the shell, it should mention what file (and in what order) are read.
Old 07-02-2003, 06:33 PM   #3
LQ Newbie
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Distribution: Mandrake 9.1
Posts: 2

Original Poster
Rep: Reputation: 0

I just edited the ~/.bash_profile script and now my two users pop right into X, while root and my login start with the CLI.

Thanks much. I appreciate it.


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 iomari SUSE / openSUSE 2 10-19-2005 01:38 AM
Startup Scripts jhartney Linux - Newbie 3 01-07-2005 01:35 AM
Startup scripts celticselph Slackware 5 04-08-2004 07:23 AM
Help Needed: Looking for specific php software/scripts flamesrock Linux - Software 5 01-19-2004 03:42 PM
X Startup Scripts JHuizingh Linux - General 1 09-18-2001 01:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:37 AM.

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