LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   k3b display problem. (https://www.linuxquestions.org/questions/linux-newbie-8/k3b-display-problem-361033/)

bruse 09-07-2005 08:59 AM

k3b display problem.
 
suse 9.3


student@linux:~>k3b
student@linux:~> su -
Password:
linux:~ # k3b
ERROR: KUniqueApplication: Can't determine DISPLAY. Aborting.
linux:~ #



student@linux:~> echo $DISPLAY
:0
student@linux:~> su -
Password:
linux:~ # echo $DISPLAY

linux:~ # export DISPLAY=:0
linux:~ # echo $DISPLAY
:0
linux:~ # k3b
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kded: cannot connect to X server :0
DCOP aborting call from 'anonymous-4772' to 'kded'
kded: ERROR: Communication problem with kded, it probably crashed.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

kdeinit: Can't connect to the X Server.
kdeinit: Might not terminate at end of session.
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

k3b: cannot connect to X server :0
DCOP aborting call from 'anonymous-4763' to 'k3b'
ERROR: Communication problem with k3b, it probably crashed.
linux:~ # Mutex destroy failure: Device or resource busy




i have kde.i can run k3b as user.
when i login as root in the same konsole run run k3b but there is a display problem.


now to run as root.

NOTE: IF I GO TO ROOT KDE IT IS WORKING WELL.(THE PROBLEM ONLY IN THE USER AREA)

-------------THANKS.

koyi 09-07-2005 10:19 AM

I think it is the problem of xhost blocking access of root to the server. It is for security reason I think. Try running

Code:

$ xhost localhost
as a normal user before "su -".

If this doesn't work, try to look for the usage of xhost from the man pages or from this forums or from the Internet. I don't remember the exact option to disable xhost from blocking access.

Good luck.


All times are GMT -5. The time now is 06:26 PM.