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
  •  


XDHXT DELL PERC H710P 6Gbps 1GB PCI RAID CONTROLLER 0XDHXT picture

XDHXT DELL PERC H710P 6Gbps 1GB PCI RAID CONTROLLER 0XDHXT

$59.00



LSI 9305-16i SATA SAS 12Gbs RAID Controller Host Bus Adapter PCIe 3.0 x8 IT-Mode picture

LSI 9305-16i SATA SAS 12Gbs RAID Controller Host Bus Adapter PCIe 3.0 x8 IT-Mode

$199.99



Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE picture

Inspur LSI 9300-8i Raid Card 12Gbps HBA HDD Controller High Profile IT MODE

$15.98



LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License picture

LSI MegaRAID 9361-8i 12Gb PCIe 8-Port SAS/SATA RAID 1Gb w/BBU/CacheVault/License

$39.95



Dell PowerEdge RAID Controller HBA330 12Gbs PCIe 3.0 SAS SATA J7TNV Low Profile picture

Dell PowerEdge RAID Controller HBA330 12Gbs PCIe 3.0 SAS SATA J7TNV Low Profile

$29.00



ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs picture

ORICO Multi Bay RAID Hard Drive Enclosure USB 3.0/ Type-C For 2.5/3.5'' HDD SSDs

$87.99



LSI MegaRaid 9361-8i 12Gbps SAS / SATA Raid Controller PCIe x8 3.0 Tested picture

LSI MegaRaid 9361-8i 12Gbps SAS / SATA Raid Controller PCIe x8 3.0 Tested

$29.00



633538-001 HP P420 6Gb/s SAS RAID Controller Card PCIe 1GB FBWC + Battery picture

633538-001 HP P420 6Gb/s SAS RAID Controller Card PCIe 1GB FBWC + Battery

$14.99



4 Bay RAID External Hard Drive Enclosure for 2.5/3.5

4 Bay RAID External Hard Drive Enclosure for 2.5/3.5" SATA HDD/SSD

$79.99



Oracle 7332895 LSI MegaRAID 9361-16i 16-PORT 12GB SAS PCIE RAID CONTROLLER picture

Oracle 7332895 LSI MegaRAID 9361-16i 16-PORT 12GB SAS PCIE RAID CONTROLLER

$349.00