Spyder: can't connect to X server

Created on 1 Sep 2016  路  3Comments  路  Source: spyder-ide/spyder

Description of your problem

Everytime I run spyder from the command line it keeps giving me this error: "Spyder: cannot connect to X server"
What steps will reproduce the problem?

  1. ~$ spyder
  2. Spyder: cannot connect to X server

I'm running Python 3.5 Anaconda on Windows Subsystem for Linux (Bash on Ubuntu on Windows)

Most helpful comment

It is working fine for me,

better run commands from cmd or powershell,
bash
just use
export DISPLAY=:0.0
then type
spyder

i recommend using xming,

I also installed anaconda distribution, so, spyder was already packed in.

my sys is windows 10. I am using WSL

All 3 comments

That's not a supported platform by us, sorry :-(

So you're on your own to make things work. Here are some tips to do it:

http://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/

It is working fine for me,

better run commands from cmd or powershell,
bash
just use
export DISPLAY=:0.0
then type
spyder

i recommend using xming,

I also installed anaconda distribution, so, spyder was already packed in.

my sys is windows 10. I am using WSL

spyder with python 2.7 works.

spyder with python 3.x, a.k.a spyder3 does not, complains that the server (Xming) dors dot support Xinput 2

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spyder-bot picture spyder-bot  路  75Comments

jdweaver picture jdweaver  路  77Comments

goanpeca picture goanpeca  路  106Comments

joshburnett picture joshburnett  路  53Comments

MattJEM picture MattJEM  路  58Comments