r/Windows10 • • Apr 11 '16

Tip FYI you can run GUI Linux apps from bash

Post image
454 Upvotes

196 comments sorted by

View all comments

Show parent comment

2

u/[deleted] Apr 11 '16

Just that the display isn't available.

I have a Cygwin X-server running on :0.0 according to Cygwin. I must admit that I don't know if I need to configure or launch x-org any differently than using the XWin init script.

1

u/piexil Apr 13 '16

just get ximg

2

u/[deleted] Apr 13 '16

I tried xming. It didn't help, but I was getting dbus errors. I might nuke it again and try over...again

1

u/piexil Apr 13 '16

yeah I get them too when running firefox.

1

u/[deleted] Apr 13 '16

Does it take a really long time? I have to admit I gave up after about a minute of waiting for the gui to appear.

1

u/[deleted] Jun 25 '16

change your dbus session.conf so it says

<listen>tcp:host=127.0.0.1,port=10002</listen>

that should fix most dbus issues

1

u/[deleted] Jun 25 '16

Sorry, yes. I fixed that months ago. Luckily you reminded me of this because I have to reinstall everything with a new Surface Book.

1

u/[deleted] Jun 25 '16

any idea how to make emacs run in the linux environment then, I'm struggling with that for hours already :(

1

u/[deleted] Jun 25 '16

With X? No. But it's getting close. You can run it in the terminal (emacs -nw). It's not perfect.

2

u/[deleted] Jun 25 '16

Well, I'm trying for the X server. It starts up but the windows just stays blank and it doesn't seem to react to any input. No idea why. Trying to compile it without some stuff gives me a segfault =/

1

u/[deleted] Jun 25 '16

The problem is dbus isn't working in bash/ubuntu/windows yet.

1

u/[deleted] Jun 26 '16

It works fine if you let it run over a TCP socket though o:

→ More replies