I would suggest using

> I ran following before become root:
> xhost localhost
>
> Under root:
> echo $DISPLAY
> :0.0
>
> When I run ddd:
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> Error: Can't open display: :0.0

why not sudo ddd instead? That should work just as well if there isn't
a lot of cli redirecting that needs raised privs (I'm afraid I'm not
familiar with ddd enough to know if it does or not). It could be
tedious, but you could always make this script:

xddd.sh:
========================================
#!/bin/sh
sudo ddd $*
========================================
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to