You are not logged in.

#1 2016-02-26 20:08:52

jedichris816
New Member
Registered: 2016-02-26
Posts: 4

Automatic login script which also launches Iceweasel

I am looking for some kind of script or setting that will allow for automatic user login which in turn also automatically launches Iceweasel to it's specified homepeage.  I run a Citrix based infrastructure in which users login through our netscaler gateway which is accessed via web browser. 

In short, I'd like to configure bunsenlabs to act like a thinpro OS.  I want the users to have as little accessibility as possible on the local client.  They strictly need to enter username and password at the application layer.  Simple as that.

Can anyone provide me with guidance or advice?  Thank you in advance.


Sincerely,
Chris Atkins

Offline

#2 2016-02-26 20:32:27

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Automatic login script which also launches Iceweasel

You can modify ~/.config/openbox/autostart and take out all the stuff you don't need then just add this at the end:

while true;do iceweasel;done

This will launch Iceweasel on startup and restart it automatically if it is killed (I think, untested).

To set autologin with LightDM, see https://wiki.debian.org/LightDM#Enable_autologin

Last edited by Head_on_a_Stick (2016-02-26 20:36:01)

Offline

#3 2016-02-26 20:36:46

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Automatic login script which also launches Iceweasel

1) enable auto login => there's an option for that in the root menu (system => login settings)
2) autostart iceweasel: add it to ~/.config/openbox autostart, like so: 'iceweasel "http://some.web.page" &'

...but it seems to me that you are asking for much more.

some sort of kiosk setup?

edit: HoaS beat me to it!

Last edited by ohnonot (2016-02-26 20:37:30)

Offline

#4 2016-02-26 20:38:01

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Automatic login script which also launches Iceweasel

Moved to Basic Help & Support

Offline

#5 2016-02-26 20:50:47

jedichris816
New Member
Registered: 2016-02-26
Posts: 4

Re: Automatic login script which also launches Iceweasel

Thanks you guys.  I've mastered this setup using Ubuntu, Lubuntu, basically all flavors of buntu and Linux Mint along with Debian, all of which have a relatively user friendly GUI.  I just started exploring bunsenlabs a half-dozen hours ago and found out it didn't have quite the intuitiveness with the user interface. 

Yes, ohnonot, a kiosk type deployment is what I'm getting after, but it is really quite simple to accomplish as I've noted in the first paragraph, I've gone through it hundreds of times with other distros.

Offline

#6 2016-02-26 20:56:05

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Automatic login script which also launches Iceweasel

jedichris816 wrote:

I just started exploring bunsenlabs a half-dozen hours ago and found out it didn't have quite the intuitiveness with the user interface

BunsenLabs favours direct editing of text-based configuration files (the UNIX way) over GUI frivolities smile

Offline

#7 2016-02-26 21:00:23

jedichris816
New Member
Registered: 2016-02-26
Posts: 4

Re: Automatic login script which also launches Iceweasel

I applaud you good sir!  Understanding the code and the logic of how it works is worth more than any GUI expertise.  Sadly, my java, C++, VB .net, and all my other programming books have began collecting dust since I graduated college.  I'm rather competent at following direction, not so much at understanding programming languages (probably why I'm a sysadmin and not a software developer). 

I'll give it a go with fellas.  Again, thank you.

Offline

#8 2016-02-26 21:06:57

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Automatic login script which also launches Iceweasel

If you wanted to do without the display manager, you could try this guide for autologin:
http://forums.debian.net/viewtopic.php?f=16&t=123694

Offline

#9 2016-02-26 21:36:04

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: Automatic login script which also launches Iceweasel

@jedichris816

For user configuration, there is no need to do any "programming". As HoaS said, there may be some text editing, but if you start getting fancy then there could be some bash scripting.

BL is trying to strike a balance between straightforward textfile configuration and gui interfaces which need minimal dependencies.


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#10 2016-03-02 05:50:27

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: Automatic login script which also launches Iceweasel

jedichris816 wrote:

a kiosk type deployment is what I'm getting after

maybe you'd like to replace openbox (the window manager) with iceweasel completely, so all the session would do is to start iceweasel in - supposedly - fullscreen mode. no window decorations.
for that you'd have to create an iceweasel xsession (not exactly sure how this works, but there's a /usr/share/xsession directory; look at the entries to get an idea), the tell lightdm to use that as default via one of the conf files in /etc/lightdm.

since "kiosk mode" implies still much more, there are also dedicated kiosk distros.

=======================
ps: command line system maintenance is not the same as programming.

Offline

Board footer

Powered by FluxBB