kdialog error
Hi Guys,
I am getting the follwing error related to kdialog. It seems that it is not related to xlib since it is already installed. Any idea? root@linux:~#kdialog --msgbox "this is the test" Xlib: connection to ":0.0" refused by server Xlib: No protocol specified kdialog: cannot connect to X server :0 --Regards, Pujan Srivastava |
You apparently are logged in as user, then did su to root and tried to run a graphical application as root, from the command line.
The correct procedure. As user, issue the command: xhost +localhost. Then su to root. Then run kdialog. When you're done, exit to user prompt, then run: xhost -localhost. |
All times are GMT -5. The time now is 05:43 PM. |