LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 09-16-2009, 07:55 AM   #1
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
Configuring GDM autologin in chroot with NO X window, how-to?


OK
I'm continually trying new stuff in re--re-making my grml-082709 -sid build
I currently got it at 400mb with lots of apps and fluxbox(user-friendly)
and need to autologin user grml

I added gdm, but it asks for passwd,etc
was wondering how I could configure autolgin with no x window?
no gui

thanks
 
Old 09-16-2009, 08:16 AM   #2
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,094
Blog Entries: 2

Rep: Reputation: 111Reputation: 111
spawn a shell for that user in inittab instead of a getty/mgetty/... whatever is currently running on your console
 
Old 09-16-2009, 08:21 AM   #3
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Original Poster
Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
How would i do that??

I'm chrooted in as root@grml/#
 
Old 09-16-2009, 09:12 AM   #4
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
try replacing the uncommented lines by the commented ones.

Code:
1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
#1:2345:respawn:/bin/login -f user </dev/tty1 >/dev/tty1 2>&1
#2:23:respawn:/bin/login -f user </dev/tty2 >/dev/tty2 2>&1

---
i had a bit of trouble with that method. have a look at /etc/gdm/gdm.conf
There should be a line containing:AutomaticLoginEnable. you need to set it too true.
theres another option which might be of interest:
TimedLoginEnable=true
(im not sure if it needs to be set to true or to false to login without delay)


i had trouble with disabling autologin. so this is just a hint, im not sure about it (especially as you say its in chroot). I would try editing gdm.conf first (as editing /etc/inittab had no result on a chrooted and repacked live, for what reason ever ??? )

greetings
 
Old 09-16-2009, 09:31 AM   #5
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Original Poster
Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
I'm gonna try it

Can XDM do this, as it wiould be lightweer?
 
Old 09-16-2009, 10:02 AM   #6
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
Quote:
Originally Posted by linus72 View Post

Can XDM do this,
i dont know
Quote:
as it wiould be lightweer?
sure. Slim is another light-beer too (you didnt check for antix yet, did you? Might be youll like it)
 
  


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
Start a script after GDM autologin, don't quit when script finishes Plastech Linux - Newbie 2 05-29-2007 10:15 AM
Configuring GDM Svip Linux - Software 1 11-10-2005 03:13 AM
gdm autologin to gnome vampire Janus Fedora 5 10-27-2004 11:13 PM
gdm default window manager kodon Slackware 2 08-27-2004 08:22 PM
autologin from window to linux chanmy8 Linux - Networking 2 01-19-2003 02:59 PM


All times are GMT -5. The time now is 12:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration