You are not logged in.

#1 2006-02-27 07:06:26

Rev. Nathan
Member
From: West Hills, Los Angeles, Calif
Registered: 2006-02-21
Posts: 35
Website

Log in Automatically?

Where is it, or what do I do to have me log in automatically?


"All the world's indeed a stage, And we are merely players.
Each another's audience, Outside the gilded cage.
"

Offline

#2 2006-02-27 07:13:29

Cam
Member
From: Brisbane, Aus
Registered: 2004-12-21
Posts: 658
Website

Re: Log in Automatically?

I'm pretty sure most display managers can do this, GDM, KDM etc. It's a stupid idea in 99.997% of cases though.

Offline

#3 2006-02-27 18:36:02

Rev. Nathan
Member
From: West Hills, Los Angeles, Calif
Registered: 2006-02-21
Posts: 35
Website

Re: Log in Automatically?

anyone know? i wish for this feature so that people like my mother can just turn the computer on and go; and not be bothered by a login prompt.


"All the world's indeed a stage, And we are merely players.
Each another's audience, Outside the gilded cage.
"

Offline

#4 2006-02-27 18:49:28

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Log in Automatically?

Rev. Nathan wrote:

anyone know? i wish for this feature so that people like my mother can just turn the computer on and go; and not be bothered by a login prompt.

What WM/DE are you using? If it's KDE, it's fairly simple. Open the KDE Control Center. Click on System Administration/Login Manager and it should all become clear.

I'm assuming that you need kdm to load first, so put 'kdm' at the end of your DAEMONS array in /etc/rc.conf.

Offline

#5 2006-02-27 19:59:19

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: Log in Automatically?

Rev. Nathan wrote:

anyone know? i wish for this feature so that people like my mother can just turn the computer on and go; and not be bothered by a login prompt.

As long as she doesn't just switch the computer off and leave...
wink

Offline

#6 2006-02-27 20:08:28

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,488

Re: Log in Automatically?

Bothered by a login? Good god.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#7 2006-02-27 20:32:32

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Log in Automatically?

Moo-Crumpus wrote:

Bothered by a login? Good god.

Firstly, this is "newbie corner", so please leave the smart-arse comments to some other group. He asked how to do it, not whether the approach was officially endorsed by the AL community.

The context is such that this approach (for the convenience of someone's parents) it's hardly going to constitute to worlds' biggest security threat.

Now c'mon guys, chill out.

Offline

#8 2006-02-27 20:33:46

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Log in Automatically?

nothing wrong with automated login for a personal system. Just keep in mind that the guy that breaks into your house would be able to log in and go too. But I'd be more worried about him taking my hard drives ang going by that point. ;-)

Both KDM and GDM provide automated login. I'm not sure of the specifics for GDM, but for KDM its as arooaroo described. Get KDM working first if you don't already have graphical login (info in the wiki on this). Then use KDE Control centre, in administrator mode, to set it to log some user in automatically.

Dusty

Offline

#9 2006-02-27 21:47:26

Moo-Crumpus
Member
From: Hessen / Germany
Registered: 2003-12-01
Posts: 1,488

Re: Log in Automatically?

As it is a newbie corner, he/she should be told about that it is a really stupid idea. Anyone else knows, but newbies maybe not. An advice to make a mistake is no advice, that's a trap. If one is bored of logging in, the person is also bored of security related thoughts at all. This makes no sense - and this is my opinion. You can advice whatever you want, I spoke my mind.


Frumpus addict
[mu'.krum.pus], [frum.pus]

Offline

#10 2006-02-27 22:02:46

arooaroo
Member
From: London, UK
Registered: 2005-01-13
Posts: 1,268
Website

Re: Log in Automatically?

Moo-Crumpus wrote:

As it is a newbie corner, he/she should be told about that it is a really stupid idea. Anyone else knows, but newbies maybe not. An advice to make a mistake is no advice, that's a trap. If one is bored of logging in, the person is also bored of security related thoughts at all. This makes no sense - and this is my opinion. You can advice whatever you want, I spoke my mind.

It's not what you said, but the way you said it. You never discussed any pros or cons, you just said "Good god", which is hardly constructive.

I don't know about your Mum, but I can't *tell* my Mum how to set up/use her computer! It's up to her and if she likes things I recommend she'll go along. The number of times I've told her about using Firefox and yet she still uses IE. So, I think that the OP has made a considerable achievement already by getting his parent(s) to experiment with Linux.

Auto-login is one of many potential security risks. Some are more risky than others. For a home setup, this is not major, unless you know that you have a lot of confidential information on the disk. Funnily enough, I've heard a number of cases on these forums where people have been hacked, and it had nothing to do with auto-logins.

Offline

#11 2006-02-27 22:07:17

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Log in Automatically?

If you have a lot of confidential information on your disk, you're screwed before somebody gets autologin onto your comp. If they want the information, they'll take the disk, mount it somewhere else, etc. You'd have to use an encrypted filesystem to get around that or something.

To the best of my knowledge, autologin does not make it easier to get a remote login onto the system. If they have physicall access to the system, you've got bigger things to worry about; hell, I'd skip the autologin and reboot with a liveCD so I could get root access to the system!

Dusty

Offline

#12 2006-02-27 22:19:53

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: Log in Automatically?

Autologin is only a security risk if there's the likelihood of shared access. 
Unless you can't trust your relatives  wink

Offline

#13 2006-02-27 23:01:16

jaboua
Member
Registered: 2005-11-05
Posts: 634

Re: Log in Automatically?

In GDM with the default GTK+ greeter:

Select Actions -> Configure Login Manager. Type in root password. Select "Login a user automaticly on first bootup", and type in a username below. I haven't tried it for two years or something, but it should work...

Offline

#14 2006-02-28 01:48:15

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: Log in Automatically?

There are some nice wiki entries on auto-logging in as well as autostarting X upon login. I've done it myself, it's quite easy. I basically press the power button on my laptop and come back to fvwm smile

No need for *DM.


I am a gated community.

Offline

#15 2006-02-28 13:14:44

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: Log in Automatically?

I am somewhat suprised to see that anyone here presupposes that X is launched at boot, through a login manager. May be that his mum likes autologin, but loves cli too (I agree with such a mum about my home workstation, and I would be happy to be his son). If so, you can autologin on console through a little hack described in an howto you can find in the archlinux wiki, or you can use mingetty as a replacement of agetty in /etc/inittab. Mingetty has a specific autologin option you can define in inittab. You can find a PKGBUILD for mingetty in the AUR... I contributed that PKGBUILD and I will be happy to help you about any mingetty issue.


Mortuus in anima, curam gero cutis

Offline

#16 2007-02-04 13:16:47

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 2,001
Website

Re: Log in Automatically?

For my uncle's comp i used the "Starting X as prefered user without logging in" method described here:
http://wiki.archlinux.org/index.php/Start_X_at_boot

works like a charm

A similar approach is mentioned in "Alternate method" on http://wiki.archlinux.org/index.php/Add … on_startup

didn't try this


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

Board footer

Powered by FluxBB