Skip to content
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

[Solved] X.org fails to start when using xinitrc #40

Closed
lll2yu opened this issue Jul 24, 2018 · 2 comments
Closed

[Solved] X.org fails to start when using xinitrc #40

lll2yu opened this issue Jul 24, 2018 · 2 comments

Comments

@lll2yu
Copy link

lll2yu commented Jul 24, 2018

According to the issue dunst-project/dunst#347 I need to add systemctl --user import-environment DISPLAY to the .xinitrc of the user in order to correctly start dunst dbus service and use it.
But ly fails to start x (gets stuck on a black screen) when this environment variable is added to the xinitrc.
Is there any workaround possible to make it work?

@qub1750ul
Copy link
Contributor

try

systemctl --user import-environment DISPLAY XAUTHORITY

if command -v dbus-update-activation-environment > /dev/null 2>&1 ; then
         dbus-update-activation-environment DISPLAY XAUTHORITY
fi

@lll2yu
Copy link
Author

lll2yu commented Jul 25, 2018

Thanks, that worked. Closing this here.

@lll2yu lll2yu changed the title X.org fails to start when using xinitrc [Solved] X.org fails to start when using xinitrc Jul 25, 2018
@lll2yu lll2yu closed this as completed Jul 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants