Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Nov 2020 04:08:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250852] net/xrdp port defect - doesn't use setusercontext
Message-ID:  <bug-250852-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D250852

            Bug ID: 250852
           Summary: net/xrdp port defect - doesn't use setusercontext
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: meta@FreeBSD.org
          Reporter: pumpy@tempinbox.xyz
          Assignee: meta@FreeBSD.org
             Flags: maintainer-feedback?(meta@FreeBSD.org)

the upstream code thinks it can do all the login work itself, just doing
setuid, initgroups, etc. when instead it should have been patched to use
setusercontext.

the upshot is if you define your env in ~/login_conf :setenv, when you rdp =
into
your account, your env doesn't match what it is when you ssh in.

the temporary workaround is to use `exec env -U "$USER" i3` in xrdp's
startwm.sh file instead of just `exec i3`.

thanks!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250852-7788>