TazPuppy 5.0 rc2

Under development: PCMCIA, wireless, etc.
Message
Author
darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#861 Post by darry19662018 »

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: [url]http://wikka.puppylinux.com/HomePage[/url]

[url]https://freemedia.neocities.org/[/url]

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#862 Post by darry19662018 »

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: [url]http://wikka.puppylinux.com/HomePage[/url]

[url]https://freemedia.neocities.org/[/url]

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#863 Post by s243a »

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 :) 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: Select all

/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: Select all

/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.

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#864 Post by s243a »

darry19662018 wrote:Hi s243a,

Here is the pop up message that appears when desktop starts
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: Select all

/usr/share/dbus-1/system-services/org.freedesktop.ConsoleKit.service
I found this out by looking at:

Code: Select all

/var/lib/tazpkg/installed/consolekit2/files.list
on tazpup64. Here are the contents of the file:

Code: Select all

[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.

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#865 Post by darry19662018 »

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: [url]http://wikka.puppylinux.com/HomePage[/url]

[url]https://freemedia.neocities.org/[/url]

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#866 Post by darry19662018 »

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

[url]https://freemedia.neocities.org/[/url]

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#867 Post by darry19662018 »

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

[url]https://freemedia.neocities.org/[/url]

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#868 Post by s243a »

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: Select all

/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.

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#869 Post by s243a »

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?

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#870 Post by darry19662018 »

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: [url]http://wikka.puppylinux.com/HomePage[/url]

[url]https://freemedia.neocities.org/[/url]

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#871 Post by s243a »

darry19662018 wrote: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.
I found a way to get rid of this error message. In /ect/xdg/autostart:
rename:

Code: Select all

lxpolkit.desktop
to

Code: Select all

lxpolkit.desktop-back
in $HOME/.config/lxsession/LXDE/desktop.conf
change:

Code: Select all

polkit/command=lxpolkit
to

Code: Select all

polkit/command=none
The last change was a complete guess so I don't know if it will cause any problems. It did get rid of the GDBus message at startup though :)

P.S. I did read that you can replace lxpolkit with policykit-1-gnome. However, to do this we would need to compile policykit-1-gnome. The disadvantage of this is that policykit-1-gnome has more dependencies. The advantage though is that policykit-1-gnome is probably less buggy.

darry19662018
Posts: 721
Joined: Sat 31 Mar 2018, 08:01
Location: Rakaia
Contact:

#872 Post by darry19662018 »

Thanks mate working so far will report back any problems.
Puppy Linux Wiki: [url]http://wikka.puppylinux.com/HomePage[/url]

[url]https://freemedia.neocities.org/[/url]

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#873 Post by mistfire »

TazPuppy Beta 26 released

Changes:
* Build from recent slitaz release
* Improve boot process and initrd
* Now supports debian, red hat, slackware, and arch linux packages natively

Download: https://drive.google.com/open?id=1wjMr1 ... vbinNXs9Ok

Build kit: https://drive.google.com/open?id=1lEm0n ... iUYrbdACSr

thinkpadfreak
Posts: 98
Joined: Mon 17 Oct 2016, 05:11

#874 Post by thinkpadfreak »

Hello.
I have installed beta 26.

One thing I have noticed is that, when I click a desktop icon, for example, "home" icon, I am asked whether to execute the application or not.
(I have logged in as root.)

Such a thing did not happen before.

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#875 Post by mistfire »

@thinkpadfreak this will fix the problem

1. Go to PCManFM
2. Click Edit preferences
3. Tick "Don't ask option to launch executable file"
4. Click OK

User avatar
peebee
Posts: 4370
Joined: Sun 21 Sep 2008, 12:31
Location: Worcestershire, UK
Contact:

#876 Post by peebee »

mistfire wrote:@thinkpadfreak this will fix the problem

1. Go to PCManFM
2. Click Edit preferences
3. Tick "Don't ask option to launch executable file"
4. Click OK
Sadly, this is a "feature" of pcmanfm since version 1.3.... and if you tick that option it affects not only .desktop files but also scripts....... which is unfortunate.

There is a workaround whereby you put the .desktop file in a subdirectory of /usr/share/applications with NoDisplay=true set and then make a 2nd Type=Link .desktop file where you want it to be. Rather messy.

e.g.
[Desktop Entry]
Type=Link
Encoding=UTF-8
Name=Web Check
URL=/usr/share/applications/cloud/webcheck.desktop
Icon=secondlife_icon
ImageLxPup = Puppy + LXDE
Main version used daily: LxPupSc; Assembler of UPups, ScPup & ScPup64, LxPup, LxPupSc & LxPupSc64

thinkpadfreak
Posts: 98
Joined: Mon 17 Oct 2016, 05:11

#877 Post by thinkpadfreak »

Hi, mistfire and peebee.

Thank you both for the advice / information.

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#878 Post by mistfire »

TazPuppy Beta 27 released

Changes:
* "Don't ask option to launch executable file" setting in PCManFM is now enabled by default in order to handle desktop files
* Improved rc.update script

Download: https://drive.google.com/open?id=1Hj49z ... zL3kyt-BpZ
MD5 Checksum: d2c7381aa939e4c0a89e938b77ff56c6

Build kit: https://drive.google.com/file/d/19C3JQE ... sp=sharing

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#879 Post by mistfire »

About gdbus error, the latest build of slitaz has a bug. lxpolkit requires consolekit. I posted this bug on slitaz forum. I hope they will fix it

mistfire
Posts: 1411
Joined: Wed 05 Nov 2008, 00:35
Location: PH

#880 Post by mistfire »

TazPuppy Beta 28 released

* Bugfix on gdbus occuring from later slitaz rolling releases
* Improved underdog


Download: https://drive.google.com/file/d/1A2hM3s ... sp=sharing
MD5 Checksum: 7a4dc63969ed15e1b4787a9c079d2810

Build kit: https://drive.google.com/file/d/1Wc0PRg ... sp=sharing

Post Reply