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 04-12-2004, 02:10 PM   #1
Registered: Feb 2003
Posts: 47

Rep: Reputation: 15
startx on sign-on

Im using slackware and I would like to, after I log-in, startx with out having to type 'startx' every time. Theres bound to be a script thats run right away, I just don't know what it is, and if its safe to alter it.

also when I exit, and want to reboot, i have to su into root to reboot. Its kind of annoying. I tried changing permissions on reboot and halt, but to no avail. Any suggestions??

Old 04-12-2004, 02:26 PM   #2
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379
you need to edit your "/etc/inittab"... your runlevel is probably set at 3, if so, change it to 4, like this:

# Default runlevel. (Do not set to 0 or 6)

Last edited by win32sux; 04-12-2004 at 02:35 PM.
Old 04-12-2004, 02:30 PM   #3
Senior Member
Registered: Jan 2004
Location: Oregon, USA
Distribution: Slackware
Posts: 1,246

Rep: Reputation: 59
In /etc/inittab change id:3:initdefault: to id:4:initdefault: That will cause linux to boot directly into X. If you want to still boot to console by default then you can add a line to /etc/profile (for all users) or ~/.bashrc (for you only) to call startx.

You can create a /etc/shutdown.allow to list users that are allowed to shutdown the system. man shutdown for details.


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
sign on invisible in gaim - NOT invi after sign on saravkrish Linux - Software 7 09-12-2005 11:55 PM
Bug / Xwindows / startx : xinit works but startx crash Linux - Software 4 10-17-2004 09:06 AM
startx vs startx -- :2 (font dimension is different!!) moly82 Linux - General 7 09-15-2003 01:11 PM
sign in hythemr Red Hat 1 08-31-2003 08:52 PM
$,# sign eye Linux - Software 2 05-31-2003 10:00 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:58 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration