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
  •  


***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3 picture

***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3

$29.77



ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield picture

ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield

$42.00



Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD picture

Gigabyte AMD B550 UD AC Gaming Motherboard - AMD B550 Chipset - AM4 Socket - AMD

$89.99



Asus  PRIME H510M-A Intel LGA 1200 DDR4 SDRAM Desktop Motherboard w/ I/O shield picture

Asus PRIME H510M-A Intel LGA 1200 DDR4 SDRAM Desktop Motherboard w/ I/O shield

$64.98



Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard picture

Asus Prime H310M-A R2.0 Intel LGA 1151 DDR4 Desktop Motherboard

$46.99



MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard picture

MSI B450M PRO-VDH MAX AM4 AMD B450 USB3.2 Micro-ATX Motherboard

$67.99



Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151 picture

Micro ATX Desktop Motherboard ASUS H110M-C LGA 1151

$31.95



ASUS B150M-C Motherboard mATX W/LGA1151 6TH/7TH GEN CPU DDR4 SATA HDMI Tested picture

ASUS B150M-C Motherboard mATX W/LGA1151 6TH/7TH GEN CPU DDR4 SATA HDMI Tested

$55.00



GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box picture

GIGABYTE MB10-Datto Motherboard Xeon D-1521- SR2DF 2.40 GHz- Open Box

$121.50



BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled picture

BTC-S37 Mining Motherboard Kit /w SSD & Ram Preinstalled

$59.99