Package Details: xrdp-git 1:0.8.0.r571.gcdb967c-1

Git Clone URL: https://aur.archlinux.org/xrdp-git.git (read-only)
Package Base: xrdp-git
Description: An open source remote desktop protocol (RDP) server - GIT version
Upstream URL: https://github.com/neutrinolabs/xrdp
Licenses: Apache
Conflicts: xrdp
Provides: xrdp=0.8.0
Submitter: realturner
Maintainer: bidulock
Last Packager: bidulock
Votes: 30
Popularity: 0.243910
First Submitted: 2011-02-19 10:07
Last Updated: 2016-03-05 08:23

Dependencies (7)

Required by (0)

Sources (2)

Latest Comments

bidulock commented on 2016-07-01 13:01

Upstream never tagged verison v0.9.0, the last tag is v0.8.0.

limadm commented on 2016-07-01 10:39

Isn't the version 0.9.0?

Alister.Hood commented on 2016-06-11 16:52

Not necessary as it is in base-devel

bobpaul commented on 2016-06-11 13:51

automake is needed as a build-dep

SanskritFritz commented on 2016-03-06 19:14

Of course I can delete the rsakeys.ini file that was generated by the previous version of the package, it was just a heads-up, maybe the file should be in the backup array?

bidulock commented on 2016-03-06 14:10

I think that you can just remove it and then reinstall.

SanskritFritz commented on 2016-03-05 14:55

error: failed to commit transaction (conflicting files)
xrdp-git: /etc/xrdp/rsakeys.ini exists in filesystem
Errors occurred, no packages were upgraded.

h4nn35 commented on 2016-03-02 07:35

The package build fails with:
==> Starting prepare()...
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -up src/xrdp-git/instfiles/pam.d/xrdp-sesman.orig src/xrdp-git/instfiles/pam.d/xrdp-sesman
|--- src/xrdp-git/instfiles/pam.d/xrdp-sesman.orig 2015-12-04 06:23:08.000000000 -0700
|+++ src/xrdp-git/instfiles/pam.d/xrdp-sesman 2015-12-04 06:23:12.000000000 -0700

This is because patch doesn't work with the new the commit
https://github.com/neutrinolabs/xrdp/commit/afa6ec97cc90ce45086df13ca7a5914a28175820

kmacleod commented on 2016-01-18 14:27

With kernel 4.3 and systemd the default maximum number of tasks for a systemd service is only 512 (DefaultTasksMax=512 in /etc/systemd/system.conf). With xrdp service I'm finding this number way too low for desktop sessions created from xdrp. Just running a few java applications plus chromium can cause the limit to be hit.

The solution is so set the TasksMax=infinity (or some number, maybe 4096 which is the default user limit) in the systemd service file. I'm not sure if this should be set in xrdp.service or xrdp-sesman.service (I set it in both).

[Service]
TasksMax=infinity

See
https://bbs.archlinux.org/viewtopic.php?id=207255
https://bugs.archlinux.org/task/47303

bidulock commented on 2015-12-04 13:47

Give 0.8.0.r485...-1 a try.

mabra commented on 2015-11-29 02:42

I get the same error, like: reimhagen commented on 2015-11-19 06:19

reimhagen commented on 2015-11-19 06:19

Looks like the arch-config.diff file is out-of-date again...

==> Making package: xrdp-git 1:0.8.0.r464.gc0ef543-1 (Thu Nov 19 06:18:37 UTC 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Cloning xrdp-git git repo...
Cloning into bare repository '/home/waws/xrdp-git/xrdp-git'...
remote: Counting objects: 16394, done.
remote: Compressing objects: 100% (7/7), done.
remote: Total 16394 (delta 2), reused 0 (delta 0), pack-reused 16387
Receiving objects: 100% (16394/16394), 11.68 MiB | 7.01 MiB/s, done.
Resolving deltas: 100% (9756/9756), done.
Checking connectivity... done.
-> Found arch-config.diff
==> Validating source files with md5sums...
xrdp-git ... Skipped
arch-config.diff ... Passed
==> Extracting sources...
-> Creating working copy of xrdp git repo...
Cloning into 'xrdp-git'...
done.
==> Starting pkgver()...
==> Updated version: xrdp-git 1:0.8.0.r484.g9f710ce-1
==> Starting prepare()...
patching file instfiles/pam.d/xrdp-sesman
patching file instfiles/xrdp.service
Hunk #1 FAILED at 6.
1 out of 1 hunk FAILED -- saving rejects to file instfiles/xrdp.service.rej
patching file instfiles/xrdp-sesman.service
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file instfiles/xrdp-sesman.service.rej
patching file instfiles/xrdp.sh
patching file sesman/startwm.sh
patching file xrdp/xrdp.ini
==> ERROR: A failure occurred in prepare().
Aborting...

bidulock commented on 2015-07-22 23:33

Fixed. Thank you!

kmacleod commented on 2015-07-22 21:03

I'm getting this error:

==> Making package: xrdp-git 1:0.8.0.r439.gdbf959f-1 (Wed Jul 22 17:01:42 EDT 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating xrdp-git git repo...
Fetching origin
-> Found arch-config.diff
==> Validating source files with md5sums...
xrdp-git ... Skipped
arch-config.diff ... Passed
==> Extracting sources...
-> Creating working copy of xrdp git repo...
Reset branch 'makepkg'
==> Starting pkgver()...
==> Starting prepare()...
patching file instfiles/pam.d/xrdp-sesman
patching file instfiles/xrdp.service
Hunk #1 FAILED at 6.
1 out of 1 hunk FAILED -- saving rejects to file instfiles/xrdp.service.rej
patching file instfiles/xrdp-sesman.service
Hunk #1 succeeded at 7 (offset 1 line).
patching file instfiles/xrdp.sh
patching file sesman/startwm.sh
patching file xrdp/xrdp.ini
==> ERROR: A failure occurred in prepare().
Aborting...
:: xrdp-git cleaning skipped
:: failed to build xrdp-git package(s)

pmedina commented on 2014-12-03 20:28

Getting the following error

==> Starting pkgver()...
/tmp/packerbuild-0/xrdp-git/xrdp-git/PKGBUILD: line 24: cd: xrdp: No such file or directory
==> Starting prepare()...
/tmp/packerbuild-0/xrdp-git/xrdp-git/PKGBUILD: line 29: cd: xrdp: No such file or directory
==> ERROR: A failure occurred in prepare().
Aborting...
The build failed.

JonnyJD commented on 2013-12-22 16:27

orphaned, since there seem to be issues I don't see me having time to fix in the near future.

I would be happy if somebody could adopt the package.

andreas_baumann commented on 2013-12-15 20:14

Using 'sesman-X11rdp' as login option gave me:

starting connecting
connecting...
connect error
connecting...
connect error
connecting...
connect error
connecting...
connect error
connection problem, giving up
some problem

Using sesman-Xvnc works.

andreas_baumann commented on 2013-12-15 20:13

The PAM configuration is hardly correct:

Something like this does the trick:

/etc/pam.d/xrdp-sesman

auth required pam_unix.so
account required pam_unix.so broken_shadow

uselessSgrant commented on 2013-11-25 04:59

Is there any movement on getting this to work consistantly? Anyone know what the PAM config should look like?

Also where should the /etc/xrdp/startwm.sh be pointing? What is the file on that holds x session info?

JonnyJD commented on 2013-10-24 10:15

This was orphaned, probably by realturner, although I didn't receive an answer. Thanks.

I adopted it and pushed the PKGBUILD as in my repository.

@congyiwu:
You are welcome to open pull requests for the groups and/or the pam when they are either finished or you stop working on them.

congyiwu commented on 2013-10-23 17:20

I wouldn't want to take over this package unless I end up using xrdp regularly...

BTW, it's still broken after my fix. Upstream added tsusers and tsadmins groups that you have to join before you can connect. I have a local PKGBUILD change to create those groups during installation. Upstream also changed the default PAM config file so it is no longer compatible with non-Debian distros. I have a tentative fix for that as well, which I am testing.

JonnyJD commented on 2013-10-23 16:35

And sent a direct email to realturner asking for update or orphaning.
So 2 weeks from now, somebody can request orphaning on the aur-general ML in case nothing happened and I forget to do that.

JonnyJD commented on 2013-10-23 06:56

Thanks for the pull request, merged to my repository.

I have to go now, but I later today I probably ask for this package to be orphaned.
Somebody else (congiwu?) can also do that and pick it up. I would also be fine with that.

congyiwu commented on 2013-10-23 06:30

I hit the following error when building with JonnyJD's PKGBUILD:
sed -i 's|__BASE__|/usr|' /etc/init.d/xrdp;
sed: can't read /etc/init.d/xrdp: No such file or directory

Here's a fix (I sent a pull request): https://github.com/congyiwu/xrdp/commit/171aa36a

Also, after installing, I had to run:
sudo xrdp-keygen xrdp /etc/xrdp/rsakeys.ini

This is due to https://github.com/FreeRDP/xrdp/commit/e702ac79

I fixed JonnyJD's PKGBUILD (and sent a pull request) to generate rsakeys.ini if it doesn't exist yet during install/upgrade:
https://github.com/congyiwu/PKGBUILDs/commit/a0826380

JonnyJD commented on 2013-06-10 15:37

I also updated to new VCS package style (in my repository)

JonnyJD commented on 2013-06-10 14:16

I added an updated PKGBUILD to my repository: https://github.com/JonnyJD/PKGBUILDs/blob/master/xrdp-git/PKGBUILD

This sets the conflict with xrdp, includes the changes by nocain and makes the /usr/sbin move.

This package will hopefully be updated again by realturner.

kmacleod commented on 2013-06-03 18:49

Flagged this as out-of-date for the move to unified /usr/bin.
The current package installs files in /usr/sbin.

kmacleod commented on 2013-06-03 18:09

Flagged this as out-of-date for the move to unified /usr/bin.
The current package installs files in /usr/sbin.

Anonymous comment on 2013-02-22 06:39

Here is an updated PKGBUILD file http://pastebin.com/ApYMA7A6 I tweaked it to take care of the AM_CONFIG_HEADER compile issue and added the systemd files xrdp.service and xrdp-sesman.service

quadpl_03 commented on 2013-02-19 18:44

AM_CONFIG_HEADER needs to be replaced with AC_CONFIG_HEADERS in configure.ac:
sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' configure.ac

https://wiki.archlinux.org/index.php/Xrdp.

Anonymous comment on 2013-01-30 17:36

I get same compilation problem

bluerider commented on 2013-01-16 03:14

I can't seem to compile this. See below for error :

/usr/bin/autoconf
/usr/bin/automake
/usr/bin/libtool
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
configure.ac:5: error: 'AM_CONFIG_HEADER': this macro is obsolete.
You should use the 'AC_CONFIG_HEADERS' macro instead.
/usr/share/aclocal-1.13/obsolete-err.m4:12: AM_CONFIG_HEADER is expanded from...
configure.ac:5: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: echo failed with exit status: 1
autoreconf: aclocal failed with exit status: 1

ImNtReal commented on 2012-11-28 15:37

This should conflict with xrdp.

Anonymous comment on 2012-10-15 19:23

Anyone else have problems launching awesome from the startwm script? It worked before update.

realturner commented on 2012-09-29 23:15

update makedepends as requested.

@techryda, kmacleod:
Nice work, thanks for informing :)
However, looks like systemd is not the default init system yet so I didn't add its support this time.
Maybe putting this in Systemd wiki page would be better?

@Ito:
That will be nice. I thinks we can mention this in Xrdp wiki page.

Alister.Hood commented on 2012-09-28 11:49

Perhaps you meant x11rdp-git?

Alister.Hood commented on 2012-09-28 11:41

> please add freerdp in the dependencies as well. Thanks

Why? It doesn't link against freerdp, does it?

cyberic commented on 2012-09-20 16:03

please add freerdp in the dependencies as well. Thanks

cyberic commented on 2012-09-20 15:42

Could you please add autoconf and automake to the build dependencies?
Thanks for this package!

kmacleod commented on 2012-09-12 16:47

I'd also appreciate systemd support. Just switching over, and this is the last package I need to specify in my rc.conf.
thanks!

techryda commented on 2012-08-16 13:46

@realturner

I neglected to preface my comment below with some other info:

Arch will be switching to systemd as the default init system in the coming weeks/months - http://mailman.archlinux.org/pipermail/arch-dev-public/2012-August/023389.html (Follow the thread)

systemd is currently a fully supported init system in arch - https://wiki.archlinux.org/index.php/Systemd

The changes proposed below will not affect 'non-systemd' functionality at all

...and I also neglected to phrase it as a request. Will you please consider adding systemd support to this package?

Thanks

techryda commented on 2012-08-14 22:29

To add systemd support:

1. Replace the configure line with this:
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-systemdsystemunitdir=/usr/lib/systemd/system

2. Replace the package function with this:

package() {
cd ${srcdir}/$_gitname-build
make DESTDIR=${pkgdir} install || return 1
cd ${pkgdir}
mkdir etc/rc.d/
ln -s etc/xrdp/xrdp.sh etc/rc.d/rdpd
sed -i 's|/usr/local/|/usr/|' etc/xrdp/xrdp.sh
sed -i 's|EnvironmentFile=.*|EnvironmentFile=/etc/xrdp/xrdp.ini|' usr/lib/systemd/system/xrdp.service
sed -i 's|EnvironmentFile=.*|EnvironmentFile=/etc/xrdp/xrdp.ini|' usr/lib/systemd/system/xrdp-sesman.service
}

Then the service can be enabled with:
systemctl enable xrdp.service

and/or started with:
systemctl start xrdp.service

Thanks

Anonymous comment on 2012-08-09 19:15

Hi, I've edited xrdp.ini this way (after checking the Fedora's xrdp package)
=================================
[globals]
bitmap_cache=yes
bitmap_compression=yes
port=3389
crypt_level=high
channel_code=1

[xrdp1]
name=sesman-Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1
=================================

with this config with a client like remmina, that can store your login information, you can connect directly to the xrdp server, without the need of re-entering user/pass.

rascas commented on 2012-06-05 19:34

I got this error compiling. Up-to-date arch x86-64:

gcc -DHAVE_CONFIG_H -I. -I../.. -I../../common -I../../sesman/libscp -I../../sesman -DXRDP_CFG_PATH=\"/etc/xrdp\" -DXRDP_SBIN_PATH=\"/usr/sbin\" -DXRDP_SHARE_PATH=\"/usr/share/xrdp\" -DXRDP_PID_PATH=\"/var/run\" -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT sesadmin.o -MD -MP -MF .deps/sesadmin.Tpo -c -o sesadmin.o sesadmin.c
sesadmin.c: In function ‘main’:
sesadmin.c:145:3: error: too many arguments to function ‘log_end’
In file included from ../../sesman/libscp/libscp_types.h:34:0,
from ../../sesman/libscp/libscp.h:35,
from sesadmin.c:9:
../../common/log.h:169:1: note: declared here
make[3]: *** [sesadmin.o] Error 1
make[3]: Leaving directory `/tmp/packerbuild-0/xrdp-git/xrdp-git/src/xrdp-build/sesman/tools'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/packerbuild-0/xrdp-git/xrdp-git/src/xrdp-build/sesman'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/packerbuild-0/xrdp-git/xrdp-git/src/xrdp-build'
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
The build failed.

antiuser commented on 2012-05-05 09:41

@realturner:
no i have not any X sessions.

realturner commented on 2012-05-05 09:17

@antiuser:
It seems like you've already started another Xserver on display 10 according to your log.
Maybe you should kill that server?

antiuser commented on 2012-05-05 09:14

Last ver work with only VNC, but when i use RDP session, it doesnt work... Following messages
[20120505-15:04:18] [INFO ] scp thread on sck 7 started successfully
[20120505-15:04:19] [INFO ] ++ created session (access granted): username init, ip 10.25.0.33:60549 - socket: 7
[20120505-15:04:19] [INFO ] starting X11rdp session...
[20120505-15:04:19] [CORE ] error starting X server - user init - pid 12667
[20120505-15:04:19] [DEBUG] errno: 2, description: No such file or directory
[20120505-15:04:19] [DEBUG] execve parameter list: 12
[20120505-15:04:19] [DEBUG] argv[0] = X11rdp
[20120505-15:04:19] [DEBUG] argv[1] = :10
[20120505-15:04:19] [DEBUG] argv[2] = -geometry
[20120505-15:04:19] [DEBUG] argv[3] = 800x600
[20120505-15:04:19] [DEBUG] argv[4] = -depth
[20120505-15:04:19] [DEBUG] argv[5] = 24
[20120505-15:04:19] [DEBUG] argv[6] = -bs
[20120505-15:04:19] [DEBUG] argv[7] = -ac
[20120505-15:04:19] [DEBUG] argv[8] = -nolisten
[20120505-15:04:19] [DEBUG] argv[9] = tcp
[20120505-15:04:19] [DEBUG] argv[10] = -uds
[20120505-15:04:19] [DEBUG] argv[11] = (null)
[20120505-15:04:29] [ERROR] X server for display 10 startup timeout
[20120505-15:04:29] [ERROR] X server for display 10 startup timeout
[20120505-15:04:29] [INFO ] starting xrdp-sessvc - xpid=12667 - wmpid=12666
[20120505-15:04:29] [ERROR] another Xserver is already active on display 10
[20120505-15:04:29] [DEBUG] aborting connection...
[20120505-15:04:29] [INFO ] ++ terminated session: username init, display :10.0

realturner commented on 2012-05-01 02:57

@dschmeer: sorry I've missed the libtool in makedepends, now there it is.
Except that there's no difference to the previous one.

realturner commented on 2012-04-07 23:14

@dschmeer: done

Anonymous comment on 2012-04-07 19:08

Can you please add git and libtool in makedepends? Thanks a lot.

JonnyJD commented on 2012-03-13 17:33

This works very well for me and especially much better than tightvnc and xrdp (stable).

I wrote some notes on this setup in https://wiki.archlinux.org/index.php/Xrdp

realturner commented on 2012-03-07 02:28

Switch git to Github.

@Anwar: guess you mean tigervnc in the AUR? I've modify the dependence to it and the sesman-Xvnc works fine.

eworm commented on 2012-03-06 18:46

Development takes place at Github now and project is at: https://github.com/FreeRDP/xrdp
Please update the PKGBUILD! Thanks!

Anonymous comment on 2011-05-07 13:38

Use the tightvnc from the AUR and modify the dependence to login without using the vnc-any Module. The tightvnc package in the extra don't map the fonts.

Montague commented on 2011-02-28 21:41

Thank you, thank you, thank you, for this package!

realturner commented on 2011-02-19 10:11

In this version one should be able to use remote desktop client from Windows 7.
To start up:
# /etc/rc.d/rdpd start
$ vncpasswd # define your password
$ vncserver :1 # start server

Then in welcome screen, choose "vnc-any" Module, with IP=127.0.0.1, port=5901