Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Allow running without a display manager #60

Merged
merged 6 commits into from
Oct 25, 2018
Merged

Conversation

davidmhewitt
Copy link
Member

@davidmhewitt davidmhewitt commented Sep 9, 2018

Fixes #64

XDG_SEAT_PATH only exists if the DE has been launched via something that sets it (e.g. lightdm).

With my experiment of logging in via VNC, I don't go via the display manager and instead launch a session directly on VNC login and hence don't have this env var set.

Passing a null path to get_proxy_sync causes an assertion that crashes wingpanel. So while this doesn't change the behaviour at all for normal use, it makes it way less crashy for nonstandard display managers or weird remote logins like mine.

Copy link
Collaborator

@jeremypw jeremypw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cannot see any downsides.

@danirabbit danirabbit merged commit b8c0ac1 into master Oct 25, 2018
@danirabbit danirabbit deleted the allow-no-displaymanger branch October 25, 2018 16:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants