Try running the remote X client using dbus-run-session(1), which I have on my FreeBSD build of dbus:
$ ssh mybox $ dbus-run-session -- gedit I came across this thread looking for why ssh sessions in which I ran /certain/ X clients would hang the session when I tried to exit. Now that I know it's a dbus issue, I came across a dbus session wrapper program that suits my needs perfectly. Now I can alias those naughty commands while in an ssh session. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/592434 Title: ssh -X user@machine hangs when using exit to terminate To manage notifications about this bug go to: https://bugs.launchpad.net/dbus/+bug/592434/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs