Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Disable auto login in Knoppix 6.2

  1. #11
    Senior Member
    Join Date
    Jan 2011
    Posts
    123
    for the interested, I've been able to setup gdm and disabled autologin turning it into a real multi-user system

  2. #12
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by dinosoep View Post
    for the interested, I've been able to setup gdm and disabled autologin turning it into a real multi-user system
    Nice!
    Would you care taking diffs of the altered scripts and post/upload them here?

  3. #13
    Senior Member
    Join Date
    Jan 2011
    Posts
    123
    I've also altered other stuff so I can't post the patches but what I did was:
    install gdm

    edit /etc/init.d/knoppix-autoconfigure:
    I changed
    Code:
    ...
     fi
    }
    
    start_sys(){
    ...
    to
    Code:
    ...
     fi
    }
    start_gdm(){
    addtask "gdm"; addprogress "Starting gnome display manager"
    mkdir /var/log/gdm
    /etc/init.d/gdm start > /dev/tty$LOG_CONSOLE
    }
    start_sys(){
    ...
    and when you scroll a bit lower you'll see
    Code:
    # Start udev now, /dev will be remounted
    checkbootparam "noudev" || start_udev
    
    # Send logging messages to /dev/tty$LOG_CONSOLE. Since we need a socket
    # in /dev, this requires udev to run earlier.
    start_log
    and I added after that
    Code:
    # Attempts to use gdm :p
    start_gdm
    Then in Inittab I have changed runlevel to 3, you already did this and I commented out
    Code:
    # 1:12345:respawn:/bin/bash -login < /dev/tty1 >/dev/tty1 2>&1
    #1:12345:respawn:/bin/login </dev/tty1 >/dev/tty1 2>&1
    #2:12345:respawn:/bin/login </dev/tty2 >/dev/tty2 2>&1
    #3:12345:respawn:/bin/login </dev/tty3 >/dev/tty3 2>&1
    #4:12345:respawn:/bin/login </dev/tty4 >/dev/tty4 2>&1
    I don't remember why btw
    and uncommented the getty lines
    Code:
     1:2345:respawn:/sbin/getty 38400 tty1
     2:23:respawn:/sbin/getty 38400 tty2
     3:23:respawn:/sbin/getty 38400 tty3
     4:23:respawn:/sbin/getty 38400 tty4
     5:23:respawn:/sbin/getty 38400 tty5
     6:23:respawn:/sbin/getty 38400 tty6
    That should be all, if I forgot something don't shoot me

  4. #14
    Junior Member
    Join Date
    Jul 2011
    Posts
    4

    Disable auto login in Knoppix 6.2

    This could work.

    Edit /etc/inittab:
    Code:
    # 1:12345:respawn:/bin/bash -login < /dev/tty1 >/dev/tty1 2>&1
    #1:12345:respawn:bash -login </dev/tty1 >/dev/tty1 2>&1
    #2:12345:respawn:bash -login </dev/tty2 >/dev/tty2 2>&1
    #3:12345:respawn:bash -login </dev/tty3 >/dev/tty3 2>&1
    #4:12345:respawn:bash -login </dev/tty4 >/dev/tty4 2>&1
    1:12345:respawn:/sbin/getty 38400 tty1
    2:12345:respawn:/sbin/getty 38400 tty2
    3:12345:respawn:/sbin/getty 38400 tty3
    4:12345:respawn:/sbin/getty 38400 tty4
    5:12345:respawn:/sbin/getty 38400 tty5
    6:12345:respawn:/sbin/getty 38400 tty6
    
    # X mode
    #x0:5:wait:sleep 2
    #x1:5:respawn:/etc/init.d/knoppix-startx start
    Install a login manager:
    sudo apt-get install xdm

    Edit /etc/rc.local and add this at the end before exit:
    /etc/init.d/xdm start

  5. #15
    Senior Member
    Join Date
    Nov 2011
    Posts
    127
    how can one get at least it to ask for root password?
    That is the exact question I've been looking into.
    I'm not going to address using the Knoppix distro as your desktop system
    I gather for reasons, probably beyond me, that Knoppix is not the right distribution for use for running desktop applications on a continual basis. Strangely enough, while ubuntu 11.04 worked find on my desktop, ubuntu 11.10 does not and neither does mint 12. (Both run fine on my laptop) I'm not sure I'm going to solve the issues on my desktop soon, so I I'm looking into knoppix which runs on not only my laptop and desktop, but also runs on an old pre wiindows XP PC that doesn't book with windows anymore.. I'm only one person, so I don't care about multi-user capabilities. I was thinking about Lubuntu (notice the L), but I see that the standard apps - Firefox, Thunderbird, GIMP have been replaced by other lighter weight alternates. I just found the debian distro and it might be a possibility - would be interesting to see if latest version runs on my desktop. Seems like I saw someplace that straight debian was not the best for novices, but don't see anything about that in the writeup so maybe that's not true. http://www.osdisc.com/cgi-bin/view.c...vd-set-pc.html

  6. #16
    Senior Member registered user
    Join Date
    Sep 2006
    Posts
    802
    Quote Originally Posted by Denver Dave View Post
    That is the exact question I've been looking into. I gather for reasons, probably beyond me, that Knoppix is not the right distribution for use for running desktop applications on a continual basis. Strangely enough, while ubuntu 11.04 worked find on my desktop, ubuntu 11.10 does not and neither does mint 12. (Both run fine on my laptop) I'm not sure I'm going to solve the issues on my desktop soon, so I I'm looking into knoppix which runs on not only my laptop and desktop, but also runs on an old pre wiindows XP PC that doesn't book with windows anymore.. I'm only one person, so I don't care about multi-user capabilities. I was thinking about Lubuntu (notice the L), but I see that the standard apps - Firefox, Thunderbird, GIMP have been replaced by other lighter weight alternates. I just found the debian distro and it might be a possibility - would be interesting to see if latest version runs on my desktop. Seems like I saw someplace that straight debian was not the best for novices, but don't see anything about that in the writeup so maybe that's not true. http://www.osdisc.com/cgi-bin/view.c...vd-set-pc.html
    Knoppix is very good for running desktop applications, and in this thread there are presented several alternatives for changing default startup/login settings. Including setting the root password. Personally, I have tended to avoid setting this because there were quite a few problems with it in some contexts in pre-6.0 Knoppix, but it seems to be less problematic now.

    Usually, it is best to try the latest distro to avoid hardware problems - but beware that new bugs/incompatibilities may from time to time be introduced with new releases.

  7. #17
    Junior Member
    Join Date
    Apr 2008
    Posts
    2

    Cool disabling auto logon with knoppix.

    Hi Zgregoryg,

    Knoppix was my first adventure into linux when the first live cd was created. I have used various distros since and have loved them all. I have just installed 7.2 on my hard disk to see what it can do so thank you for that it works treat.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Newbie needs to disable graphical login manager
    By shplad in forum General Support
    Replies: 5
    Last Post: 12-18-2005, 04:58 PM
  2. Disable Auto Logon
    By GoP-Demon in forum General Support
    Replies: 0
    Last Post: 06-04-2005, 11:23 AM
  3. Replies: 2
    Last Post: 05-11-2005, 10:25 PM
  4. Auto login as root
    By dodgyville in forum General Support
    Replies: 0
    Last Post: 06-06-2004, 12:38 AM
  5. how to disable the login screen?
    By sgoodall in forum Customising & Remastering
    Replies: 5
    Last Post: 05-02-2004, 05:50 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory picture

Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory

$16.29



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



32GB (4X8GB) DDR3 PC3-12800 1600 NON ECC LOW DENSITY MEMORY F3-12800CL10Q-32GBXL picture

32GB (4X8GB) DDR3 PC3-12800 1600 NON ECC LOW DENSITY MEMORY F3-12800CL10Q-32GBXL

$32.00



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



Samsung 64GB 4DRx4 PC4-2400 LRDIMM DDR4-19200 ECC Load Reduced Server Memory RAM picture

Samsung 64GB 4DRx4 PC4-2400 LRDIMM DDR4-19200 ECC Load Reduced Server Memory RAM

$71.99