Debian: cannot connect to X server post

Quick tip on KDE based Debian:

When you receive the following error when trying to run a X application with sudo:

[email protected]:~$ sudo unetbootin
No protocol specified
unetbootin: cannot connect to X server :0

Run the following command and try again:

[email protected]:~$ xhost SI:localuser:root
localuser:root being added to access control list

Tags: debian, kde, linux, super user


comments powered by Disqus