LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-27-2018, 06:50 AM   #121
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106

Quote:
Originally Posted by Darth Vader View Post
If everything is as simple as "s/login1/ConsoleKit/g", why not to apply "s/ConsoleKit/login1/g" on Slackware's ConsoleKit2 and make that poor clone to properly behave and respond to the DBUS paths which the applications expect? I think will be much more simple than us to evangelize the ConsoleKit2 in the World, when no one want to use it.

Oh, wait...

ConsoleKit is also an incomplete implementation of "login1 API", supposedly good enough for KDE Plasma.

While maybe it is good enough for KDE Plasma, certainly it is not good for many of those poor applications which want to use the "login1 API" over DBUS.
Again.

Rather than keep moaning and whining, get your thumbs out of your ass and start filing bug reports. The way to get support for ConsoleKit2 into an application is to tell the developer that this is requested. Otherwise they will never know that this is beneficial.
A sane person will not look here in LQ's Linux section and read your incessant rants filled with capitals and colored bold texts. Unless they are masochistic or mentally unstable.

Rather than keep complaining and demanding that Slackware switches from ConsoleKit2 to elogind, why not actually assist Slackware by lobbying your beloved "poor application" developers to add support for ConsoleKit2? that way, you can actively work to prevent a future where Systemd-logind has become the de-facto session/seat management solution and no other implementations are accepted.

Being OK with 'vendor lock-in' in open source software, just because no one bothered to stop talking out of their asses and take action, that's almost criminally insane.
 
9 members found this post helpful.
Old 09-27-2018, 06:55 AM   #122
Lysander666
Senior Member
 
Registered: Apr 2017
Location: The Underearth
Distribution: Ubuntu, Debian, Slackware
Posts: 2,178
Blog Entries: 6

Rep: Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470Reputation: 2470
Quote:
Originally Posted by ProzacR View Post
Maybe it was posted already, but web.skype.com is really good option, at least for me.
Can you confirm if it's as stable or works as well as the client?

Also, I would caution using skypeweb to record calls. Especially the latest version of Chromium [69] has issues with Pulse and I wouldn't like to try recording calls through skypeweb on it. I acknowledge that only a few people will need to record their calls, but for those that do, this information may prove useful.

I'll also throw in a link to my video on recording Skype client calls in Slackware.
 
1 members found this post helpful.
Old 09-27-2018, 07:00 AM   #123
ProzacR
Member
 
Registered: Jan 2006
Distribution: Slackware, Fedora
Posts: 50

Rep: Reputation: 2
Quote:
Originally Posted by Lysander666 View Post
Can you confirm if it's as stable or works as well as the client?

Also, I would caution using skypeweb to record calls. Especially the latest version of Chromium [69] has issues with Pulse and I wouldn't like to try recording calls through skypeweb on it. I acknowledge that only a few people will need to record their calls, but for those that do, this information may prove useful.

I'll also throw in a link to my video on recording Skype client calls in Slackware.
It works for all I do with it sometimes, but I am not regular skype user. Usually just some other person insisting me to do web chat over skype.
 
Old 09-27-2018, 08:27 AM   #124
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by Alien Bob View Post
Again.

Rather than keep complaining and demanding that Slackware switches from ConsoleKit2 to elogind, why not actually assist Slackware by lobbying your beloved "poor application" developers to add support for ConsoleKit2? that way, you can actively work to prevent a future where Systemd-logind has become the de-facto session/seat management solution and no other implementations are accepted.
being a noob on this topic, but very interested though, why is ConsoleKit2 the technical better, and more sustainable, solution than elogind?
 
4 members found this post helpful.
Old 09-27-2018, 09:48 AM   #125
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by a4z View Post
being a noob on this topic, but very interested though, why is ConsoleKit2 the technical better, and more sustainable, solution than elogind?
The elogind sources are copied verbatim out of the systemd source tree and then modified to work standalone i.e. not requiring the rest of systemd. However, elogind still requires a OS configuration that enforces systemd runtime mounts and cgroups making it look a lot like systemd is present anyway.
The danger is that at some point the systemd developers make an incompatible change in their code which makes it impossible for Slackware and other non-systemd distros to keep using elogind.
On the other hand, ConsoleKit2 is independent from systemd, and its implementation of the relevant portions of the logind d-bus API is independent of the implementation of systemd-logind or elogind. Any program which wants to use the logind API for seat and session management information and to get early warnings of system shutdown or power setting changes, needs do nothing more than make the right DBus calls into the system. The only caveat is that D-Bus is an architectural disaster, and an "API" is not actually fixed because the implementors of that API can use free text strings to name their service (org.freedesktop.login1 versus org.freedesktop.ConsoleKit for instance). Therefore any such program needs to add a block of code that iterates through the known implementations of the logind API (systemd-logind or ConsoleKit2) and connect to the one it finds. This is trivial, and every sane programmer who wants his software to be used as widely as possible without enforcing vendor lock-in, can simply honor the requests to add support.

That's the story for open source code. Adding support for ConsoleKit in Skype which is a closed-source implementation using open source code and then some other stuff, will be a lot harder because there is no public repository and we can not contribute patches.

If you look at ConsoleKit2, it has a git repository, and it has been accepting and implementing all the patches that were submitted to make it work better in Slackware. The fact that development is slow, may be caused by the fact that the developer of ConsoleKit2 is also the lead developer of XFCE. He works on ConsoleKit2 only if asked or if bugs are found. So I would ask of you all, to submit proposals and patches.
 
16 members found this post helpful.
Old 09-27-2018, 10:19 AM   #126
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by Alien Bob View Post
That's the story for open source code. Adding support for ConsoleKit in Skype which is a closed-source implementation using open source code and then some other stuff, will be a lot harder because there is no public repository and we can not contribute patches.
According to this post, the logind dependence may actually be coming from Electron, which is used by Skype. So if they add in support for ConsoleKit2, then maybe in a future version of Skype this issue will go away automatically without Microsoft having to do anything other than use a version of Electron with the fix. It would also avoid the issue in other Electron-based apps.
 
1 members found this post helpful.
Old 09-27-2018, 10:29 AM   #127
jakedp
Member
 
Registered: Oct 2016
Location: Canada
Distribution: Slackware64, Mageia
Posts: 226

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by Darth Vader View Post
That's exactly what I do. I prepare myself for chopping the offending software from my systems, and that offending software is right on the ConsoleKit2.

IF you want some numbers from my system, the elogind daemon consumes 304KB memory, while the console-kit-daemon consumes 816KB memory and its minion ck-launch-session consumes 352KB memory. So, apparently the elogind consumes one third of memory claimed by ConsoleKit.

The World changes anyway. Software often dies because better alternatives are invented. E.g. Long time ago there was the stable and time tested XFree86, and all distributions abandoned it for the new and fancy X.org. Including Slackware.

Probably you guys missed to invent a proper myth about The Holly XFree86 before those things to happen...

Do not know how to multi-quote on here so the above is mangled.



The offending software was Skype btw and not ConsoleKit2. Which was fixed on the innocent side very quickly, Skype has been wonky on Linux since day one. What software depends on Skype? Nothing. What software depends on ConsoleKit2? A vast ecosystem. So remove the piece effecting the rest of the system instead of a user land piece of crap? That is not good reasoning.



I see elogind and I assumed systemd for some reason. It is about as valid an assumption as your FUD.



No, the switch away from XFree86 was purely due to licensing issues and a perceived moral authority of the GPL.



DarthVader you seem to be the type that will fix something not broken and therefore will break it. The lack of activity for ConsoleKit2 tells me they are doing the correct thing and not fixing something that is not broken.
 
2 members found this post helpful.
Old 09-27-2018, 10:52 AM   #128
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Quote:
Originally Posted by jakedp View Post
Do not know how to multi-quote on here so the above is mangled.



The offending software was Skype btw and not ConsoleKit2. Which was fixed on the innocent side very quickly, Skype has been wonky on Linux since day one. What software depends on Skype? Nothing. What software depends on ConsoleKit2? A vast ecosystem. So remove the piece effecting the rest of the system instead of a user land piece of crap? That is not good reasoning.
That's easy for you to say, but companies who make money is NOT going to change their protocol to accommodate the minority. You will either get on board or get thrown overboard!!!!!!! Microsoft know what they're doing and its sad. This is just the beginning.
 
1 members found this post helpful.
Old 09-27-2018, 11:17 AM   #129
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by montagdude View Post
According to this post, the logind dependence may actually be coming from Electron, which is used by Skype. So if they add in support for ConsoleKit2, then maybe in a future version of Skype this issue will go away automatically without Microsoft having to do anything other than use a version of Electron with the fix. It would also avoid the issue in other Electron-based apps.
For Electron's developers to accept an eventual proposal for the ConsoleKit2 support, I believe that the Electron application must be capable to actively deny the computer's Suspend and Shutdown over ConsoleKit2 API.

Using the Skype as an example, imagine that Skype must be capable to disable the system's automated suspension, hibernation and shutdown while the user have a really long conversation while using his Bluetooth headset and apparently the computer is unused for a long period of time.

However, I am afraid that only (e)logind can do that for real.

Last edited by Darth Vader; 09-27-2018 at 11:31 AM.
 
Old 09-27-2018, 11:27 AM   #130
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by PROBLEMCHYLD View Post
This is just the beginning.
Well, we should have expected those things since long time, considering the bells ringing everywhere.

Last edited by Darth Vader; 09-27-2018 at 11:30 AM.
 
Old 09-27-2018, 11:32 AM   #131
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,201

Rep: Reputation: Disabled
Quote:
Originally Posted by Darth Vader View Post
We should have expected those things from long time, considering the bells ringing everywhere.
As much as I dislike Microsoft ways, its mandatory for a computer in my household to have Windows on it (Business Purposes). Skype is a necessity for some of us. My wife do business conferences along with other things. The ones who don't care, this topic is not for you.

Sarcasm: We should tell our bosses they need to switch their client and see how for we get. Lol

Last edited by PROBLEMCHYLD; 09-27-2018 at 11:33 AM.
 
1 members found this post helpful.
Old 09-27-2018, 11:46 AM   #132
jakedp
Member
 
Registered: Oct 2016
Location: Canada
Distribution: Slackware64, Mageia
Posts: 226

Rep: Reputation: 184Reputation: 184
Quote:
Originally Posted by PROBLEMCHYLD View Post
That's easy for you to say, but companies who make money is NOT going to change their protocol to accommodate the minority. You will either get on board or get thrown overboard!!!!!!! Microsoft know what they're doing and its sad. This is just the beginning.

You are right. Microsoft has been doing this for decades, and they have been pushed back. Open Source has changed the landscape and it was the work and sacrifice, it is heroic, of people helping other people.

I remember when half the things or more we take for granted did not work on any Linux and it took many, many, hours researching and pouring over text files, writing scripts, all kinds of crazy things to get something to work. It is not that doom and gloom as it is amazing in just 18 years the hardware and software has improved drastically.

You may mean it is the end. Think. How many alternatives to Skype is there in the last 2-5 years?

Last edited by jakedp; 09-27-2018 at 11:51 AM.
 
Old 09-27-2018, 11:47 AM   #133
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
We know that Microsoft provides Skype for at least one non-systemd Linux distribution (Android). It's impossible to tell without insider knowledge, but perhaps it would be easy for them to provide more generic non-systemd Skype binaries as well. Filing relevant bug reports with them seems worthwhile -- not much effort involved, with real potential to solve the problem entirely.
 
2 members found this post helpful.
Old 09-27-2018, 12:04 PM   #134
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by ttk View Post
We know that Microsoft provides Skype for at least one non-systemd Linux distribution (Android). It's impossible to tell without insider knowledge, but perhaps it would be easy for them to provide more generic non-systemd Skype binaries as well. Filing relevant bug reports with them seems worthwhile -- not much effort involved, with real potential to solve the problem entirely.
I would not call Android as being Linux distribution like Slackware or whatever. It is completely different.

Imagine a very limited Linux system like our initrd (and using BusyBox too) which brings up the Android desktop made in Java.

However, Android has a very complicated set of features and permissions for apps, where are also tons related to Power Management.

Long story short, on Android platform I guess that the Electron apps talks directly with the desktop services.
 
Old 09-27-2018, 12:08 PM   #135
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247Reputation: 1247
Quote:
Originally Posted by jakedp View Post
DarthVader you seem to be the type that will fix something not broken and therefore will break it.
Yeah, man! Nothing is broken and everything works perfectly!

In fact, who need to do something useful with his computer? Let's open it and just stare at login console for one hour or two.
 
  


Reply



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
unkown cause for systemd failure state - systemd-logind cannot start org.freedesktop.systemd1 after server reboot mario.p Linux - Server 5 07-30-2018 02:11 AM
[SOLVED] will slackware drop newer KDE versions or go systemd rob.rice Slackware 73 04-23-2017 01:03 PM
[SOLVED] How to compile latest sources using older gcc glibc versions and run them? nirvaanr Linux - Software 4 06-08-2016 09:32 AM
[SOLVED] removing previous older kernels "vmlinuz" when updates get newer versions james2b Linux - Newbie 7 09-12-2011 04:13 AM
how to use older versions of glibc turls Programming 4 07-07-2004 03:40 PM

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

All times are GMT -5. The time now is 11:29 PM.

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
Open Source Consulting | Domain Registration