[BangPypers] Howto run python selenium script on remote server

Balachandran Sivakumar benignbala at gmail.com
Thu Sep 29 17:55:18 CEST 2011


Hi,

On Thu, Sep 29, 2011 at 8:53 PM, Saju M <sajuptpm at gmail.com> wrote:
> Hi,
> I tried to open one GUI app in server, but not working
>
> [root at c5 ~]# export DISPLAY=":1.0"
> [root at c5 ~]# xclock
> Error: Can't open display: :1.0
>

        IIRC, on most GNU/Linux machines, ssh -X user at host would allow
launching GUI applications without any other settings. But in case it
doesn't work, I think you would need to export DISPLAY to your
client's X, so it would be something like export
DISPLAY=client_ip:0.0. Give it a try. Thanks

-- 
Thank you
Balachandran Sivakumar

Arise Awake and stop not till the goal is reached.
                                                             - Swami Vivekananda

Mail: benignbala at gmail.com
Blog: http://benignbala.wordpress.com/


More information about the BangPypers mailing list