LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-21-2017, 09:55 AM   #31
kjhambrick
Senior Member
 
Registered: Jul 2005
Location: Round Rock, TX
Distribution: Slackware64 14.2 + Multilib
Posts: 1,426

Rep: Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832Reputation: 832

allend --

Hmmm ... gotta look at the --enable-fuse configure option myself ...

I'll post what I come up with for one last look-see before sending it on to SBo.

Thanks again !

-- kjh
 
Old 11-22-2017, 08:50 AM   #32
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,027

Original Poster
Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
I have built xrdp with the --enable-fuse configure option on Slackware64 14.2.
I had to do the configuration in post#27 to get a connection using rdesktop with the -r disk option.
It worked on the first connection, allowing me to copy files in and out of the $HOME/thinclient_drives directory that was created on the computer running xrdp. Yay! it works.
But after disconnecting then trying to reconnect, I hit a problem where I could not successfully connect. On investigation, I found that the $HOME/thinclient_drives directory on the xrdp server was left with weird permissions.
I have done some googling and found this, especially the last post, which seems to be directly relevant. Running
Code:
fusermount -u "$HOME/thinclient_drives"
directly on the xrdp server restores the $HOME/thinclient_drives directory permissions, so may need to add that to the startup script.
A little more configuration and testing is required.
 
1 members found this post helpful.
Old 11-23-2017, 11:29 AM   #33
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,027

Original Poster
Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
I have looked some more and decided that there is a good reason for the --enable-fuse configure option being disabled by default. Until upstream properly implements xfuse_deinit_xrdp_fs() with something apart from a placeholder function, then the $HOME/thinclient_drives directory issue will remain. It may be feasible to hack around this by putting a watch on /var/run/ConsoleKit/database to look for X session shutdowns, but it would be a crude hack and not worth my effort.
 
1 members found this post helpful.
Old 01-23-2018, 08:24 AM   #34
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 5,027

Original Poster
Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
i have just found that xrdp v0.9.5 has been released including a fix for a local denial of service CVE-2017-16927. Seems to build and run OK with just a couple of small adjustments to the SlackBuild posted earlier to account for the version name and the source code file name of xrdp-0.9.5.tar.gz
Code:
--- xrdp-0.9.4/xrdp/xrdp.SlackBuild	2017-11-11 22:52:58.000000000 +1100
+++ xrdp-0.9.5/xrdp/xrdp.SlackBuild	2018-01-23 12:38:41.909051396 +1100
@@ -4,7 +4,7 @@
 # Written by Phillip Warner <pc_warner@yahoo.com>
 
 PRGNAM=xrdp
-VERSION=${VERSION:-0.9.4}
+VERSION=${VERSION:-0.9.5}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
@@ -45,7 +45,7 @@
 mkdir -p $TMP $PKG $OUTPUT
 cd $TMP
 rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
 cd $PRGNAM-$VERSION
 chown -R root:root .
 find -L . \
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Strange problem with xrdp on centos running as a KVM on proxmox kumarullal Linux - Networking 1 03-27-2015 03:45 PM
[SOLVED] xrdp-v0.6.0 RHEL 6.4 Workstation. xrdp loaded started with sesman, but cannot connect capperdog Linux - Newbie 4 02-04-2014 03:56 PM
[SOLVED] XRDP: very slow building windows and icons, but mouse responds OK knilux Linux - Server 3 04-30-2012 03:56 PM
problem with XRDP on Slackware 13 DimaNovo Linux - Software 0 05-15-2010 03:14 PM
Any advice for building QGIS for Slackware 12.1? Lufbery Slackware 13 08-10-2008 08:43 PM

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

All times are GMT -5. The time now is 05:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration