Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 10 Dec 2019, 09:16
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
TazPuppy Beta 41
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 58 of 69 [1022 Posts]   Goto page: Previous 1, 2, 3, ..., 56, 57, 58, 59, 60, ..., 67, 68, 69 Next
Author Message
darry19662018

Joined: 31 Mar 2018
Posts: 652
Location: Rakaia

PostPosted: Thu 25 Apr 2019, 06:17    Post subject:  

Mmmm since upgrade I have had GDbus error at the start.

Other than that upgrade went smoothly.

_________________
Puppy Linux Wiki: http://wikka.puppylinux.com/HomePage

https://freemedia.neocities.org/
Back to top
View user's profile Send private message Visit poster's website 
s243a

Joined: 02 Sep 2014
Posts: 2199

PostPosted: Thu 25 Apr 2019, 17:16    Post subject:  

darry19662018 wrote:
Mmmm since upgrade I have had GDbus error at the start.

Other than that upgrade went smoothly.


This won't be enough info to help yet but might give some insite into what is going on:
Quote:

gdbus
gdbus — Tool for working with D-Bus objects
...

....
call

Invokes a method on a remote object. Each argument to pass to the method must be specified as a serialized GVariant except that strings do not need explicit quotes. The return values are printed out as serialized GVariant values.
...
With this information, it's easy to use the call command to display a notification
Code:

$ gdbus call --session \
             --dest org.freedesktop.Notifications \
             --object-path /org/freedesktop/Notifications \
             --method org.freedesktop.Notifications.Notify \
             my_app_name \
             42 \
             gtk-dialog-info \
             "The Summary" \
             "Here's the body of the notification" \
             [] \
             {} \
             5000
(uint32 12,)

Monitoring all objects on a service:
Code:

$ gdbus monitor --system --dest org.freedesktop.ConsoleKit
Monitoring signals from all objects owned by org.freedesktop.ConsoleKit
The name org.freedesktop.ConsoleKit is owned by :1.15
/org/freedesktop/ConsoleKit/Session2: org.freedesktop.ConsoleKit.Session.ActiveChanged (false,)
/org/freedesktop/ConsoleKit/Seat1: org.freedesktop.ConsoleKit.Seat.ActiveSessionChanged ('',)
/org/freedesktop/ConsoleKit/Session2: org.freedesktop.ConsoleKit.Session.ActiveChanged (true,)
/org/freedesktop/ConsoleKit/Seat1: org.freedesktop.ConsoleKit.Seat.ActiveSessionChanged ('/org/freedesktop/ConsoleKit/Session2',)


https://developer.gnome.org/gio/stable/gdbus.html

Some potentially useful further reading:
GIO Reference Manual: Migrating to GDBus
https://stackoverflow.com/questions/37185735/sample-program-for-gdbus-signals
Back to top
View user's profile Send private message Visit poster's website 
darry19662018

Joined: 31 Mar 2018
Posts: 652
Location: Rakaia

PostPosted: Thu 25 Apr 2019, 20:42    Post subject:  

Thanks mate at work will give more details later.
_________________
Puppy Linux Wiki: http://wikka.puppylinux.com/HomePage

https://freemedia.neocities.org/
Back to top
View user's profile Send private message Visit poster's website 
s243a

Joined: 02 Sep 2014
Posts: 2199

PostPosted: Thu 25 Apr 2019, 23:47    Post subject:  

darry19662018 wrote:
Thanks mate at work will give more details later.


I have a wild hunch. Run the command:
Code:

ps -aux | grep kit


I think for lxde you want to have either polkit or console-lot kit running. If they aren't running they can be manually started with the commands:

Code:

/usr/lib/polkit-1/polkitd

and
Code:

/usr/sbin/console-kit-daemon


The packages might also be able to be started via dbus if the permissions are right...I say this because when I was googling for this type of error, I didn't see anyone suggesting that we manually start these daemons...with the execption of the gentoo wiki. In gentoo there seems to be a script to start the consolekit daemon in init.d but this doesn't seem to be the case in SliTaz.

P.S. one might find more dbus related error messages in:
Code:

/var/log/daemon.log
Back to top
View user's profile Send private message Visit poster's website 
darry19662018

Joined: 31 Mar 2018
Posts: 652
Location: Rakaia

PostPosted: Fri 26 Apr 2019, 02:12    Post subject:  

Hi s243a,

Here is the pop up message that appears when desktop starts
Quote:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files

_________________
Puppy Linux Wiki: http://wikka.puppylinux.com/HomePage

https://freemedia.neocities.org/
Back to top
View user's profile Send private message Visit poster's website 
darry19662018

Joined: 31 Mar 2018
Posts: 652
Location: Rakaia

PostPosted: Fri 26 Apr 2019, 02:15    Post subject:  

ran ps -aux | grep kit

got: ps -aux | grep kit
Warning: bad ps syntax, perhaps a bogus '-'? See http://procps.sf.net/faq.html
tux 10374 0.2 1.5 30968 15724 ? Sl 18:01 0:01 lxpolkit
root 10511 0.0 0.4 31644 4468 ? Sl 18:01 0:00 /usr/lib/polkit-1/polkitd --no-debug
tux 22965 0.0 0.1 5096 1872 pts/0 S+ 18:13 0:00 grep kit

_________________
Puppy Linux Wiki: http://wikka.puppylinux.com/HomePage

https://freemedia.neocities.org/
Back to top
View user's profile Send private message Visit poster's website 
darry19662018

Joined: 31 Mar 2018
Posts: 652
Location: Rakaia

PostPosted: Fri 26 Apr 2019, 02:20    Post subject:  

ran: /usr/lib/polkit-1/polkitd
Entering main event loop
Connected to the system bus
Registering null backend at priority -10
Error loading /var/run/ConsoleKit/database: Error statting file /var/run/ConsoleKit/database: No such file or directoryUsing authority class PolkitBackendLocalAuthority
Lost the name org.freedesktop.PolicyKit1 - exiting
Shutting down
Exiting with code 0

_________________
Puppy Linux Wiki: http://wikka.puppylinux.com/HomePage

https://freemedia.neocities.org/
Back to top
View user's profile Send private message Visit poster's website 
s243a

Joined: 02 Sep 2014
Posts: 2199

PostPosted: Fri 26 Apr 2019, 02:59    Post subject:  

darry19662018 wrote:
ran: /usr/lib/polkit-1/polkitd
Entering main event loop
Connected to the system bus
Registering null backend at priority -10
Error loading /var/run/ConsoleKit/database: Error statting file /var/run/ConsoleKit/database: No such file or directoryUsing authority class PolkitBackendLocalAuthority
Lost the name org.freedesktop.PolicyKit1 - exiting
Shutting down
Exiting with code 0


From the output, I'm wondering if you have consolekit installed...but I don't think you need it unless you are booting with screen=text; and even then I'm not completly sure it's necessary (see TazPup64 post).

Interesting output though Smile It might shed some light on things.

Anyway, I have consolkit installed on TazPup64 and looking at the file list, I suspect the following file is what triggers consolkit:
Code:

/usr/share/polkit-1/actions/org.freedesktop.consolekit.policy

**Just a wild guess though.

Other files in this list that look like they might trigger some kind of action are:
Code:

/lib/udev/rules.d/71-udev-seat.rules
/lib/udev/rules.d/70-udev-acl.rules
/etc/logrotate.d/consolekit
/etc/dbus-1/system.d/ConsoleKit.conf
/etc/X11/app-defaults/xinitrc.d/90-consolekit.sh
/etc/ConsoleKit/seats.d/00-primary.seat

**These are just guesses though I made from looking at their name and path.
Back to top
View user's profile Send private message Visit poster's website 
s243a

Joined: 02 Sep 2014
Posts: 2199

PostPosted: Fri 26 Apr 2019, 03:17    Post subject:  

darry19662018 wrote:
Hi s243a,

Here is the pop up message that appears when desktop starts
Quote:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.ConsoleKit was not provided by any .service files


The question is which process is looking for the ConsoleKit service. You could install consolkit but I suspect that you don't need it. However, if you do install consolkit the ".service" file is located at:
Code:

/usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service

I found this out by looking at:
Code:

/var/lib/tazpkg/installed/consolekit2/files.list

on tazpup64. Here are the contents of the file:
Code:

[D-BUS Service]
Name=org.freedesktop.ConsoleKit
Exec=/usr/sbin/console-kit-daemon --no-daemon
User=root

but don't add this file to your system, it will appear automatically if you install consolekit and as I note above you probably don't need consolekit.
Back to top
View user's profile Send private message Visit poster's website 
darry19662018

Joined: 31 Mar 2018
Posts: 652
Location: Rakaia

PostPosted: Fri 26 Apr 2019, 03:28    Post subject:  

Through running the commands you suggested I have found I don't have consolekit and checked package manager there is no entry for it.

I have had the message since I updated.

_________________
Puppy Linux Wiki: http://wikka.puppylinux.com/HomePage

https://freemedia.neocities.org/
Back to top
View user's profile Send private message Visit poster's website 
darry19662018

Joined: 31 Mar 2018
Posts: 652
Location: Rakaia

PostPosted: Fri 26 Apr 2019, 04:28    Post subject:  

I have installed consolekit and no difference.
_________________
Puppy Linux Wiki: http://wikka.puppylinux.com/HomePage

https://freemedia.neocities.org/
Back to top
View user's profile Send private message Visit poster's website 
darry19662018

Joined: 31 Mar 2018
Posts: 652
Location: Rakaia

PostPosted: Fri 26 Apr 2019, 16:01    Post subject:  

Have found out! lxde now uses lxpolkit instead of polkit which needs to be disabled.
_________________
Puppy Linux Wiki: http://wikka.puppylinux.com/HomePage

https://freemedia.neocities.org/
Back to top
View user's profile Send private message Visit poster's website 
s243a

Joined: 02 Sep 2014
Posts: 2199

PostPosted: Fri 26 Apr 2019, 16:44    Post subject:  

darry19662018 wrote:
Have found out! lxde now uses lxpolkit instead of polkit which needs to be disabled.


Good find! As a side note, I think that lxpolkit is started via the following file:
Code:

/etc/xdg/autostart/lxpolkit.desktop

so it might be possible to alternatively disable lxpolkit if you prefer. I'm not sure what the differences are.
Back to top
View user's profile Send private message Visit poster's website 
s243a

Joined: 02 Sep 2014
Posts: 2199

PostPosted: Fri 26 Apr 2019, 19:36    Post subject:  

darry19662018 wrote:
Have found out! lxde now uses lxpolkit instead of polkit which needs to be disabled.


BTW how did you disable polkit? Also was there something you found online about this or did you figure it all out yourself?
Back to top
View user's profile Send private message Visit poster's website 
darry19662018

Joined: 31 Mar 2018
Posts: 652
Location: Rakaia

PostPosted: Sat 27 Apr 2019, 02:31    Post subject:  

Sigh in this distro there is no way to stop polkit so seem to be stuck with this problem may have to find another window manager.
_________________
Puppy Linux Wiki: http://wikka.puppylinux.com/HomePage

https://freemedia.neocities.org/
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 58 of 69 [1022 Posts]   Goto page: Previous 1, 2, 3, ..., 56, 57, 58, 59, 60, ..., 67, 68, 69 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1348s ][ Queries: 12 (0.0606s) ][ GZIP on ]