LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 10-10-2018, 05:09 PM   #1
kitand
LQ Newbie
 
Registered: Sep 2018
Posts: 21

Rep: Reputation: Disabled
Knoppix on usb, tweaks for power management and passwords?


I and family have been using Knoppix 8.1 booting from usb for a couple months now, with great success, getting rather fantastic use from an ancient Dell laptop.
The "stock utilities" in knoppix are a bit bare-bones, and I'm wondering if there might be some command-line solutions for a couple tweaks.

1. There is no power management gui on the menu in v8.1. It would be nice to be able to have the computer sleep/suspend after a specified time. Way to do that, perhaps thru terminal?

2. I initially set the usb stick as requiring no login password, but it'd be nice to be able to change that and require a password both at power-on and at lock-screen. There is no apparent way to do that via menu utilities.

3. I'd like to also to have a password to wake the computer from sleep. Xscreensaver is in the menu, and has an option of screen lock (after specified minutes). Out of curiosity, I ticked this box, and the result is that it DOES insist on a password once the screen is locked, yet no password has ever been set for it, and xscreensaver (in knoppix at least) offers no way to do that. (I simply had to restart the machine and untick the tick box.)

BTW, the knoppix specialty forum knoppix.net does not seem to let any new members post anything, and there is almost no new activity there other than people browsing the forum archives. That's why I come to linuxquestions.

Last edited by kitand; 10-10-2018 at 05:12 PM.
 
Old 10-11-2018, 10:10 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro / Parrot
Posts: 7,182

Rep: Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439
Knoppix is a no install OS and if it does not have persistence any changes anyone makes to it will be lost, as you should have discovered being a long time (couple months now) user of said OS. if it has the ability to install and keep the newly added apps on the system then depending on the desktop/window manager used then determines the type of power saving methods needed / available to be used, and then their is the login manager, which one it is using to know what file to edit to remove auto login.

KNOPPIX Persistent – Saving settings to USB

Last edited by BW-userx; 10-11-2018 at 10:15 AM.
 
Old 10-11-2018, 12:22 PM   #3
kitand
LQ Newbie
 
Registered: Sep 2018
Posts: 21

Original Poster
Rep: Reputation: Disabled
Hi BW--
It's not as apparent as you say, since knoppix usb can "remember" changes I make to things like screensaver settings, files I store on the usb, printer setup, or adding/updating its software suite. Also, I recall making tweaks to similar pendrive puppy some years ago involving power-down behavior, with the help of the puppy forum. That involved making some "surgical" changes inside system files--rather than any command line--so perhaps my initial question was naive in that sense. It's too bad there is not currently an active specialty forum for the useful and fairly updated knoppix.

I suppose my better option now for password protection is to simply install it anew on a usb, this time using security options, but I still have not thought of a workaround for automatic sleep or power-down.
 
Old 10-11-2018, 01:00 PM   #4
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro / Parrot
Posts: 7,182

Rep: Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439
Quote:
Originally Posted by kitand View Post
Hi BW--
It's not as apparent as you say, since knoppix usb can "remember" changes I make to things like screensaver settings, files I store on the usb, printer setup, or adding/updating its software suite. Also, I recall making tweaks to similar pendrive puppy some years ago involving power-down behavior, with the help of the puppy forum. That involved making some "surgical" changes inside system files--rather than any command line--so perhaps my initial question was naive in that sense. It's too bad there is not currently an active specialty forum for the useful and fairly updated knoppix.

I suppose my better option now for password protection is to simply install it anew on a usb, this time using security options, but I still have not thought of a workaround for automatic sleep or power-down.
no , now that you know that your OS USB stick has persistence then what was my second part? just figure out what login manager it is using, then edit its config file to remove auto login. this is what Linux/GNU is about, yes surgical doctory is needed, you can even use the command line using sed to change config files. simply making a new usb stick you're still going to be needing to learn how to preform surgery on it if you want to customize it, or change its default settings. it is not as hard as you may think it is, but then again I do not know your aptitude for such things.

Last edited by BW-userx; 10-11-2018 at 01:02 PM.
 
  


Reply

Tags
knoppix, passwords, power management, screensaver


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help regarding usb power management tomasi02 Programming 0 08-03-2012 04:04 AM
[SOLVED] usb power management (suspend) gone in 2.6.34?! Olaus Linux - Kernel 7 02-10-2011 11:15 AM
Disabling USB power management for external HD Gallifrey Linux - Hardware 2 03-12-2010 12:02 PM
USB power management? Want to charge my mobile/cell/handy phone with USB port. icy-flame Linux - General 1 05-23-2009 07:01 PM
A question about power management of usb smhs Linux - Hardware 2 08-29-2005 02:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions

All times are GMT -5. The time now is 10:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration