Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: When I ssh into Fedora 40, I can't run Emacs unless I give it the -nw option. This is a regression, as I did not observe this problem with Fedora 39. Version-Release number of selected component (if applicable): Emacs 29.3 How reproducible: Steps to Reproduce: 1. ssh into Fedora 40 2. run the shell command "emacs" 3. Actual results: Emacs outputs "(emacs:32326): Gtk-WARNING **: 23:02:45.536: cannot open display:" and fails. Expected results: A terminal-only Emacs session. Additional info: My terminal type is xterm-256color. If I run the shell command env -i TERM=xterm-256color HOME=/tmp /usr/bin/emacs I get the same error, so this does not appear to be anything in my environment.
I have pushed a patch to address this to rawhide. I will await feedback before considering it for Fedora 40.
Thanks. Is it a patch that Emacs should install upstream? I can arrange for that. (Sorry, I don't know how to find out the patch you're talking about.)
(In reply to Paul Eggert from comment #2) > Thanks. Is it a patch that Emacs should install upstream? I can arrange for > that. Thanks for the offer, but the patch will not be acceptable to Emacs upstream, because it does not work with the GDK quartz or win32 backends. See the discussion at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63555 > (Sorry, I don't know how to find out the patch you're talking about.) You can find it via the latest commit at https://src.fedoraproject.org/rpms/emacs/commits/rawhide
*** Bug 2344374 has been marked as a duplicate of this bug. ***
(In reply to Peter Oliver from comment #1) > I have pushed a patch to address this to rawhide. I will await feedback > before considering it for Fedora 40. I think no news is good news, here.
FEDORA-2025-05c1c40684 (emacs-29.4-10.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2025-05c1c40684
FEDORA-2025-05c1c40684 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-05c1c40684` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-05c1c40684 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2025-05c1c40684 (emacs-29.4-10.fc40) has been pushed to the Fedora 40 stable repository. If problem still persists, please make note of it in this bug report.