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 06-21-2020, 07:15 AM   #5251
titopoquito
Senior Member
 
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,645

Rep: Reputation: 146Reputation: 146

The ffmpeg SlackBuild could be extended by adding a configure option for libaom (a AV1 decoder/encoder, according to Wikipedia a royalty and open and royalty-free video codec designed to be a successor of VP9) similar to the existing configure options. Today I got the first Youtube video with AV1, so I guess others could have the desire to compile it in, too.

Code:
libaom=""     ; [ "${LIBAOM:-no}" != "no" ]       && libaom="--enable-libaom"
and of course adding a line below that accordingly should do it.

Thanks for considering it
 
2 members found this post helpful.
Old 06-21-2020, 01:13 PM   #5252
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Clarification requested wrt elogind

Currently when starting in console mode and typing startx from ttyi to launch a graphical session the session start on tty(i+6) and I find this in the output of pstree:
Code:
     |-bash---startx---xinit-+-Xorg---{Xorg}
     |                       `-ck-launch-sessi---mate-session-+
If the desktop session becomes irresponsive, among the things I can do to kill it is press Ctrl-Alt-i then Ctrl-c, which kills startx, xinit and the whole desktop session.

Reading this in the ChangeLog for Slackware64-current:
Code:
 Fri Jun 19 19:59:04 UTC 2020
<snip>
x/xinit-1.4.1-x86_64-2.txz:  Rebuilt.
  When using elogind, start the session on the current console.  
  Thanks to alienBOB.
leads me to this question: how to kill the session then?
 
Old 06-21-2020, 01:22 PM   #5253
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Quote:
Originally Posted by Didier Spaier View Post
Currently when starting in console mode and typing startx from ttyi to launch a graphical session the session start on tty(i+6) and I find this in the output of pstree:
Code:
     |-bash---startx---xinit-+-Xorg---{Xorg}
     |                       `-ck-launch-sessi---mate-session-+
If the desktop session becomes irresponsive, among the things I can do to kill it is press Ctrl-Alt-i then Ctrl-c, which kills startx, xinit and the whole desktop session.

Reading this in the ChangeLog for Slackware64-current:
Code:
 Fri Jun 19 19:59:04 UTC 2020
<snip>
x/xinit-1.4.1-x86_64-2.txz:  Rebuilt.
  When using elogind, start the session on the current console.  
  Thanks to alienBOB.
leads me to this question: how to kill the session then?
Switching to second tty with CTRL+ALT+F2 then logging in as root or the same user?

Anyway, the elogind changes are guarded with an IF, then you should not be influenced when you run the "classic" way of ConsoleKit2.

Code:
  if [ -x /lib/elogind/elogind -o -x /lib64/elogind/elogind ]; then
    # When starting the defaultserver start X on the current tty to avoid
    # the startx session being seen as inactive:
    # "https://bugzilla.redhat.com/show_bug.cgi?id=806491"
    tty=$(tty)
    if expr "$tty" : '/dev/tty[0-9][0-9]*$' > /dev/null; then
        tty_num=$(echo "$tty" | grep -oE '[0-9]+$')
        vtarg="vt$tty_num -keeptty"
    fi
  fi
This is from /usr/bin/startx

It will not keep the same console when you run the "classic" way of ConsoleKit2 and the X server will jump in tty7 as usual.

BTW, your MATE was patched and built for elogind? IF not, better to not switch from ConsokeKit2.

Last edited by LuckyCyborg; 06-21-2020 at 01:30 PM.
 
Old 06-21-2020, 02:07 PM   #5254
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
Switching to second tty with CTRL+ALT+F2 then logging in as root or the same user?
Yes that would be one way to do it, thanks. A least this command works if only one graphical session has been started:
Code:
 kill $(ps -C xinit -o pid --no-headers)
It just needs some adaptation is several graphical sessions have been started.

Quote:
Anyway, the elogind changes are guarded with an IF, then you should not be influenced when you run the "classic" way of ConsoleKit2.
Indeed, but my question was if using elogind.

Quote:
BTW, your MATE was patched and built for elogind? IF not, better to not switch from ConsokeKit2.
I am currently running Mate-1.24 on Slint64-14.2.1 using ConsoleKit2, but want to determine which changes will be needed in Slint 15, including in the documentation..

Last edited by Didier Spaier; 06-21-2020 at 11:38 PM. Reason: Typo fix.
 
Old 06-21-2020, 02:26 PM   #5255
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Quote:
Originally Posted by Didier Spaier View Post
I am currently runnig Mate-1.24 on Slint64-14.2.1 using ConsoleKit2, but want to determine which changes will be needed in Slint 15, including in the documentation..
I have absolutely no experience with MATE, but looking to what happened with Plasma5 build made by Mr. Hameleers or XFCE-next build made by Mr. Workman, I guess that for a MATE running on top of a replacement of ConsoleKit2 with elogind, you will need a special Mate build, adapted for elogind - supposing that MATE is somehow compatible with elogind, as it could well support only either ConsoleKit2 or systemd...

However, looks like some desktop builds can survive well to this replacement. Like is KDE4 and XFCE builds from -current, which from my experiments still works fine after replacing the ConsoleKit2 with elegind, using the Mr. Hameleers' elogind and custom dbus and polkit packages - for experiments, I have one box where the ConsoleKit2 is replaced with elogind, but it still has the stock KDE4 and XFCE as shipped by -current.

In fact, over time I managed to own a lot of old cheap boxes, but no one qualify as gaming computer.

Anyway, in my humble opinion, the elogind is NOT a direct replacement of ConsoleKit2, both as API and behavior.

Basically, this elogind is a stand-alone systemd-logind grabbed from the systemd source code, just like is also our eudev.

Then, the software should be adapted for working with elogind, but fortunately, it being much closer to the widely used systemd(-logind), is much easy to make this adaptation.

Last edited by LuckyCyborg; 06-21-2020 at 02:45 PM.
 
Old 06-21-2020, 02:46 PM   #5256
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Quote:
Originally Posted by LuckyCyborg View Post
I have absolutely no experience with MATE, but looking to what happened with Plasma5 build made by Mr. Hameleers or XFCE-next build made by Mr. Workman, I guess that for a MATE running on top of a replacement of ConsoleKit2 with elogind, you will need a special Mate build, adapted for elogind - supposing that MATE is somehow compatible with elogind, as it could well support only either ConsoleKit2 or systemd...
I just checked, Mate 1.24 already supports elogind, especially the mate-session component. Indeed it needs to be rebuilt but that's easy: include "--with-elogind" among the configure options, no patch needed.

As an aside I am wondering if just using elogind will allow to use dbus-broker. Else, we would need a launcher for dbus-broker not depending on systemd. Any clue about that?

PS a quick web search comes with "no way. You need to write a new launcher for dbus-broker." Anyone wants to do that?

Last edited by Didier Spaier; 06-21-2020 at 03:24 PM.
 
Old 06-21-2020, 02:59 PM   #5257
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,500

Rep: Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308Reputation: 3308
Quote:
Originally Posted by Didier Spaier View Post
I just checked, Mate 1.24 already supports elogind, especially the mate-session component. Indeed it needs to be rebuilt but that's easy: include "--with-elogind" among the configure options, no patch needed.

As an aside I am wondering if just using elogind will allow to replace dbus by dbus-broker. Else, we would need a launcher for dbus-broker not depending on systemd. Any clue about that?
Excuse me and my ignorance, but I have no clue.

However, looking at https://github.com/bus1/dbus-broker and https://www.phoronix.com/scan.php?pa...roker-ASG-2018 looks like this BUS1 apparently is a replacement of DBUS and it have as optional dependency the now famous systemd.

Then, the question is: which parts of systemd uses this BUS1? IF it exclusively uses the login1 and/or udev services, probably it could be adapted and/or patched to work with our eudev and elogind. How I am a simple user, and not a developer, also I am unable to analyze the BUS1 source code, then to respond to this question.

Still, there are the biggest questions: why we should replace the DBUS service with BUS1? What are the arguments for this replacement? And what's wrong with the DBUS?

However, I believe this is basically on itself an another story, and only the Slackware developers could respond if they even intends to replace the DBUS with BUS1 service in the foreseeable future.

Last edited by LuckyCyborg; 06-21-2020 at 03:26 PM.
 
Old 06-21-2020, 06:57 PM   #5258
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Setting up encrypted LVM via NCURSES - It can be done.

I still hope that perhaps the installer will be updated to allow encrypted LVM setup. Hell just take a page from Devuan and use their code if thats the case:


Click image for larger version

Name:	VirtualBox_Devuan_21_06_2020_18_50_38.png
Views:	84
Size:	8.9 KB
ID:	33476
 
Old 06-22-2020, 12:54 AM   #5259
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
Quote:
Originally Posted by Didier Spaier View Post
I just checked, Mate 1.24 already supports elogind, especially the mate-session component. Indeed it needs to be rebuilt but that's easy: include "--with-elogind" among the configure options, no patch needed.
Thanks Didier
i have placed a separate branch for elogind preparation
 
Old 06-22-2020, 07:57 AM   #5260
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,212

Rep: Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998Reputation: 998
libqmi-1.26:

https://www.freedesktop.org/software...-1.26.0.tar.xz
 
Old 06-22-2020, 02:41 PM   #5261
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,022

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
So, the replacement of ConsokeKit2 with elogind is a given?

I seen that both Plasma5 and XFCE 4.14 had been switched fully to elogind, with no ConsoleKit2 based alternative (or legacy?) builds, event thought it is still in the slackware-current.

Then, in the near future we will have elogind in slackware-current?
 
Old 06-22-2020, 02:44 PM   #5262
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 ZhaoLin1457 View Post
So, the replacement of ConsokeKit2 with elogind is a given?

I seen that both Plasma5 and XFCE 4.14 had been switched fully to elogind, with no ConsoleKit2 based alternative (or legacy?) builds, event thought it is still in the slackware-current.

Then, in the near future we will have elogind in slackware-current?
Robby and I are testing outside of Slackware whether it is feasible to replace ConsoleKit2 with elogind, yes.
 
4 members found this post helpful.
Old 06-22-2020, 09:52 PM   #5263
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware15.0 64-Bit Desktop, Debian 11 non-free Toshiba Satellite Notebook
Posts: 4,186

Rep: Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379Reputation: 1379
Maybe correct this: https://www.linuxquestions.org/quest...ml#post6137117
 
Old 06-22-2020, 10:37 PM   #5264
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Could we please update soma to the latest version? (3.3.5 at the moment)

The bug I fixed in 3.3.1 was a show stopper, since the latest dialog now ignores --timeout in --tailbox, and that stops means soma will get stuck at the dialog, stopping most of its functions.

Thanks :-)

http://tty1.uk/slackbuilds/noversion/soma/
 
Old 06-22-2020, 11:32 PM   #5265
Thom1b
Member
 
Registered: Mar 2010
Location: France
Distribution: Slackware
Posts: 484

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
rsync-3.2.1 is released.

https://rsync.samba.org/ftp/rsync/rsync-3.2.1.tar.gz
https://rsync.samba.org/ftp/rsync/rs...2.1.tar.gz.asc
 
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
[SOLVED] Requests for -current (20151216) rworkman Slackware 3441 12-28-2017 03:50 PM

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

All times are GMT -5. The time now is 02:26 AM.

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