LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-28-2018, 08:11 PM   #181
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Rep: Reputation: 26

Finally Worked Skype with new elogind without systemd and pam here.

Just need to install elogind before start skypeforlinux.

Source:
elogind.SlackBuild - https://pastebin.com/WMV5rTQr
doinst.sh - https://pastebin.com/iNn8vREx
elogind-238.1-docs.patch - https://pastebin.com/Vdd9n76u
rc.elogind - https://pastebin.com/zXqXn4Dt
 
Old 10-28-2018, 08:15 PM   #182
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
It seems Mario found another solutions
 
Old 10-28-2018, 08:20 PM   #183
olear
Member
 
Registered: Jan 2006
Location: Norway
Distribution: Slackware
Posts: 42

Rep: Reputation: 32
Quote:
Originally Posted by willysr View Post
It seems Mario found another solutions
But that will/may break stuff when apps suddenly find login1, like my first implementation of nologind.


In the long-run I think wrapping everything is the way to go.
 
Old 10-28-2018, 08:25 PM   #184
Candelabrus
Member
 
Registered: Apr 2015
Location: Ponta Grossa - PR
Distribution: Slackware64
Posts: 173

Rep: Reputation: 26
Quote:
Originally Posted by olear View Post
I have started adding support for the PM stuff (see github), still some things left.
I really appreciate the work you've done and what you've been doing. Thanks a lot for the attention, but I ended up solving slackbuild and rc.elogind and now it does not lock anymore my skype and it works normally the power manager.
 
1 members found this post helpful.
Old 10-28-2018, 09:26 PM   #185
olear
Member
 
Registered: Jan 2006
Location: Norway
Distribution: Slackware
Posts: 42

Rep: Reputation: 32
Quote:
Originally Posted by Candelabrus View Post
I really appreciate the work you've done and what you've been doing. Thanks a lot for the attention, but I ended up solving slackbuild and rc.elogind and now it does not lock anymore my skype and it works normally the power manager.
That's great.

I'm currently looking into Cinnamon (source) and checking what they need.
 
1 members found this post helpful.
Old 11-06-2018, 03:03 AM   #186
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Just in case some else is using it besides me, I also updated my latest-skype.sh script to use maelnor's nice skype-dbus-mock trick.
 
2 members found this post helpful.
Old 11-06-2018, 05:59 AM   #187
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,968

Rep: Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546
Quote:
Originally Posted by willysr View Post
It seems Mario found another solutions
Quote:
Originally Posted by olear View Post
But that will/may break stuff when apps suddenly find login1, like my first implementation of nologind.


In the long-run I think wrapping everything is the way to go.
I have been using this solution for while. It worked, easy to implement and avoid elogind. I think I ran in to a program that broke due to this solution. Steam Client. I could be wrong though.

I am using Steam Client with Steam Beta Update enabled. I have Steam Play enabled with Proton 3.16-4 Beta selected. I noticed that a Nov 3 update continuously tried to update it self because it failed. This was not one after the other, but after a time, Steam tried to install the update again. I started Stean via Konsole, I have since discovered /tmp/dumps/<user>_stdout.txt which logs the stdout. In that log I noticed the following:
Code:
** (steam:26849): WARNING **: 19:58:10.074: Unknown device type 14

** (steam:26849): WARNING **: 19:58:10.074: Could not create object for /org/freedesktop/NetworkManager/Devices/1: unknown object type
This may have nothing to do with the Steam Client failing, but it gave me the idea to remove the skypeforlinux package I built with the 'skype-dbus-mock' trick. I did this while steam was still running. On removal of skypeforlinux Steam was aborted. To be on the safe side I rebooted (login at runlevel 3). Steam is set to run on startup of Plamsa 5, Steam noted it had aborted, fixed it self then tried to install the Nov 3 update after a restart of Steam. It was successfully installed.

Now those code lines above are still in the <user>_stdout.txt file, but the update installed. To test this I restored a nightly backup of Steam and tested again, it installed. I also reinstalled skypeforlinux and the update failed to install. I have since removed skypeforlinux and Steam is running fine, in fact on a Nov 5 update now.

I am fairly convinced that the 'skype-dbus-mock' trick installed with skypeforlinux was the problem with Steam, though not sure why. The two things that lead me to believe this are the fact the Steam aborted when I removed skypeforlinux and updates to Steam are installing again.

As a side note, related to elogind, I had been using that before switching to the 'skype-dbus-mock' trick. elogind seems to be a bit invasive. I noted the following during boot:
Code:
Nov  3 18:18:26 racermach kernel: <30>[    5.921201] udevd[187]: starting eudev-3.2.5
Nov  3 18:18:26 racermach kernel: <27>[    6.115692] udevd[213]: failed to execute '/lib/elogind/elogind-uaccess-
command' '/lib/elogind/elogind-uaccess-command /dev/sr0 ': No such file or directory
Nov  3 18:18:26 racermach kernel: <27>[    6.146516] udevd[218]: failed to execute '/lib/elogind/elogind-uaccess-command' '/lib/elogind/elogind-uaccess-command /dev/sr1 ': No such file or directory
I didn't pay much attention to it while elogind was installed. After removing elogind though it became annoying. To get rid of those to messages have to rebuild initrd.gz. Once that was done, those messages were gone.

At this point I am putting skypeforlinux on hold for my system. I have Skype on my smarter that me phone, so I can use that for now. may get a bit adventurous and to try olear's fix, but a bit hesitant because I don't really know for sure what broke Steam.
 
1 members found this post helpful.
Old 11-06-2018, 07:27 AM   #188
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Hmm… I don't use Steam myself. I would be interested to hear if other Steam users have hit the same issue. I have been using Skype in my browser since this whole fiasco started and it has been fine but once the slackbuild started using skype-dbus-mock, I figured I might as well update my script to use it. If skype-dbus-mock and other work arounds just cause further issues, maybe I'll just drop maintenance of my script altogether and stick with using the browser.
 
Old 11-07-2018, 03:31 AM   #189
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,968

Rep: Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546
I am also interested in if other Steam users are seeing this issue when using the skype-dbus-mock trick with Skype. One of the reasons I posted. It could be something specific to that Nov 3 update to Steam.

I liked having Skype on my desktop. I am wary of both elogind and the skype-dbus-mock trick and the effect it might have on the system. I forgot about the web version of Skype. That is definitely an option.

I have been thinking of giving olear's nologind a try but I am not sure what Steam is looking for. I could try it and see what happens.

I did find were the elogind related failed to execute comes from. There are four rules installed by elogind in /lib/udev/rules.d/. There are added to the source tree when mkinitrd is run. The specific rules files that causes the error noted in my earlier post is /boot/initrd-tree/lib/udev/rules.d/70-uaccess.rules.

I am thinking, a dangerous thing <grin>.
Quote:
Originally Posted by olear View Post
Then I added the one thing Skype needed (Inhibit). I don't understand why Skype uses login1.Inhibit, all Skype wants is a notification before suspend and shutdown.
I am wondering if elogind can be installed, configured to provide only the functions Skype is looking for.
 
Old 11-07-2018, 03:52 AM   #190
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 chrisretusn View Post
I forgot about the web version of Skype. That is definitely an option.
As a refresher: this post of mine in the thread contains a .desktop file you can create if you have Chrome or Chromium installed and which will give you a menu item starting Skype Web in the browser such a way that it looks almost exactly like the application. No logind required.
 
2 members found this post helpful.
Old 11-07-2018, 04:53 AM   #191
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 ruario View Post
Just in case some else is using it besides me, I also updated my latest-skype.sh script to use maelnor's nice skype-dbus-mock trick.
Thanks for this, ruario.

I'm still on Skype 8.29. Is there a reason to upgrade beyond this at present? It still seems to work fine. I know at some point MS will force adoption of a later version, but until then I'll stick with this one.

I'm also concerned about the issues with Steam. I know not everyone is experiencing issues, so will hold fire with upgrading Skype for now.

Re Skype web, I've found it not to provide as good call quality as the downloadable client. Also it's had problems connecting in the past, but Skype is generally quite rubbish these days, Facebook calling is much better.

Last edited by Lysander666; 11-07-2018 at 05:00 AM.
 
Old 11-07-2018, 06:28 AM   #192
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 2,968

Rep: Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546Reputation: 1546
Quote:
Originally Posted by Alien Bob View Post
As a refresher: this post of mine in the thread contains a .desktop file you can create if you have Chrome or Chromium installed and which will give you a menu item starting Skype Web in the browser such a way that it looks almost exactly like the application. No logind required.
I'm a Firefox user, but I installed your Chromium package sometime ago. I decided to try it out, nice! Not quite like the Skype Client though but close enough. I even wrote a small SlackBuild to create a packages for it for the desktop file. So I don't forget this modification.

 
Old 11-07-2018, 06:39 AM   #193
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by Lysander666 View Post
I'm still on Skype 8.29. Is there a reason to upgrade beyond this at present? It still seems to work fine. I know at some point MS will force adoption of a later version, but until then I'll stick with this one.
Probably not. It works (for now). Using a web browser, is also great though. AlienBob's tip is a nice one. Alternatively, Vivaldi users can also put Skype in a web panel (that is what I was doing).

I really only updated my script because the mock solution appeared to work and I figured some people might want the 'normal' package for reasons that don't immediately spring to mind (it is always nice to have options).

But if the workarounds just cause breakage, I might just abandon maintenance of my script, rather than encourage people to use something that potentially screws them over—by actively maintaining it, I am effectively encouraging them.

Last edited by ruario; 11-07-2018 at 06:41 AM.
 
3 members found this post helpful.
Old 11-07-2018, 08:40 AM   #194
Melke
Member
 
Registered: Sep 2009
Location: Graz, Austria
Distribution: Slackware Current
Posts: 106

Rep: Reputation: 45
Flatpak is still working very well (in a sandbox). Currently running 8.33 without an issue:

https://flathub.org/apps/details/com.skype.Client

You'd need flatpak though

Kr
Mel
 
3 members found this post helpful.
Old 11-07-2018, 09:04 AM   #195
Paulo2
Member
 
Registered: Aug 2012
Distribution: Slackware64 15.0 (started with 13.37). Testing -current in a spare partition.
Posts: 928

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
Quote:
Originally Posted by ruario View Post
Hmm… I don't use Steam myself. I would be interested to hear if other Steam users have hit the same issue.
Quote:
Originally Posted by chrisretusn View Post
I am also interested in if other Steam users are seeing this issue when using the skype-dbus-mock trick with Skype.
It's working here, Skype and Steam are running ok. I'm running Xfce in -current and just updated Steam and played few minutes of HL2E2.
I don't use camera or microphone in Skype, can't tell if those works.
 
1 members found this post helpful.
  


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 05:17 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