open a shell prompt froma python program

bernhard.voigt at gmail.com bernhard.voigt at gmail.com
Thu Oct 30 14:40:51 CET 2008


On Oct 30, 11:53 am, gaurav kashyap <gauravkec2... at gmail.com> wrote:
> HI,
> I am getting the following error:
>
> konsole: cannot connect to X server
>
> do i need to install the related files.

Do you have an x-server running? I assume so, because you have a
terminal window opened.

If you became root using su, you need to allow connections to x-
server, which is started by the regular user. you can do this for
local access using
$ xhost local:

Best wishes! Bernhard



More information about the Python-list mailing list