-
-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
emacsclient cannot open display #224512
Comments
I'm not the maintainer of this service and I don't use it. I use the Emacs service from home-manager which I recommend: https://rycee.gitlab.io/home-manager/. |
My apologies. I saw that you were the original author, so I figured you were my best bet. It looks like home-manager might be avoiding this by (optionally) using socket activation. Something similar might work here, but I'm sure there's a more robust solution. I'll have to dig into it a bit when I have time. |
Does nix-community/home-manager#3443 (comment) helps @crawford? |
Yeah, ordering |
If emacs starts before the graphical session is initialised, clients won't be able to open new frames in the session. Start emacs with the graphical session to avoid this issue. Fixes NixOS#224512
If emacs starts before the graphical session is initialised, clients won't be able to open new frames in the session. Start emacs with the graphical session to avoid this issue. Fixes NixOS#224512
Wanted to confirm |
Same here, "graphical" solution works. It would be nice to see @Atemu's pr merged. |
If emacs starts before the graphical session is initialised, clients won't be able to open new frames in the session. Start emacs with the graphical session to avoid this issue. Fixes NixOS#224512
Describe the bug
I have the Emacs daemon enabled on my system (
services.emacs.enable = true;
). When I log in, I can see that the daemon is running but I am unable to startemacsclient
:Restarting the daemon fixes the issue. Is the daemon starting too early and missing some variables from Wayland?
Steps To Reproduce
Steps to reproduce the behavior:
services.emacs.enable = true;
)emacsclient
Expected behavior
emacsclient
starts:Notify maintainers
@DamienCassou
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: