Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Turning OFF the Login Screen

  1. #1
    Junior Member
    Join Date
    Nov 2003
    Posts
    20

    Turning OFF the Login Screen

    I installed KNOPPIX onto a hard drive and I would like to remove the login screen... I want KNOPPIX to boot to the desktop without the need to sign in the "User Name and Password" Is there a way to turn off this feature ?

    In Windows XP I would leave thie user information blank during the installation process... and then I would never see a login screen again. Can I do the same with linux ?

    Tommy

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    This is a large security risk. It is not enabled by default to prevent random people from using a PC without authority. By enabling this feature, the security is circumvented.

    That said, you can enable this in the KDE Control Center under the System Administration section, then Login Manager, and then under the Convienence tab. You will have to use the button labeled "Administrator Mode" and enter the root user password in order to make changes.

  3. #3
    Junior Member
    Join Date
    Nov 2003
    Posts
    20
    The reaason for turning off the login screen is because I want to build an unattended headless server... If there is a power failure, I would like the system to re-boot automatically.

    Will I automatically default to the root directory if I turn off the login feature ?

    Tommy

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    I am a bit confused. Do you need a GUI desktop session for your server running all the time?
    You can boot a PC into command line console mode as the default boot & then run the GUI session as you need it. Right next to me is a Debian 3.1 box that is a file server. It default boots to command line but I did install the GUI on it and I can run it as a desktop I the need arose. It has a keyboard/mouse/monitor plugged into it but it is not necessary at all since it is possible to administrate the server remotely.

  5. #5
    Junior Member
    Join Date
    Nov 2003
    Posts
    20
    I know how to go into text mode while booting from the KNOPPIX CD... but how would I do that when I do a full install on a hard drive and the default mode uses the GUI interfece ?

    I'm setting up an asterisk server and do not need the GUI all the time...

    --Tommy

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    So you want text mode console as the default? If you then you need to edit the /etc/inittab file and change the default runlevel from 5 to 2.
    In the /etc/inittab file:
    Code:
    ...
    ...
    # The default runlevel
    id:5:initdefault:
    change the 5 to 2
    Code:
    ...
    ...
    # The default runlevel
    id:2:initdefault:
    The you can either reboot or force it to level 2 via the command: init 2

    I hope this helps.
    James

  7. #7
    Senior Member registered user
    Join Date
    Feb 2005
    Posts
    228
    I think UnderScore mentioned the key words: remote control. If you set up SSH with FreeNX server on the host and NXclient on the client, you can log in remotely from either Linux or Windows machines. You can even obtain root access if you open a terminal window from within your remote KDE session and provide the password. A person sitting in front of the host will only see the login screen, so the log in barrier remains intact even while you are doing maintenance from a remote computer (or a laptop directly connected through a crossover patch cable). It is also possible to shut down the host remotely by sending "shutdown -h now".

    Of course, you must put the server behind a firewall if you want it to connect to the Internet.

  8. #8
    Junior Member
    Join Date
    Nov 2003
    Posts
    20
    I'm impressed with FreeNX server... I tired it today and I was very suprised to see how well it worked. I tried VNC long long ago and had problems with the system crashing. FreeNX server works better than expected...

    Thanks

  9. #9
    Junior Member
    Join Date
    Nov 2003
    Posts
    20
    Thanks Underscore... I'll try that when I get Asterisk setup...

    So far I have Asterisk and KNOPPIX installed on a hard drive... The installation went smoothly. I also took your advice on how to remove the logon screen... The system boot directly into my desktop without any problems.

    I noticed Asterisk doesn't start automatically when I re-boot and there are a few things I need to do before starting Asterisk. How can I setup KNOPPIX to start a few tasks at startup ? Here are a few examples :

    modprobe zaptel
    modprobe wcfxo
    ztcfg -vvvv

    asterisk -cd vvvvvv

    These are the commands that need to be started and in this order... How can I execute these commands automatically on startup ?

    --Tommy

  10. #10
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    The modprobe lines can be dropped into /etc/modules-2.6.* file.

    So you want to start/run a service at bootup. Starting services like apache or bind are done through the scripts contained in the /etc/init.d/ directory. To start apache:
    /etc/init.d/apache start
    To stop apache:
    /etc/init.d/apache stop
    Where "/etc/init.d/apache" is the execution of the script and "start" or "stop" is an argument passed to the script. If you need to create your own script, well the Debian developers have left us a skeleton script at /etc/init.d/skeleton. See:
    http://www.debian.org/doc/FAQ/ch-cus...tombootscripts
    http://www.debian.org/doc/debian-pol...tml#s-sysvinit

    This might seem like overkill but as a sysadmin I tend to do this the 'proper' way even if it is overkill.

Page 1 of 2 12 LastLast

Similar Threads

  1. Not getting login screen
    By venkat.jackie in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 09-27-2007, 01:10 PM
  2. turning off screen saver / blanking at login screen
    By metavoid in forum General Support
    Replies: 4
    Last Post: 03-12-2005, 01:39 PM
  3. How do you get the login screen?`
    By rrfish72 in forum General Support
    Replies: 2
    Last Post: 08-06-2004, 08:58 AM
  4. Can't login to Debian login screen
    By turbines in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 04-17-2004, 04:40 PM
  5. knoppix boot errors - blank screen turning on/off
    By frozt54 in forum General Support
    Replies: 1
    Last Post: 04-06-2004, 06:28 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
  •