Active Topics

 



Notices


Reply
Thread Tools
Posts: 176 | Thanked: 468 times | Joined on Jan 2010 @ NL
#21
Originally Posted by rasmarc View Post
Does
Code:
 /usr/lib/hildon-desktop/openssh-status-widget.py
give you any output on the terminal?
It does!

Code:
BusyBox v1.23.1 (Debian 1.23.1power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled

BusyBox v1.23.1 (Debian 1.23.1power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # /usr/lib/hildon-desktop/openssh-status-widget.py
 
process 1956: arguments to dbus_connection_get_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5757.
This is normally a bug in some application using the D-Bus library.
process 1956: arguments to dbus_connection_set_data() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 5721.
This is normally a bug in some application using the D-Bus library.
Aborted
I am running CSSU-testing, not thumb, might that be a problem?
__________________
Sony CMD J6 > HTC Canary > HTC Universal > Nokia N82 > Nokia N8 > Nokia N900 > HTC One X > Jolla > Nexus 5 > Nexus 5X > Pixel 2 / PinePhone
 

The Following User Says Thank You to ThomasAH For This Useful Post:
Posts: 136 | Thanked: 263 times | Joined on Nov 2012 @ Germany
#22
Originally Posted by ThomasAH View Post
It does!

[I am running CSSU-testing, not thumb, might that be a problem?
I cannot say much about that. You can try in a terminal (one line):

Code:
dbus-send --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog string:qwertz uint32:0 string:
Does this display a popup message?

If so (and if not also) try this one:

Code:
run-standalone.sh dbus-send --print-reply --type=method_call --dest=org.freedesktop.Notifications /org/freedesktop/Notifications org.freedesktop.Notifications.SystemNoteDialog string:qwertz uint32:0 string:dummy
 

The Following User Says Thank You to rasmarc For This Useful Post:
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#23
Originally Posted by rasmarc View Post
The widget uses the same command ("sudo /etc/init.d/ssh start"). What about stopping the server by short pressing (that's "sudo /etc/init.d/ssh stop") and long pressing ("sudo killall sshd") the button? Does that work for you?
Ok, the issue is "sudo". My setup asks for a password.
 

The Following User Says Thank You to handaxe For This Useful Post:
Posts: 176 | Thanked: 468 times | Joined on Jan 2010 @ NL
#24
I tried, and the outcome is interesting

As root, the first command fails and the second succeeds. However, when I tried them as a normal user (not root), both of them worked!

Here is the output:
Code:
BusyBox v1.23.1 (Debian 1.23.1power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ sudo gainroot
Root shell enabled


BusyBox v1.23.1 (Debian 1.23.1power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/home/user # dbus-send --dest=org.freedesktop.Notifications /
org/freedesktop/Notifications org.freedesktop.Notifications.S
ystemNoteDialog string:qwertz uint32:0 string:
Failed to open connection to "session" message bus: (null)

/home/user # run-standalone.sh dbus-send --print-reply --typ
e=method_call --dest=org.freedesktop.Notifications /org/free
desktop/Notifications org.freedesktop.Notifications.SystemNo
teDialog string:qwertz uint32:0 string:dummy
method return sender=:1.31 -> dest=:1.132 reply_serial=2
   uint32 12

/home/user # exit

~ $ dbus-send --dest=org.freedesktop.Notifications /org/free
desktop/Notifications org.freedesktop.Notifications.SystemNo
teDialog string:qwertz uint32:0 string:

~ $ run-standalone.sh dbus-send --print-reply --type=method_
call --dest=org.freedesktop.Notifications /org/freedesktop/N
otifications org.freedesktop.Notifications.SystemNoteDialog 
string:qwertz uint32:0 string:dummy
method return sender=:1.31 -> dest=:1.134 reply_serial=2
   uint32 14
Hope this helps!
__________________
Sony CMD J6 > HTC Canary > HTC Universal > Nokia N82 > Nokia N8 > Nokia N900 > HTC One X > Jolla > Nexus 5 > Nexus 5X > Pixel 2 / PinePhone
 

The Following User Says Thank You to ThomasAH For This Useful Post:
Posts: 136 | Thanked: 263 times | Joined on Nov 2012 @ Germany
#25
Originally Posted by ThomasAH View Post
Hope this helps!
I've been on the wrong track. Please try again as user, not root:
Code:
/usr/lib/hildon-desktop/openssh-status-widget.py
Any output this time?
 

The Following User Says Thank You to rasmarc For This Useful Post:
Posts: 176 | Thanked: 468 times | Joined on Jan 2010 @ NL
#26
Originally Posted by rasmarc View Post
I've been on the wrong track. Please try again as user, not root:
Code:
/usr/lib/hildon-desktop/openssh-status-widget.py
Any output this time?
No output at all, not even a error message.

As user:
Code:
BusyBox v1.23.1 (Debian 1.23.1power2) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ /usr/lib/hildon-desktop/openssh-status-widget.py 
~ $
__________________
Sony CMD J6 > HTC Canary > HTC Universal > Nokia N82 > Nokia N8 > Nokia N900 > HTC One X > Jolla > Nexus 5 > Nexus 5X > Pixel 2 / PinePhone
 

The Following User Says Thank You to ThomasAH For This Useful Post:
Posts: 136 | Thanked: 263 times | Joined on Nov 2012 @ Germany
#27
Originally Posted by ThomasAH View Post
No output at all, not even a error message.
Have you started the configuration dialog once? It's in the application menu, called "OSW Options". Then please restart the status menu from the the configiguration dialog's main menu.

Still an empty button?

Last edited by rasmarc; 2015-05-08 at 13:28.
 

The Following User Says Thank You to rasmarc For This Useful Post:
Posts: 136 | Thanked: 263 times | Joined on Nov 2012 @ Germany
#28
Originally Posted by handaxe View Post
Ok, the issue is "sudo". My setup asks for a password.
Which packages have you installed? rootsh and Sudser?
 
Posts: 1,378 | Thanked: 1,604 times | Joined on Jun 2010 @ Göteborg, Sweden
#29
Originally Posted by rasmarc View Post
Which packages have you installed? rootsh and Sudser?
rootsh....

Difficult to remember, but I probably set a root password (?)
 

The Following User Says Thank You to handaxe For This Useful Post:
Posts: 176 | Thanked: 468 times | Joined on Jan 2010 @ NL
#30
Originally Posted by rasmarc View Post
Have you started the configuration dialog once? It's in the application menu, called "OSW Options". Then please restart the status menu from the the configiguration dialog's main menu.
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.

Thanks a lot for all your help and patience, and for the status-widget of course!

PS.: I love the blowfish icon
Attached Images
   
__________________
Sony CMD J6 > HTC Canary > HTC Universal > Nokia N82 > Nokia N8 > Nokia N900 > HTC One X > Jolla > Nexus 5 > Nexus 5X > Pixel 2 / PinePhone

Last edited by ThomasAH; 2015-05-08 at 12:25.
 

The Following 2 Users Say Thank You to ThomasAH For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 15:57.