The Following User Says Thank You to rasmarc For This Useful Post: | ||
|
2015-05-08
, 12:54
|
Posts: 136 |
Thanked: 263 times |
Joined on Nov 2012
@ Germany
|
#32
|
That was it! I hadn't run the OSW Options configuration yet (I didn't know it existed). After configuring it I just rebooted the phone, now it's working! I tested it and it seems to work as expected (See attachments)
Perhaps you chould add a instruction to the first post that you should run the OSW Options configuration once before using it? I couldn't find anywhere that this was necessary.
The Following User Says Thank You to rasmarc For This Useful Post: | ||
|
2015-05-08
, 20:21
|
Posts: 136 |
Thanked: 263 times |
Joined on Nov 2012
@ Germany
|
#33
|
|
2015-05-11
, 16:00
|
Posts: 1,378 |
Thanked: 1,604 times |
Joined on Jun 2010
@ Göteborg, Sweden
|
#34
|
@handaxe: This could work for you. I uninstalled Sudser, which made sudo ask me for a password and the widget not switch anymore, just as you reported. This new version works properly again on my device.
/usr/sbin/openssh-status.sg start_sshd
The Following User Says Thank You to handaxe For This Useful Post: | ||
|
2015-05-11
, 16:21
|
Posts: 136 |
Thanked: 263 times |
Joined on Nov 2012
@ Germany
|
#35
|
Fook, it still will not start for me. Will take a look. But thanks, this is very nice.
/usr/sbin/update-sudoers
|
2015-05-11
, 16:37
|
Posts: 1,378 |
Thanked: 1,604 times |
Joined on Jun 2010
@ Göteborg, Sweden
|
#36
|
Another question:
1. Start the configuration dialog
2. Switch "Run server at system startup"
The Following User Says Thank You to handaxe For This Useful Post: | ||
|
2015-05-11
, 21:49
|
Posts: 1,378 |
Thanked: 1,604 times |
Joined on Jun 2010
@ Göteborg, Sweden
|
#37
|
The Following User Says Thank You to handaxe For This Useful Post: | ||
|
2015-05-12
, 09:04
|
Posts: 136 |
Thanked: 263 times |
Joined on Nov 2012
@ Germany
|
#38
|
Strange, but after some time, the app indicator "forgets" that the server is enabled. Pressing the drop-drown generates an "already running, updating screen" (or words to that effect) message and the indicator reappears.
Is this "sleep" related?
ps aux | grep -c usr/sbin/sshd
The Following User Says Thank You to rasmarc For This Useful Post: | ||
|
2015-05-12
, 09:26
|
Posts: 176 |
Thanked: 468 times |
Joined on Jan 2010
@ NL
|
#39
|
Anyway, when "Stop tracking status when off" is enabled (you do have it enabled?) the widget immediately stops tracking as soon as status OFF is recognized. To handle those occasional short intervals correctly, when the sshd daemon seems non-listed in the process list, a time-out needs to be added before tracking stops.
|
2015-05-12
, 14:46
|
Posts: 136 |
Thanked: 263 times |
Joined on Nov 2012
@ Germany
|
#40
|
Every once in a while the 'SSH' icon appears in the top tray-icon area (right of the clock) very briefly. It usually happens when I (dis)connect from a internet connection, or update my repositories. It even happens when "Stop tracking status when off" is enabled.
Do you have any idea why this might happen?
If so, an exclusion can be added not to ask for a password for the relevant commands (i never did this before, will have to try). And if that works an option in the configuration dialog would be useful.
Edit:
I was wrong here - the opposite is true. Sudser let's you execute sudo without a password. I'll have a look on how to execute the relevant commands without a password.
Last edited by rasmarc; 2015-05-08 at 15:07.