I'm trying to install a software which comes with a shell script to install, and I need to run this in su because of some drivers it installs.
When I try to run this shell script with sudo:
➜ lab sudo ./xsetup
_xsetup: cannot connect to X server
And this is the error message I get in a dialog window when I try to run it with kdesu:
Cannot execute command ' ./xsetup'.
Thanks.
Btw, if anyone's interested, the software I'm trying to install is Xilinx.