LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   namebench give some strange (http://www.linuxquestions.org/questions/slackware-14/namebench-give-some-strange-4175458739/)

carlitoco 04-19-2013 04:00 AM

namebench give some strange
 
Hey I want to check with namebench, but it gives some strange things:
Code:

bash-4.2# ./namebench.py
Starting Tk interface for namebench...
No protocol specified
Traceback (most recent call last):
  File "./namebench.py", line 73, in <module>
    namebench.Execute()
  File "/home/toco/Downloads/namebench-1.3.1/libnamebench/tk.py", line 149, in Execute
    self.root = Tk()
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1685, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display ":0.0"

I dont know if python is configured right, I've a native Slackware full install here...

ponce 04-19-2013 04:01 AM

you are probaly launching it as root in an X session owned by your user.

in another user shell issue a
Code:

xhost +localhost

carlitoco 04-19-2013 04:46 AM

you're right, thank you !


All times are GMT -5. The time now is 11:55 PM.