I'm trying to create a popup to show the connection speed. I'm trying this:
root :~# kdialog --display localhost:0 --msgbox "Connection Speed `tail -n1 /var/log/ppp-connect-errors | awk '{ print $6 }'` bps" kdialog: cannot connect to X server localhost:0 but, as you can see, it won't connect to the xserver. How can I get this to work?