emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Log out hanging after X-forwarded emacsclient [Was: Closing displays


From: Robert Pluim
Subject: Re: Log out hanging after X-forwarded emacsclient [Was: Closing displays GTK+ bug]
Date: Sat, 18 Apr 2020 11:45:19 +0200

>>>>> On Fri, 17 Apr 2020 18:06:13 +0200, "Adam Sjøgren via \"Emacs development 
>>>>> discussions." <address@hidden> said:

    Adam> James writes:
    >>>>>>> "Edd" == Emacs development discussions <Adam> writes:
    >> 
    Edd> When I then end emacsclient with C-x # I'm back at the prompt. If I run
    Edd> "exit", the prompt is hanging, where I would expect to be logged out of
    Edd> machine1 and returned to machine2. Only after I press control-c do I 
get
    Edd> the prompt back:
    >> 
    >> lots of applications trigger that when forwarding x11 over openssh.

    Adam> Can you give some examples?

    Adam> I can't think of any program I have seen the same thing happen with.

virt-manager triggers this for me. Even when Iʼve exited virt-manager.

    Adam> It is also uncommon to ssh to a machine, ask an already running 
program
    Adam> to open a window on the remote screen, close the window and log out,
    Adam> without quitting the entire program.

It is? I do that all the time :-)

    Adam> But that's of course exactly what I want to do with Emacs.

    >> perhaps some resource was stored in the x server and ssh holds the
    >> forward open until it is released?

    Adam> Sounds likely, so I just need to figure out what it is and how to 
avoid
    Adam> it ;-)

    Adam> (Running emacsclient with nohup exhibits the problem, so it isn't as
    Adam> simple as stdin/stdout/stderr.)

Hmm. Does 'disown' help?

Robert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]