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?? Thanks |
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) id:4:initdefault: |
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. |
All times are GMT -5. The time now is 07:23 AM. |