Merge lp://staging/~teemperor/pantheon-greeter/prevent-accidential-launch into lp://staging/~elementary-pantheon/pantheon-greeter/trunk
Proposed by
Raphael Isemann
Status: | Rejected |
---|---|
Rejected by: | Raphael Isemann |
Proposed branch: | lp://staging/~teemperor/pantheon-greeter/prevent-accidential-launch |
Merge into: | lp://staging/~elementary-pantheon/pantheon-greeter/trunk |
Prerequisite: | lp://staging/~teemperor/pantheon-greeter/wallpaper-settings-from-file |
Diff against target: |
17 lines (+7/-0) 1 file modified
src/PantheonGreeter.vala (+7/-0) |
To merge this branch: | bzr merge lp://staging/~teemperor/pantheon-greeter/prevent-accidential-launch |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
elementary Pantheon team | Pending | ||
Review via email:
|
This proposal supersedes a proposal from 2014-08-04.
Description of the change
Not much to say here.
After pantheon-greeter is now in PATH we should do this to prevent even more harm to the human population...
To post a comment you must log in.
Unmerged revisions
- 277. By Raphael Isemann
-
We prevent the user from launching this by accident from the shell
- 276. By Raphael Isemann
-
We now read the wallpaper from a .greeter-settings file
The lightdm user may be changed to _lightdm or _ldm or something else by a distribution, or maybe LightDM even runs as root because of a distribution specific. You can check if LIGHTDM_ TO_SERVER_ FD is set to see if we were launched by LightDM, and it looks like pantheon-greeter *already* checks if it is set, and simply warns instead of errors out:
** (pantheon- greeter: 24061): WARNING **: No LIGHTDM_ TO_SERVER_ FD environment variable
Perhaps just changing that to an error (unless --force-launch is used) would work.