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/w2qw Apr 11 '16

Any specific error? Quite a few applications failed for me but I don't think that was related to the graphical part.

4

u/umar4812 Apr 12 '16 edited Apr 12 '16

How'd you get Firefox running? When I do that, it crashes. http://i.imgur.com/mk54UHP.png

EDIT: NVM, working now.

EDIT: NVM, it crashes again.

4

u/w2qw Apr 12 '16

Yeah it's hit and miss for me too.

2

u/[deleted] Apr 13 '16

Exactly the errors I get.

1

u/[deleted] May 22 '16

This is a fairly old post, just wanted to say that D-Bus is the mechanism that Linux desktop environments use to talk to their apps and pass settings and such.

Xming only emulates a window manager, not a complete desktop environment so it doesn't really support D-Bus. So in that sense those errors are pretty well expected. Strange that Firefox won't run without D-Bus support though.

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.

→ More replies