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

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

            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@FreeBSD.org
          Reporter: pumpy@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!

--=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-250850-7788>