The experiences of an Australian student who uses Linux.
Cover all topics from shell scripts to monopolies and reviews to political comments.
Cover all topics from shell scripts to monopolies and reviews to political comments.
How hard could it be? A login manager in BASH
Posted 07-11-2011 at 08:34 PM by William (Dthdealer)
Tags bash, gdm, login, login-manager, slim
As I have previously elaborated, I hat the Gnome Login Manager. To summarise: it is bulky and slow.
I am currently using SLim as my login manager, for it is fast and very customisable. It however lacks a few features I want:
I am out of luck however - I know of no other X login manager that does these things. So I am now taking the GNU approach to things: writing my own.
A login manager should be a simple affair. I plan to write mine using nothing but shell scripts, for a login manager really does nothing but ask for credentials and accept/execute power related commands.
Basically it will comprise of the following things:
Expect to see it soon!
Regards, William
I am currently using SLim as my login manager, for it is fast and very customisable. It however lacks a few features I want:
- Render of the date and time
- An easy way to receive a list of configured commands to for example, turn the computer off ( from now written as 'power commands' )
- UI elements to allow the user to turn the computer off without having to first login
I am out of luck however - I know of no other X login manager that does these things. So I am now taking the GNU approach to things: writing my own.
A login manager should be a simple affair. I plan to write mine using nothing but shell scripts, for a login manager really does nothing but ask for credentials and accept/execute power related commands.
Basically it will comprise of the following things:
- An one line high aterm running a getty that executes the user's .xinitrc
- Xclock to show the time
- A named pipe to accept power commands
- Several screensavers in borderless windows ( nameley 'molecule' and 'substrate' ) to make it look cool
- Some way of providing power options on screen ( yet to decide on how to do this ).
Expect to see it soon!
Regards, William
Total Comments 0