gemjack...@gmail.com wrote: >This fixed my problem with thkinter..... sudo cp ~/.Xauthority ~root/
Which means that you were creating a GUI window with Python as root, which is to be avoided if you can. If you can't avoid it and you're running it with sudo in a bash console, rather than a root console, then I'd suggest adding the line... XAUTHORITY=$HOME/.Xauthority ...to the root's .bashrc which avoids putting a specific user's xauthority file in the root directory. -- https://mail.python.org/mailman/listinfo/python-list