Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • X xrdp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • Debian Remote Packaging Team
  • xrdp
  • Merge requests
  • !6
The source project of this merge request has been removed.

Source ~/.profile in startwm.sh

Closed Raphaël Halimi requested to merge (removed):master into master Feb 07, 2022
  • Overview 0
  • Pipelines 0
  • Changes 1

/etc/xrdp/startwm.sh doesn't source $HOME/.profile, which results in $HOME/.local/bin not being in $PATH when a terminal is opened (most terminals execute non-login shells by default).

GDM does it in /etc/gdm3/Xsession, and I guess it's also implicitly done by startx too (since a console login is a login shell, so ~/.profile would be sourced, and $PATH would be inherited by terminals opened in the X server; I didn't test this but this would be logical), so I think it's safe.

I tried on my PC by directly modifying /etc/xrdp/startwm.sh and this worked as intended, with no visible side-effects.

Thanks !

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: master