LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-19-2005, 09:55 AM   #1
linx win
Member
 
Registered: Jan 2004
Posts: 390

Rep: Reputation: 31
How can I do auto login


I installed FC3 with KDE desktop on my laptop. It is working fine. However, everytime I restart my PC I have to enter my logon details to access to desktop. Is there a way to make an auto login linke in Mandrake and other distros? Another thing also, how can I make kde my default session?
 
Old 01-19-2005, 10:21 AM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
It depends on what display manager your using xdm, gdm and kdm are the three main ones. Which one are you using?

If its KDM, goto the KDE Control Center and System Administration Then Login Manager, If you then goto the Convience Tab you will see the auto login stuff there.

As for using KDE as default, KDM usually uses the last one you used as the next default.
 
Old 01-19-2005, 10:39 AM   #3
oxleyk
Member
 
Registered: Nov 2003
Distribution: Ubuntu
Posts: 309

Rep: Reputation: 30
Here's a similar question---How do I start a desktop on a per-user basis? I log in to the console and then startx to Fluxbox, or whatever wm I'm playing with. How would I automatically start Gnome when my son logs in to play games? A startup script?

Thank,
Kent
 
Old 01-19-2005, 12:24 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
I think from the console you'd have to set it in ~/.xinitrc, the contents of which to start Gnome would be:

#!/bin/sh
exec gnome-session
 
Old 01-19-2005, 02:27 PM   #5
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
leonscape

Thanks for helping me resolving my issues with debian kernel compilation. You have done a great job there.

I am using kdm here in FC3. I actually did all the step you mentioned before and did not work. I thought there is a command line solution to this. But I will try it again and see may be I have made a mistake.

oxleyk

I do not know what you need exactly, but did you try command:$ switchdesk xxxx? Where xxx is the name of desktop, ie, kde, gnome,..... This will let you decide the default desktop.
 
Old 01-19-2005, 04:31 PM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
To change your sons default desktop, when he logs in and does
$switchdesk gnome
then his default desktop will become gnome, so when he logs in he will be taken into gnome unless he chooses a dfifferent option on KDM. As foe auto login, the otption is indeed there in the paths specified by leonscape.
 
Old 01-19-2005, 11:00 PM   #7
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
leonscape

I tried it once again but did not work. I tried with RH9, FC1 and FC2 also in the bast but could not get the auto login to work. Is there anyother solution?

By the way, I had problem getting my debian based distro installed on my lap top. Is there any small distro in MB size that I can try, some thing like kurumin?
 
Old 01-20-2005, 12:38 PM   #8
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Knoppix is quite small(?), single CD and you can try it before you install it, as its a live CD. Debian can be made to install very small, but as soon as you start piling on the desktop stuff it tends to get large quickly.

RH9, FC1 and FC2 are all related so it maybe something thats unusal about them, thats preventing it from working. Off the top of my head I'd think that you might actually be using gdm not kdm, but I'm not sure, its been a long time since I used RH.
 
Old 01-20-2005, 01:10 PM   #9
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
I got Knoppix 3.7 live CD. How can I install it on my hard drive?
 
Old 01-20-2005, 01:25 PM   #10
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 48
Knoppix Harddisk Install HOWTO
 
Old 01-20-2005, 10:08 PM   #11
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
Thanks. Here is the way to do it:

knx-hdinstall
or
knoppix-installer

http://www.linuxquestions.org/questions/history/272979
 
Old 02-13-2005, 06:56 AM   #12
linx win
Member
 
Registered: Jan 2004
Posts: 390

Original Poster
Rep: Reputation: 31
I was able to get FC3 to auto login into KDE. I have done the following:
Step 1:
System Settings >> Login Screen
Password
Then I selected Auto Login and selected the user for it.
(This could be done by modifying /etc/X11/gdm.conf file manually.)
Step 2:
su
password
mv /usr/share/gdm/BuiltInSessions/default.desktop /usr/share/gdm/BuiltInSessions/default.desktop.old
cp /usr/share/xsessions/kde.desktop /usr/share/gdm/BuiltInSessions/default.desktop

restarted X.

That's it.

May be there is a better way but this is what did work for me. But, I noticed that FC3 uses GDM not KDM. That's why the normal procedure did not work. If you know how to reconfigure FC3 to use KDM instead, then I think, but not sure, the normal procedure will work and no need for the above. Also, may be there is a better way but this is what did work for me.
 
  


Reply


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
adminstrator login while auto-login is on? joshknape Linux - General 5 07-19-2005 04:51 AM
auto login citrus Linux - General 2 04-02-2004 10:23 PM
Auto Login mtb Linux - Software 2 01-12-2004 07:03 AM
Auto-login and auto-restart... TankerKevo Red Hat 2 10-04-2003 07:52 AM
auto-login? Rex_chaos Linux - General 3 05-10-2002 01:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration