gui wrapper for ssh -X

David Woodhouse dwmw2 at infradead.org
Sat Mar 8 20:33:35 EST 2003


On Fri, 2003-03-07 at 19:36, Jim Knoble wrote:

> : +		ioctl(fd, TIOCNOTTY, NULL);

> You may also be able to use setsid(2) to accomplish the same thing.

Hmmm. That'd be more portable; I'll do that next time I rebuild Evo.
Thanks for pointing it out.

> : You also need to export a fake 'DISPLAY' environment variable, even
> : if you're not actually running under X and don't want your askpass
> : program to use X.
> 
> (If you're doing X11 forwarding with 'ssh -X', you ought to be running
> under X and to already have a DISPLAY).

True; that's more of a problem if you want to use askpass in a non-X 
environment or just to open a back-channel to the master program for
interaction with the user.

-- 
dwmw2




More information about the openssh-unix-dev mailing list