This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: logout from gnome-session over ssh


This seems like a bug with ssh.  I get the same thing ssh'ing from Linux
to Linux and from Windows to Linux.  The problem is that the ssh session
won't end until every process started by it ends.  If you're using ssh
as the client command for starting the X server, one workaround is to
log out normally, wait until only the persistent processes are running,
then hit Ctrl+Alt+Backspace to kill the server.

If someone knows the real solution, I'd like to know it too.  What I
present is only a workaround, not a solution.


On Thu, 30 Jun 2005 14:35:33 -0400 Jerome Asselin wrote:

> I want to be able to run gnome-session on a remote linux server from a
> Windows XP workstation. I also want to have decent security, so I'm
> trying to avoid using XDMCP.
> I've just installed cygwin, selecting these packages (and default
> dependencies): openssh, vim, xorg-x11-base.
> >From a cygwin bash shell, I run these commands:
> Xwin &
> export DISPLAY=:0
> ssh -Y remoteserver -l user gnome-session
> This works fine until I try to logout from gnome-session. Logging out
> doesn't kill nautilus nor ssh (nor firefox). I have to manually kill
> the ssh command to terminate the gnome-session.
> How can I make it so that I can cleanly logout from gnome-session?
> Thanks.
> -- 
> Jerome Asselin, Agent de recherche, RHCE
> CHUM -- Centre de recherche
> 3875 rue St-Urbain, 3e etage // Montreal QC  H2W 1V1
> Tel.: 514-890-8000 Poste 15914; Fax: 514-412-7106

"The most humbling achievement of the past millennium, I believe, is the
evolution of the simplest form of communication: the written letter.
>From courier to post to telegram to fax to email, each advancement has
made the awesome power of writing more accessible than ever before."
-Ariel Millennium Thornton, Spokesman and Mascot, Thornton 2 Productions

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]