LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-26-2020, 08:51 AM   #1
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,388

Rep: Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764
xrdp-0.9.12 has removed a crucial init file


I have been trying to build the latest version of xrdp and have run into a problem. Previous versions have included a instfiles/xrdp.sh file that is processed by the SlackBuild to become /etc/rc.d/rc.xrdp. I did ask at https://gitter.im/neutrinolabs/xrdp, but got a terse response that the file has been removed in the latest version. Simply adding the missing file to the latest version tarball still causes the SlackBuild to fail, which suggests that support has also been removed from the build system. Perhaps this is an example of projects dropping support for non-systemd distros?

The easiest fix is probably to add a big here string to the SlackBuild to generate the required /etc/rc.d/rc.xrdp, but that seems rather ugly. Any other ideas?
 
Old 01-26-2020, 08:57 AM   #2
ZhaoLin1457
Senior Member
 
Registered: Jan 2018
Posts: 1,071

Rep: Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305Reputation: 1305
Quote:
Originally Posted by allend View Post
I have been trying to build the latest version of xrdp and have run into a problem. Previous versions have included a instfiles/xrdp.sh file that is processed by the SlackBuild to become /etc/rc.d/rc.xrdp. I did ask at https://gitter.im/neutrinolabs/xrdp, but got a terse response that the file has been removed in the latest version. Simply adding the missing file to the latest version tarball still causes the SlackBuild to fail, which suggests that support has also been removed from the build system. Perhaps this is an example of projects dropping support for non-systemd distros?

The easiest fix is probably to add a big here string to the SlackBuild to generate the required /etc/rc.d/rc.xrdp, but that seems rather ugly. Any other ideas?
What stops you to just store this (now) custom "rc.xrdp" script in the SlackBuild directory?
 
2 members found this post helpful.
Old 01-26-2020, 10:26 AM   #3
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 307

Rep: Reputation: 92
Quote:
Originally Posted by allend View Post
Perhaps this is an example of projects dropping support for non-systemd distros?
I thought the same thing when I was trying to get libratbag built, which is required by piper (GTK tool for configuring Logitech gaming mice). Luckily the devs added support for elogind late in 2018 so I could disable the systemd check in the meson invocation.


Quote:
Originally Posted by allend View Post
The easiest fix is probably to add a big here string to the SlackBuild to generate the required /etc/rc.d/rc.xrdp, but that seems rather ugly. Any other ideas?
I don't use xrdp but I built 0.9.4 using the SlackBuild from SBo, grabbed the rc.xrdp from that, edited the build script with a few "if" statements and then built 0.9.12 with that. I compared the package contents and file sizes of 0.9.4 and 0.9.12 and everything seems fine. Also, none of the binaries or libraries seem "contaminated" by libelogind. The output from running the configure command with and without "--with-systemdsystemunitdir=no" doesn't seem to change functionally.
 
1 members found this post helpful.
Old 01-27-2020, 07:20 AM   #4
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,388

Original Poster
Rep: Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764Reputation: 2764
@ZhaoLin1457 - Thanks for the suggestion. That is what I have done.
@fskmh - Thanks for the testing effort. Rather than using "if" statements, I have simply edited the script to suit the 0.9.12 version.

I added ' --enable-fuse ' as a configure option when I built the 0.9.10 version to allow for drive direction and it has not caused me any problems, unlike with version 0.9.4, so I have also enabled that in my 0.9.12 build. The build seems to be working on my 32-bit and 64-bit home machines running -current. I now want to test on a work server running Slackware64-14.2 that is still running version 0.9.4.
 
  


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
XRDP failes authentication via xRDP divernick Linux - Software 3 02-06-2019 05:19 AM
When 1 app is removed, is it removed from the other accounts too? drpeppercan Linux Mint 12 12-24-2017 07:42 AM
[SOLVED] xrdp-v0.6.0 RHEL 6.4 Workstation. xrdp loaded started with sesman, but cannot connect capperdog Linux - Newbie 4 02-04-2014 02:56 PM
What is the exact diff between init 1,init S and init s challavijay Linux - Newbie 1 08-05-2010 06:51 AM
Removed accidently removed panel at Suse 11.1? alte_mann SUSE / openSUSE 6 01-29-2009 04:19 AM

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

All times are GMT -5. The time now is 06:05 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