-
Notifications
You must be signed in to change notification settings - Fork 854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with dbus-launch and x11 forwarding and /etc/machine-id? #2016
Comments
@tnguyen14 - Those messages pointed you should make "/etc/machine-id" file through "dbus-uuidgen" command. |
@sunjoong I tried running that, but it seems to just get erased right away 01:18 tri ~
:; dbus-uuidgen
d88a7801e574ff94989d229459017f2c
01:18 tri ~
:; gnome-terminal
** (gnome-terminal.real:794): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-aZpyqLLN96: Connection refused
Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error spawning command line 'dbus-launch --autolaunch= --binary-syntax --close-stderr': Child process exited with code 1
01:18 tri ~
:; cat /etc/machine-id
01:18 tri ~
:; |
Gnome terminal has run out of the box on WSL for quite some time, so you've dropped a Ubuntu stitch somewhere along the way. If you start from scratch (
...it should pop up. Note you'll have more joy with VcXrsv than Xming, but that isn't what is causing this problem (whatever is causing this problem). |
@therealkenc I tried following your instruction of uninstalling and re-installing, then `sudo apt install gnome-terminal I still get the same error as described above. I didn't not install the entire |
It does and it doesn't. Somewhere in the behemoth that is the ubuntu-desktop meta package there is some package that populates |
Seems like installing I will close this issue for now. The only remaining thing I have is this warning when I launch
|
@tnguyen14 - Good. |
Thanks for the link @sunjoong. I don't see the file |
@tnguyen14 - I'm using gentoo on wsl, not ubuntu, and can not remember ubuntu very well; sorry. You could better to open new issue if you need it. |
How do you use Gentoo with WSL? Can other distro be used as well?
…On Apr 27, 2017 11:16 PM, "Sunjoong Lee" ***@***.***> wrote:
@tnguyen14 <https://github.com/tnguyen14> - I'm using gentoo on wsl, not
ubuntu, and could not remember ubuntu very well; sorry. You could better to
open new issue if you need it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2016 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABk3c5adreEdZCR6gtk-ExpRHNQT2_YJks5r0VoVgaJpZM4NJtzD>
.
|
@tnguyen14 - Didn't you know you can use other distrubution? You can do it with WSL-Distribution-Switcher . I had not known that program then, and though had known that, I don't want to install unknown program, I did it manually; cynede/gentoo-wsl#2 . |
@tnguyen14 In Xenial I think, the file is found here. |
@tnguyen14 - Up in my message here I suggested
and also
In any event, the warning is from Ubuntu's (technically Gnome's) userspace, not an error from the WSL kernel. |
fixed this issue for me. |
As @ChasonDeshotel and @therealkenc said, installing dbus-x11 and and starting dbus service solved the problem. sudo apt-get install dbus-x11
sudo service dbus start |
For those who are getting export $(dbus-launch) This will export the correct That's the only thing that worked for me after literally trying everything. |
This solved a similar problem I had in Cygwin. But I had to install dbus-x11 package before. Thanks @l0gicgate |
For some reason |
ver
at a Windows Command Prompt)Microsoft Windows [Version 10.0.15063]
I'm trying to open
gnome-terminal
(with X11 forwarding - I already have Xming installed), when I encountered the following error:When I try to launch it with
dbus-launch
, it works, but I still see the warning about/etc/machine-id
.What's wrong / what should be happening instead:
I think there might be 2 issues here, one with dbus-launch, the other with
/etc/machine-id
. I'm not familiar with either.Could someone help me debugging through it?
The text was updated successfully, but these errors were encountered: