lightdm: allow dm-tool lock to work properly#11686
lightdm: allow dm-tool lock to work properly#11686philandstuff wants to merge 1 commit intoNixOS:masterfrom philandstuff:fix-lightdm-dm-tool-lock
dm-tool lock to work properly#11686Conversation
|
By analyzing the blame information on this pull request, we identified @ocharles, @viric and @wkennington to be potential reviewers |
|
It's probably worth saying that |
|
This looks OK from me, @viric, @wkennington - any thoughts? |
|
@philandstuff do you mind rebasing on top of master ? There is just one thing that needs to be fixed: $@ needs to be quoted for shell expansion to work properly. So |
Fixes #5038. The `dm-tool lock` command fails to work for reasons described in #5038: it tries passing arguments to the xserver command, but the wrapper throws the arguments away and replaces them with different arguments. I fixed this by specifying the xserver args in the lightdm.conf file instead of in the wrapper. This works for lightdm on startup, and also works for `dm-tool lock` when it later passes a different set of arguments to start a separate X server on another display.
|
hmm, it looks like 9be012f by @obadz (merged in #11338) has already added the The only thing remaining in this PR is whether I've rebased the commit and I'll leave this open for a few days if someone wants to take it up, but if there's no further activity within a week I suggest closing this PR. |
|
@philandstuff I wonder that too |
|
@philandstuff actually I'm pretty sure it's fixed |
|
Closing (re #11686 (comment) ) |
Fixes #5038.
The
dm-tool lockcommand fails to work for reasons described in #5038:it tries passing arguments to the xserver command, but the wrapper
throws the arguments away and replaces them with different arguments.
I fixed this by specifying the xserver args in the lightdm.conf file and
having the wrapper pass them through. This works for lightdm on
startup, and also works for
dm-tool lockwhen it later passes adifferent set of arguments to start a separate X server on another
display.
Ping @ocharles @wkennington, who are listed as maintainers of the lightdm package.