-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LOGNAME env should be set #725
Comments
+1 |
metalefty
added a commit
to metalefty/xrdp
that referenced
this issue
Apr 4, 2017
which is used to store login name. The login name shall be the string that would be returned by the getlogin() function [1]. Some applications only refers LOGNAME environment variable and don't fallback to other variables such as USER. Fixes neutrinolabs#725. Reported by @seidler2547. [1] The Single UNIX Specification, Issue 7
metalefty
added a commit
that referenced
this issue
Apr 6, 2017
which is used to store login name. The login name shall be the string that would be returned by the getlogin() function [1]. Some applications only refers LOGNAME environment variable and don't fallback to other variables such as USER. Fixes #725. Reported by @seidler2547. [1] The Single UNIX Specification, Issue 7
metalefty
added a commit
to metalefty/xrdp
that referenced
this issue
May 9, 2017
which is used to store login name. The login name shall be the string that would be returned by the getlogin() function [1]. Some applications only refers LOGNAME environment variable and don't fallback to other variables such as USER. Fixes neutrinolabs#725. Reported by @seidler2547. [1] The Single UNIX Specification, Issue 7
metalefty
added a commit
that referenced
this issue
May 12, 2017
which is used to store login name. The login name shall be the string that would be returned by the getlogin() function [1]. Some applications only refers LOGNAME environment variable and don't fallback to other variables such as USER. Fixes #725. Reported by @seidler2547. [1] The Single UNIX Specification, Issue 7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In sesman/env.c, the environment variable
LOGNAME
should be set to the same value asUSER
. I checked the source code of other X login managers, and it is being set there. There was even a bug in Firefox that makes Firefox crash when this isn't set.The text was updated successfully, but these errors were encountered: