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
  •  


HP Z840 Workstation Intel Xeon E5-2637v3 3.5GHz 32GB RAM 512GB SSD W10P Nvidia picture

HP Z840 Workstation Intel Xeon E5-2637v3 3.5GHz 32GB RAM 512GB SSD W10P Nvidia

$225.00



HP Z230 Workstation Towers Xeon E3-1231 V3 3.20ghz 8GB Ram NO HDD picture

HP Z230 Workstation Towers Xeon E3-1231 V3 3.20ghz 8GB Ram NO HDD

$39.96



HP Z440 WORKSTATION XEON E5-1603V3 @ 2.80GHz, 16GB RAM 250 GB SSD Win 11 picture

HP Z440 WORKSTATION XEON E5-1603V3 @ 2.80GHz, 16GB RAM 250 GB SSD Win 11

$119.99



Dell Precision 3420 Tower, Intel Xeon E3 -1225v5 3.3GHz,8GB Ready to build picture

Dell Precision 3420 Tower, Intel Xeon E3 -1225v5 3.3GHz,8GB Ready to build

$67.49



Intel Xeon E5-2697 V4 2.30 GHz 18C 2011-3 2400MHz 45MB 145W SR2JV CPU Processor picture

Intel Xeon E5-2697 V4 2.30 GHz 18C 2011-3 2400MHz 45MB 145W SR2JV CPU Processor

$49.99



Intel Xeon E5-2680 v4 SR2N7 14 Core 2.4 GHz Server Processor picture

Intel Xeon E5-2680 v4 SR2N7 14 Core 2.4 GHz Server Processor

$15.45



SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor picture

SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 Grade A Processor

$5.29



Intel Xeon W-2155 3.30GHz 10-Core FCLGA2066 Processor CPU picture

Intel Xeon W-2155 3.30GHz 10-Core FCLGA2066 Processor CPU

$200.00



Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia picture

Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia

$80.00



Matched Pair __ Intel Xeon Gold 6152 2.1Ghz 22-Core 140W CPU SR3B4 picture

Matched Pair __ Intel Xeon Gold 6152 2.1Ghz 22-Core 140W CPU SR3B4

$209.95