Results 1 to 10 of 10

Thread: xscreensaver requires password for user knoppix

  1. #1
    Junior Member
    Join Date
    Sep 2010
    Posts
    1

    Angry xscreensaver requires password for user knoppix

    Running Knoppix 6.2.1 boot DVD:

    While doing a long dd operation on my wife's laptop, I thought of closing the laptop to save power. When I opened it I was given an xscreensaver Login window with username knoppix (which cannot be changed). I tried blank password, "knoppix", "root"... nothing worked.

    Eventually just had to shut power off to the laptop to regain access.

    Is this a known issue? What is the password?

    Thanks,

    Michael

  2. #2
    Senior Member registered user
    Join Date
    Feb 2010
    Posts
    512
    You have to set a password for the user knoppix. You can do so by switching to a console (the key combination Ctrl-Alt-F1 should work) and issuing
    Code:
    passwd knoppix
    You can switch back to the graphical desktop environment with the key combination Alt-F5.

  3. #3
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by klaus2008 View Post
    You have to set a password for the user knoppix. You can do so by switching to a console (the key combination Ctrl-Alt-F1 should work)
    This does not work on any system I've tried it on since version 6 came out. The command that does the trick is (from terminal):
    Code:
    chvt 1
    Once I get there, the "return to X" combo described below works.
    and issuing
    Code:
    passwd knoppix
    You can switch back to the graphical desktop environment with the key combination Alt-F5.
    Cheers!
    Krishna

  4. #4
    Junior Member
    Join Date
    Jan 2011
    Posts
    5

    Question uhh what am I missing here?!

    I got terminal .... entered chvt 1 and got an error out to prompt. so, input passwd knoppix and got prompted for the current password ... which we do not know! so, again how to change it so I do not keep getting locked out with this scrnsvr? pretty please! Yannos

  5. #5
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by yannos View Post
    I got terminal .... entered chvt 1 and got an error out to prompt. so, input passwd knoppix and got prompted for the current password ... which we do not know! so, again how to change it so I do not keep getting locked out with this scrnsvr? pretty please! Yannos
    Hmm - not entirely clear what's happening, but I'll take a swing at it.

    1) Check out the Preferences section on the main menu for the screensaver settings. I don't like them much, and don't want to get locked out, so I disabled it on my own system. This has to be done each time you log in, unless you set up a permanent store, which makes Knoppix act much like a "regular" OS that remembers your settings from one login to the next (or mostly does, anyway.) It does require "installing" on a writable medium, though.

    2) Or, try using the sudo [command] format to give yourself temporary root powers; sudo chvt 1 will get you over to that root console. One other way to use it is:
    Code:
    sudo su -
    That sends you to a full root-logged-in status, if you need it. Simply prefixing commands with sudo gives you a little bit of protection in case of typos, etc. - nice not to accidentally remove everything on the hard drive (for instance), which the system would do unquestioningly if you just type in commands as root.

    Cheers!
    Krishna

  6. #6
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    @ krishna

    I have a question for you. Folks with just the CD can't save any settings, not even the password. So each time they (re)boot, they've got to set the password or change the preference all over again. Small wonder they may be tempted to suspend or hibernate rather than reboot.

    The snag is that when you resume or wake you get asked for a password you've never set and it won't take no answer for an answer. I was lucky, ctrl-alt-f2 worked for me and I set a password and then told the screen lock where to go.

    The screen saver doesn't have a lock. It comes on, goes off just fine. I've opened Preferences > Screensaver and Lock Screen After box is unchecked. I can't find a check box for 'require password on resume', not for LXDE. On the advanced tab I find Power Management Enabled is unchecked. I've open Preferences > Power Management but can find no pertinent check box.

    Where is the Preferences folks must set to stop LXDE asking for a password that's not been set when the PC / laptop resumes from suspension or wakes from hibernation ?

    @ yannos and others

    Code:
    passwd knoppix
    will ask for the old password. If you've never set a password, just hit return.

    If you want to set a new password and can't remember the old one, just to

    Code:
    sudo passwd knoppix

  7. #7
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Quote Originally Posted by Forester View Post
    @ krishna

    I have a question for you. Folks with just the CD can't save any settings, not even the password. So each time they (re)boot, they've got to set the password or change the preference all over again. Small wonder they may be tempted to suspend or hibernate rather than reboot.

    The snag is that when you resume or wake you get asked for a password you've never set and it won't take no answer for an answer. I was lucky, ctrl-alt-f2 worked for me and I set a password and then told the screen lock where to go.

    The screen saver doesn't have a lock. It comes on, goes off just fine. I've opened Preferences > Screensaver and Lock Screen After box is unchecked. I can't find a check box for 'require password on resume', not for LXDE. On the advanced tab I find Power Management Enabled is unchecked. I've open Preferences > Power Management but can find no pertinent check box.

    Where is the Preferences folks must set to stop LXDE asking for a password that's not been set when the PC / laptop resumes from suspension or wakes from hibernation ?
    Take a look at System Tools -> Configuration Editor. I'm fairly sure that's where I found that, probably under Desktop.

    Cheers!
    Krishna

  8. #8
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Take a look at System Tools -> Configuration Editor. I'm fairly sure that's where I found that, probably under Desktop.
    Nice try. Couldn't find anything under there that looked pertinent. Anyway, isn't this the Configuration Editor for the Gnome desktop and thus totally impertinent ?

  9. #9
    Moderator Moderator
    Join Date
    Jan 2010
    Location
    Asheville, NC, USA
    Posts
    528
    Oops! Try System Tools -> XscreenSaver Setup and see what that does for you.

    Cheers!

    Krishna

  10. #10
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Quote Originally Posted by krishna.murphy View Post
    Oops! Try System Tools -> XscreenSaver Setup and see what that does for you.
    Oops! I have Knoppix 6.4.3 (MAXI) and it does not seem to have System Tools -> XscreenSaver Setup.

    If it had, I would have tried that already but I've just looked again and it isn't there.

    Cheers!

Posting Permissions

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


DELL PowerEdge R730XD 24x 2.5

DELL PowerEdge R730XD 24x 2.5" Server Dual 750W Dual Heatsink - BareBones TESTED

$269.99



Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS picture

Supermicro 4U 36 Bay Storage Server 2.2Ghz 16-C 128GB 1x1280W Rails TrueNAS ZFS

$725.06



Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU

$399.04



CSE-118 Supermicro 1U GPU Server 2.6Ghz 28-C 128GB 2x Nvidia K40 GPU 2x1600W PSU picture

CSE-118 Supermicro 1U GPU Server 2.6Ghz 28-C 128GB 2x Nvidia K40 GPU 2x1600W PSU

$580.03



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$44.99



INTEL XEON GOLD 6148 2.40 GHz SR3B6 CPU picture

INTEL XEON GOLD 6148 2.40 GHz SR3B6 CPU

$98.99



Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H picture

Intel Xeon E5-2697 v2 2.7GHz 30M 12-Core LGA2011 CPU Processor SR19H

$27.99



Dell Precision T3600 Intel Xeon 2.8 E5-1603 240GB SSD 24GB RAM No OS Project PC picture

Dell Precision T3600 Intel Xeon 2.8 E5-1603 240GB SSD 24GB RAM No OS Project PC

$99.99



HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45 picture

HP ProLiant DL380 Gen9 16SFF 2x E5-2680v4 2.4GHz =28 Cores 64GB P840 4xRJ45

$353.00