Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-07-2006, 02:38 PM   #1
Registered: Nov 2004
Location: Turkey
Distribution: slackware
Posts: 119

Rep: Reputation: 15
how to directly go firefox

I want to install a slackware for my friend only to use for internet. How can i directly open firefox? (without entering a password)

I know i have to init level 4. (/etc/inittab)But how can i automatically start firefox from X and how can shutdown computer?


Last edited by sharapchi; 12-07-2006 at 02:41 PM.
Old 12-07-2006, 04:56 PM   #2
Registered: Dec 2005
Location: ~
Distribution: Slackware -current
Posts: 458

Rep: Reputation: 49
Not sure i understand what you want...
How can i directly open firefox? (without entering a password)
If you configure your xserver/window manager to boot to an xsession you won't be asked for a password. Something like typing: xinit
I have my box to boot to kde, no passwords asked, it's also possible to boot to "failsafe".
how can i automatically start firefox from X
type firefox
how can shutdown computer?
Depending on your kernel/config, something like:
shutdown -h now
Try: man shutdown (for more options)
Old 12-07-2006, 05:16 PM   #3
LQ Newbie
Registered: May 2006
Location: Indiana, USA
Distribution: Slackware 12.2
Posts: 23

Rep: Reputation: 15
I want to clarify before I even start thinking about the answer. You want to:

1) Have the system startup and go directly into X without entering a password?

2) When X comes up, it's to autmatically load Firefox?

3) And when done using the internet, it's to shut down?

Please explain if this isn't want you want.
Old 12-07-2006, 06:06 PM   #4
Registered: Nov 2004
Location: Turkey
Distribution: slackware
Posts: 119

Original Poster
Rep: Reputation: 15
Sorry all..

Yes you are right j_houch.. You understood what exactly i want.

I want to

1) System starting without entering password and going to X
2) After X starting, loading directly firefox.
3) After using firefox, shutting down computer without writing any commands. (power management does it but, it is not safe i think)

I can make system starting with X configuring 'inittab' but i cannot start X without entering any passwords. I do not want to use KDE or GNOME to load directly firefox, i want to use a lightweight desktop enviroment.. Waiting your suggestions.

Thanks all
Old 12-07-2006, 06:27 PM   #5
Registered: Mar 2003
Location: Cambridge, Ohio, USA
Distribution: Slackware 11.0, FreeBSD 6.2
Posts: 98

Rep: Reputation: 15
Hmm... just thinking.

GDM allows for an auto login after a time limit expires. You could look into that for the auto login without a password part. I don't have GDM on my machine or I could help further than that.

Then I would suspect something in rc.d (/etc/rc.d/rc.local maybe?) would allow for loading Firefox.

firefox &
on the command line would start Firefox and return to the prompt. So something like

should produce the results you're looking for.

Someone MUCH more knowledgeable than I am is bound to know something I don't, and I'm probably not correct. I'm just makinng guesses from what limited knowledge I have.

Someone tell me if I'm on the right track.
Old 12-07-2006, 06:35 PM   #6
Senior Member
Registered: Jan 2005
Location: Istanbul, Turkey
Distribution: Slackware64 15.0, Slackwarearm 14.2
Posts: 1,149

Rep: Reputation: 233Reputation: 233Reputation: 233
Using .xinitrc would be better. Just write

shutdown -h

in your .xinitrc. There will be no window manager, so you will have a borderless FF window.

Of course, you still need to be able to startx without entering a password. I don't know how that can be done.

If you want to play with .xinitrc and check how your script works, edit your .xinitrc to your taste (and temporarily remove the shutdown line), switch to console with Ctrl+Alt+F2 (or F3,...,F6), login and type

startx -- :1

This will open another X session which can be reached by Ctrl+Alt+F8 (the original session is at Ctrl+Alt+F7).

You may find this one interesting too:

Last edited by Ilgar; 12-07-2006 at 06:45 PM.


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
How to Boot Directly to Firefox with minimum Suse configuration DS-Patrick Linux - Software 3 01-18-2006 05:21 PM
going from s3 directly to s4 slinky2004 Linux - General 0 12-04-2005 02:25 PM
Is it possible to boot from CD directly from GRUB? nakedape Linux - Newbie 3 08-03-2005 05:17 AM
Booting NT and XP directly--???? ur-unholyness Linux - Newbie 5 10-22-2004 11:00 AM
Encoding directly from CD LittleJohn Linux - General 4 01-15-2004 07:30 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:26 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