ubuntu / ubuntu/lightdm

display/greeter-setup-script in one seat is blocking greeter session in the other ones

Open
#33 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
1k
Forks
168
PR merge metrics
No merged PRs in 30d

Description

In my multi-seat setup, I want to run a pre-greeter script (configured via display/greeter-setup-script) that waits for user input before greeter starts in some seats. However, I'm observing that my script is blocking lightdm in such a way that the next seat's greeter will only be spawned when the previous seat's display/greeter-setup-script has finished.

Is there a way to make lightdm spawn my display/greeter-setup-scripts in a non-blocking way?

P.S.: I've already thought about the possibility to use a greeter-wrapper rather than a greeter-setup-script, but greeter-wrapper is run as lightdm user, right? In this case, my wrapper script would fail, unless user lightdm is member of group input.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how display/greeter-setup-script is launched and how lightdm handles the next seat, then compare that path with greeter-wrapper and its lightdm-user permissions. Done means setup scripts in one seat no longer prevent other seats from spawning their greeters, with the intended behavior covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.