Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Login during boot process [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
McC0dy
n00b
n00b


Joined: 18 May 2013
Posts: 14
Location: Denmark

PostPosted: Sun May 19, 2013 7:02 am    Post subject: Login during boot process [SOLVED] Reply with quote

Hi friends,
Is it possible to spawn a login shell before the whole start-up is finished?
I want to give username password while the boot finishes in the background

My ~/.bash_profile contains startx, so I have dependecies to think about

~oliver


Last edited by McC0dy on Wed May 22, 2013 3:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32112
Location: 56N 3W

PostPosted: Sun May 19, 2013 2:18 pm    Post subject: Reply with quote

McC0dy,

Welcome to gentoo.

Please describe your problem rather than your perceived solution.

If I was doing what I think you want to do, I would use a graphical login manager of some sort and run it from the startup sequence by adding xdm to the default runlevel.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
McC0dy
n00b
n00b


Joined: 18 May 2013
Posts: 14
Location: Denmark

PostPosted: Mon May 20, 2013 1:11 pm    Post subject: Reply with quote

Hi Neddy, thank you. it's good to be here.
I think you got me back on track - I'll try out setting up xdm with something minimalistic.
Back to top
View user's profile Send private message
Naib
Advocate
Advocate


Joined: 21 May 2004
Posts: 4161
Location: Removed by Neddy

PostPosted: Tue May 21, 2013 12:17 pm    Post subject: Reply with quote

SLiM is a very ... slim graphical login manager.
_________________
A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen.
Back to top
View user's profile Send private message
McC0dy
n00b
n00b


Joined: 18 May 2013
Posts: 14
Location: Denmark

PostPosted: Wed May 22, 2013 1:50 pm    Post subject: Reply with quote

Naib wrote:
SLiM is a very ... slim graphical login manager.


Thanks for the tip, Naib. I tried it out and it looks nice, but it crashes if I try to start it before default runlevel.
I guess my problem is not related to SLiM but rather xdm. I wouldn't mind having something as simple as agetty or getty - as long as it can start during boot.
Any advice on starting agetty that early?
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 7841
Location: Somewhere over Atlanta, Georgia

PostPosted: Wed May 22, 2013 1:54 pm    Post subject: Reply with quote

Actually, what you're attempting will cause problems. The default runlevel is the first place where the OS is really up enough enough to support a login. I'd say this isn't something that would end well or, if you got it working, would not work reliably over time.

- John
_________________
This space intentionally left blank.
Back to top
View user's profile Send private message
McC0dy
n00b
n00b


Joined: 18 May 2013
Posts: 14
Location: Denmark

PostPosted: Wed May 22, 2013 3:17 pm    Post subject: Reply with quote

John R. Graham wrote:
Actually, what you're attempting will cause problems. The default runlevel is the first place where the OS is really up enough enough to support a login. I'd say this isn't something that would end well or, if you got it working, would not work reliably over time.

I see. That's bad news though :(
I'm going to stick with SLiM or agetty for now - haven't decided yet.
Thank you guys very much!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum