On sam., 2009-12-05 at 14:23 +0100, Piotr Engelking wrote: > Yves-Alexis Perez <cor...@debian.org>: > > > Can you try to debug what is happening (like, if it's because > there's a > > huge cpu usage, or if xfwm is stuck, or something like that). > > The entire session is in stopped state ('T' in ps). Killing joe and > sending SIGCONT to the session actually recovers it.
What do you mean by “the entire session”? xfce4-session? Or all xfce related processus? > > > Can you try to install a graphical editor (like mousepad) and retry? > > I had it already installed, and no problems with it, of course. Ok. > > > The thing is, there is no x-sensible-editor. So if you have no > graphical > > editor, yes it'll fallback to terminal ones. But it works perfectly > fine > > with vim and nano, afair. Never tried with joe though, so maybe > that's > > the problem, not sure. > > Sensible-editor doesn't work this way. Unlike sensible-browser it > doesn't prioritize X editors. Well, it'll default on nano and vi if it didn't found anything. > > Vim is X-aware, so no surprises here, and nano refuses to run if stdin > is not a terminal: No it's not. I meant vim-tiny, sorry. > > $ nano < /dev/null > Received SIGHUP or SIGTERM > $ > > Joe doesn't (which is actually useful for running it as part of a > pipeline), and as it is a terminal program, it ends messing the > controlling terminal of the X session. Questions I can think of are: > > * Does any of the X programs actually need a controlling terminal? If > not, perhaps xinit should detach itself from the terminal? > > * If they need a controlling terminal, does any of them actually need > to open it? If not, perhaps it should be put into exclusive mode? > > Using any of the above safeguards would be nice. > > And of course the default 'Editor' launcher still needs to be fixed. > Even if it stops freezing the session, it still doesn't do anything > useful if the editor run by sensible-editor is a non-X one. The only way I know is to force an editor there, like mousepad. Which means I have to depend on it, and people won't like to be forced to have it installed. So basically I'll just remove it completely. -- Yves-Alexis
signature.asc
Description: This is a digitally signed message part