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 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11 picture

Dell 9020 Optiplex Micro-Intel Core i5 - 1TB SSD 8GB RAM Window 11

$119.49



Dell 15.6

Dell 15.6" NVIDIA Gaming Laptop - Intel Quad Core i7 64GB RAM 2TB SSD Windows 11

$523.00



NEW HP S01 SLIM DESKTOP PC & 27

NEW HP S01 SLIM DESKTOP PC & 27" MONITOR 10TH GEN CORE i3 3.7GHZ 8GB 256GB SSD

$269.99



Dell Desktop PC Computer Core i5 1TB 8GB DUAL 19

Dell Desktop PC Computer Core i5 1TB 8GB DUAL 19" LCD WiFi Windows 10

$157.86



NEW OEM Tray AMD Ryzen 7 5700X 8-Core 16-Thread 3.4GHz Socket AM4 CPU Processor picture

NEW OEM Tray AMD Ryzen 7 5700X 8-Core 16-Thread 3.4GHz Socket AM4 CPU Processor

$149.00



24

24" APPLE iMAC M1 4.5K RETINA 1TB SSD 16GB RAM 8-CORE 8-CORE GPU YELLOW TOUCH ID

$1595.00



Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5... picture

Intel - Core i5-13600K 13th Gen 14 cores 6 P-cores + 8 E-cores 24M Cache, 3.5...

$283.99



Intel Xeon E5-2690 2.9GHz 8 Core 20MB 8GT/s 135W Processor SR0L0 picture

Intel Xeon E5-2690 2.9GHz 8 Core 20MB 8GT/s 135W Processor SR0L0

$8.69



Dell Latitude 7400 Gaming Laptop PC Intel Core i7 4.2GHz 64GB RAM 2TB SSD Win 11 picture

Dell Latitude 7400 Gaming Laptop PC Intel Core i7 4.2GHz 64GB RAM 2TB SSD Win 11

$546.00



Lenovo Loq 15Irh8 15

Lenovo Loq 15Irh8 15" Laptop Core i5-13420H GeForce RTX 2050 16GB 512GB SSD W11H

$529.99