[Bug 250850] xrdp port defect - doesn't use setusercontext

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 4 03:54:03 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250850

            Bug ID: 250850
           Summary: 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: ports-bugs at FreeBSD.org
          Reporter: pumpy at tempinbox.xyz

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!

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


More information about the freebsd-ports-bugs mailing list