Some commands need to be run as root, if you haven't already done it, install package "rootsh" and then you can gain root privileges by entering "sugo gainroot" in the X terminal.