> Rattan wrote:
> 
> > An invocation results in (for $ drawterm -a <suthsvr> -c <cpusvr>):
> > 
> > not at local console; won't ask for password
> > 
> > What could cause it?
> 
> ============================
> 
> Running drawterm on a server, viewing on a terminal?

If you connect from the terminal to the server via ssh,
and use the X11 forwarding of ssh, it does work, in my experience.

the thing is that DISPLAY should either not contain a name part
(so be just :0 or so), or if it contains a hostname or fully
qualified domain name (foo:1, foo.some.dom:1), the name should
be the hostname or the host.domain name of the machine on which
you start drawterm, as reported by gethostname (foo.some.dom).
see /sys/src/cmd/unix/drawterm/screen-x11.c:/^atlocalconsole

Axel.

Reply via email to