Run any Desktop Environment in WSL #637

Open
Guerra24 opened this Issue Jul 9, 2016 · 202 comments

Projects

None yet
@Guerra24
Guerra24 commented Jul 9, 2016 edited

I finally managed to run Unity inside WSL, this shows that is fully capable of running an entire Desktop Environment, there is some issues with dbus and sometimes VcXsrv crashes, also you can't logout and the only way of exiting is closing compiz.

The fix for dbus is from Reddit Link to post.

EDIT: Images for running in comment below.

ss 2016-07-08 at 08 49 22

The only programs that can be opened are in the panel and there is no way of opening the terminal inside unity, for do this you need to open another bash in Windows, export the display and run gnome-terminal, after that the terminal will show up so lock that in the panel for future use.

EDIT 2:
This not applies only for Unity, I also tested xfce4 but in this case only the dbus fix is required for running but this has more bugs.

ss 2016-07-10 at 12 03 33

@fpqc
fpqc commented Jul 9, 2016

Gonna see if I can use the dbus trick to get guake running

@paladox
paladox commented Jul 10, 2016

@Guerra24 hi could you upload some images of you doing it please so we can follow it please.

@fpqc
fpqc commented Jul 10, 2016 edited

I could not get guake running @Guerra24 . Wanna give it a go? It said it failed on come kind of notification plugin for freedesktop not being available.

@Guerra24
Guerra24 commented Jul 10, 2016 edited

Ok @paladox.
For Unity:
Important: Before doing this apply the fix for dbus that i leaved before.
Install VcXsrv and open XLaunch. Leave it like this:
00

Other settings leave as default and finish the configuration.
Now open bash, install ubuntu-desktop, unity and ccsm. Export the display and open ccsm.
01
Inside ccsm mouse pointer may be not visible due to icon not loaded. Enable the following plugins.
02
03
(sorry for spanish text mixed with english, some issues with locales). Now close ccsm and open compiz.
04
Compiz will load and seconds later unity will show up.
05
To exit from unity close bash or kill compiz, the only way of closing unity.
For XFCE:
The same configuration for VcXsrv applies here and only run xfce4-session.

@robinduckett

Any way to achieve a unified desktop environment with windows?

@paladox
paladox commented Jul 10, 2016

Thank you. @Guerra24 I'm getting something to do with proxy error now.

@Guerra24

@robinduckett From what i tested no.

@Guerra24 Guerra24 changed the title from Running Unity Desktop in WSL to Run any Desktop Environment in WSL Jul 10, 2016
@paladox
paladox commented Jul 10, 2016

@Guerra24 hi, I'm getting this error

ERROR 2016-07-10 20:14:42 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory

WARN 2016-07-10 20:14:56 unity.glib.dbus.proxy GLibDBusProxy.cpp:403 Cannot call method SuspendAllowed: Timed out waiting for proxy

@paladox
paladox commented Jul 10, 2016

@Guerra24 If possible could there be a video please. Your steps are clear but seems I might be doing something wrong.

@Guerra24

@paladox I have the same errors but i only leave it finish and loads correctly. See:
ss 2016-07-10 at 01 23 13

@paladox
paladox commented Jul 10, 2016

Oh @Guerra24 thanks, how long did it take for you to load please.

@paladox
paladox commented Jul 10, 2016

Also is it normal to get these errors

ERROR 2016-07-10 20:57:42 unity.session.gnome GnomeSessionManager.cpp:399 UPower call failed: Timed out waiting for proxy
WARN 2016-07-10 20:57:42 unity.glib.dbus.proxy GLibDBusProxy.cpp:403 Cannot call method HibernateAllowed: Timed out waiting for proxy
ERROR 2016-07-10 20:57:42 unity.session.gnome GnomeSessionManager.cpp:399 UPower call failed: Timed out waiting for proxy
WARN 2016-07-10 20:57:42 unity.glib.dbus.proxy GLibDBusProxy.cpp:403 Cannot call method SuspendAllowed: Timed out waiting for prox

@Guerra24

@paladox Yes, for me it took like 30~ secs from compiz run to unity but sometimes take 1min+ to load.

@paladox
paladox commented Jul 10, 2016 edited

@Guerra24 Oh, it is still on that screen 5+ mins now I think 10+ now.

@Guerra24
Guerra24 commented Jul 10, 2016 edited

@paladox mmm, did you configure correctly the x server, the display, compiz plugins and dbus? because one of these is the cause.

@paladox
paladox commented Jul 10, 2016

woks now.

Thankyou very much :).

@Guerra24

@paladox Wait some time because needs to load nautilus and other stuff.

@paladox
paladox commented Jul 10, 2016

@Guerra24 ok, it works. How do I get the background and the terminal working please.

@Guerra24
Guerra24 commented Jul 10, 2016 edited

@paladox For the terminal open another bash in windows, now inside bash export the display with: export DISPLAY=localhost:0 and run gnome-terminal. The background will be working by default, i didn't nothing to that.

@paladox
paladox commented Jul 10, 2016

@Guerra24 thanks, it shows this error

Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Exhausted all available authentication mechanisms (tried: EXTERNAL, DBUS_COOKIE_SHA1, ANONYMOUS) (available: EXTERNAL, DBUS_COOKIE_SHA1, ANONYMOUS)

@Guerra24

@paladox !? i didn't see that error before. For me only shows this:
ss 2016-07-10 at 02 28 57
But if not load try using another terminal like xfce4, etc.

@paladox
paladox commented Jul 10, 2016

Oh ok

@paladox
paladox commented Jul 10, 2016

Yep using a different one such as xfce4 worked. Thankyou very much :).

@paladox
paladox commented Jul 10, 2016 edited

@Guerra24 I wonder why gnome-terminal wont start for me.

@therealkenc

@Guerra24, you mention in your edited OP that "there is no way of opening the terminal inside unity". You can launch your first terminal by clicking on Files then Computer. Then click the search icon, and type gnome-terminal in the box. Double-click on gnome-terminal and you're golden. There is no need to open another bash shell.

@Manouchehri
Contributor

@paladox Try another terminal, ideally one that doesn't use a daemon.

@ethanhs
ethanhs commented Jul 11, 2016

Excellent work @Guerra24! I maintain a list of programs that have been tested on the WSL. Would you mind adding your experience to the list? It'd be appreciated !

@paladox
paladox commented Jul 11, 2016 edited

@Manouchehri ok, thanks I tried xfce4-terminal an worked.

@iahu
iahu commented Jul 11, 2016

good news

@fpqc
fpqc commented Jul 11, 2016 edited

I got guake running without loading a DE.

First, you need to load up guake's configuration window with
guake -p
after doing the dbus edit, then disable notification on startup, since nobody has written a Linux-side config file that will pipe Linux notifications to Windows ones, although I bet that using something like @xilun 's cbwin 0.6 ( https://github.com/xilun/cbwin ) , it can be done (write a windows-side application that just pushes notifications, for example).

However, I also got tilda working, and the only problem I've had with it is that it's exporting the wrong TERM value, and Tilda looks a little bit nicer because it has a borderless version that looks a lot nicer in Windows. Also, since you can set a custom browser with it, you can use the following command as your browser command (with Xilun's cbwin 0.6):

wstart : {browsername}

(where {browsername} is the command you use to run your browser with the Run dialog in Windows, although I don't think this will work with microsoft-edge because of its launch syntax (microsoft-edge:url))

which will actually give you link-clicking integration of Tilda with your windows browser.

The problem with both of them that I've experienced is that their keybinds on the linux side do not get bound by Xming, so I've had to pipe keys into the hidden window Xming:0.0 with autohotkey, which also causes other problems.

@jumbriaco
jumbriaco commented Jul 11, 2016 edited

What Bash command would you use after installing kde-desktop and kdm to run the DE?

@Manouchehri
Contributor

@robinduckett: Multiple windows already mix nicely with Windows, no need to run a full DE.

Hopper

@r1sknt
r1sknt commented Jul 11, 2016 edited

install synaptic (GUI to install programs) works perfectly

@x373241884y

I don't want to say anything, can only say that windows is getting worse and worse.

@Manouchehri
Contributor

@x373241884y: Which windows?

@wb9688
wb9688 commented Jul 12, 2016

It doesn't work for me. I get:

compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend     : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile     : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
Compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: regex
compiz (core) - Info: Starting plugin: regex
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: animation
compiz (core) - Info: Starting plugin: animation
compiz (core) - Info: Loading plugin: commands
compiz (core) - Info: Starting plugin: commands
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: copytex
compiz (core) - Info: Starting plugin: copytex
compiz (core) - Info: Loading plugin: fade
compiz (core) - Info: Starting plugin: fade
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
compiz (core) - Info: Loading plugin: unitymtgrabhandles
compiz (core) - Info: Starting plugin: unitymtgrabhandles
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (core) - Info: Loading plugin: unityshell
compiz (core) - Info: Starting plugin: unityshell

(compiz:29013): GLib-WARNING **: In call to g_spawn_sync(), exit status of a child process was requested but ECHILD was received by waitpid(). Most likely the process is ignoring SIGCHLD, or some other thread is invoking waitpid() with a nonpositive first argument; either behavior can break applications that use g_spawn_sync either directly or indirectly.
WARN  2016-07-12 17:12:08 unity.screen UScreen.cpp:126 UScreen::GetMonitorName: Failed to get monitor name for monitor0

(compiz:29013): dconf-WARNING **: failed to commit changes to dconf: Error sending credentials: Error sending message: Invalid argument

(compiz:29013): dconf-WARNING **: failed to commit changes to dconf: Error sending credentials: Error sending message: Invalid argument

(compiz:29013): dconf-WARNING **: failed to commit changes to dconf: Error sending credentials: Error sending message: Invalid argument

(compiz:29013): GLib-WARNING **: In call to g_spawn_sync(), exit status of a child process was requested but ECHILD was received by waitpid(). Most likely the process is ignoring SIGCHLD, or some other thread is invoking waitpid() with a nonpositive first argument; either behavior can break applications that use g_spawn_sync either directly or indirectly.
WARN  2016-07-12 17:12:08 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'org.gnome.Shell' yet as we don't have a connection, waiting for it...
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
ERROR 2016-07-12 17:12:09 unity.debug.interface DebugDBusInterface.cpp:216 Unable to load entry point in libxpathselect: libxpathselect.so.1.4: cannot open shared object file: No such file or directory
ERROR 2016-07-12 17:12:09 unity.launcher.entry.remote.model LauncherEntryRemoteModel.cpp:50 Unable to connect to session bus: Error sending credentials: Error sending message: Invalid argument
CRIT  2016-07-12 17:12:09 unity <unknown>:0 Unable to get org.ayatana.bamf matcher: Error sending credentials: Error sending message: Invalid argument
Trace/breakpoint trap (core dumped)
@darlingtonamz
darlingtonamz commented Jul 12, 2016 edited

I get this error when I run compiz. I'm guessing is a graphic driver isssue (Nvidia 960m)

amanze@AMANZEPC:/mnt/c/Users/Amanze$ compiz
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
libGL error: failed to load driver: swrast
Compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "localhost:0"
after 730 requests (730 known processed) with 38 events remaining.

Then "XLaunch has stopped working"

@mraufrufi

boot stuck at : compiz (opengl) - Error: GL::textureFromPixmap is not supported.

rauf@SURFACE:/mnt/c/Users/rauf$ compiz
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
Compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: commands
compiz (core) - Info: Starting plugin: commands
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: copytex
compiz (core) - Info: Starting plugin: copytex
compiz (core) - Info: Loading plugin: fade
compiz (core) - Info: Starting plugin: fade
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (opengl) - Error: GL::textureFromPixmap is not supported.

@paladox
paladox commented Jul 12, 2016

In xlaunch you need to select one large window otherwise it will fail.

But then you have to wait a while the first time for it to work.

@wb9688
wb9688 commented Jul 12, 2016
@paladox
paladox commented Jul 12, 2016

Did you follow how it was done #637 (comment) like that please.

@paladox
paladox commented Jul 12, 2016

This works with Ubuntu 16.04 lts.

@wb9688
wb9688 commented Jul 12, 2016
@paladox
paladox commented Jul 12, 2016

Oh, I'm not sure then maybe @Guerra24 will know how to fix that.

@rationalis
rationalis commented Jul 12, 2016 edited

@robinduckett Re: unified desktop environment, wouldn't that just be running an X server (without a Linux DE)? If you want a Linux DE to manage Windows windows, I think that's impossible until they allow WSL to interact with the rest of the Windows filesystem and outside Windows processes. Which I believe they have stated will not be possible (for the upcoming release).

It might be possible if you could find a native Windows-compiled X-based window manager, then you could hook that up to the WSL X server... I think something similar is available via Cygwin? Or, perhaps you could get something like RDP working inside WSL. But since the filesystems and processes can only interact "remotely" (i.e. via sockets), it wouldn't really be unified so much as welded together.

@Guerra24
Guerra24 commented Jul 12, 2016 edited

@wb9688: Apply the fix for dbus from reddit.
@darlingtonamz & @mraufrufi: Are you using VcXsrv? Because its the only Xserver that runs unity, other option is a driver error and in that case i don't know what is the possible fix.

@fpqc
fpqc commented Jul 12, 2016

Anyone else having really ugly font rendering in guake, gnome-terminal, and tilda?

If yes, any idea how to fix?

@HotelCalifornia
HotelCalifornia commented Jul 13, 2016 edited

I'm getting a similar issue to others, where compiz hangs or stops after noting that

compiz (opengl) - Error: GL::textureFromPixmap is not supported.

Running Nvidia graphics, could be there's an issue there?

edit: trying to close vcxsrv tells me that there are clients connected to the server

@therealkenc

I get the GL::textureFromPixmap is not supported problem too but no hangs, for what it's worth. I would be curious to know what the root cause of that error is though. If it is a VcXsrv problem or a Unity problem maybe it can be patched. But it isn't likely a WSL problem. WSL doesn't even know your computer has a graphics card.

@fpqc
fpqc commented Jul 13, 2016

@rationalis you could probably do it by modifying Unity's or Cinnamon's WindowList to pop Windows native windows up over a fullscreen X server together with a socket on the Windows side providing the Windows Window list and Window status, but this would be very hacky.

Much better off running X applications separate entirely from a DE in the default Vcxsrv mode. Anyway, the Windows DE is much nicer imo than any of the Linux ones (the best Linux ones look like the Windows DE anyway).

Ideally, the fine people who maintain Vcxsrv could help someone write a module for things like global keybinds and Window activation state.

@maietta
maietta commented Jul 13, 2016

Great, i can finally use Unity on stable Windows. Oh wait, i would rather have windows on stable linux.

Seriously guys and girls, this is fantastic. If i can run IDJC on Windows "natively", that would be fantastic.

@eldadh
eldadh commented Jul 13, 2016 edited

Any idea guys ( compiz not running properly) ?:

root@ELDADH-VAIO:~# compiz
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Fatal: No composite extension
compiz (core) - Error: Plugin initScreen failed: composite
compiz (core) - Error: Failed to start plugin: composite
compiz (core) - Info: Unloading plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
compiz (core) - Error: Plugin 'composite' not loaded.

compiz (core) - Error: Plugin init failed: opengl
compiz (core) - Error: Failed to start plugin: opengl
compiz (core) - Info: Unloading plugin: opengl
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Fatal: No composite extension
compiz (core) - Fatal: No composite extension
Segmentation fault (core dumped)

Tried to run gnome on ubuntu 16.04

@wb9688
wb9688 commented Jul 13, 2016

@Guerra24 It works now, but it's slow as hell…

@darlingtonamz

@Guerra24 Thanks. It worked

@fpqc
fpqc commented Jul 13, 2016 edited

I got fonts working correctly. Had to install the Gnome-Settings-Daemon in order for the libvte-based terminals to have antialiased and hinted fonts. I got a command off the Arch wiki that I run on startup that runs the daemon in a certain way that seems to make it all work.

@Guerra24
Guerra24 commented Jul 13, 2016 edited

@wb9688: It's slow because there is partial opengl support and the Copy to Texture plugin.
@eldadh: Use VcXsrv, Xming will not work (if you are using that).
@therealkenc: Probably a VcXsrv + Unity error when try to use native opengl.
@HotelCalifornia: I'm using nvidia, are you using VcXsrv?

@aseering
Contributor

Ubuntu's Unity (in 14.04+) assumes that you have hardware-accelerated graphics. If you don't, or if they don't work well, it's extremely slow. As @Guerra24 says, it's probably not working well in this environment. This is also a problem running Ubuntu in certain VM environments.

Ubuntu's Classic (Gnome 2) desktop should be faster. Or xfce, etc. Probably even KDE, if you install the Kubuntu packages. (Disclaimer, I haven't tried.)

@HotelCalifornia

What exactly is this Copy to Texture plugin? Would disabling help or just break more things?

@Guerra24
Guerra24 commented Jul 14, 2016 edited

@HotelCalifornia That plugin is the "software" version of the GL::textureFromPixmap (Disclaimer: Not sure, if I'm wrong correct me) Works in the same way but a lot slower and without that transparent stuff will not render correctly.

@HotelCalifornia

So are you saying I can disable it and rely on whatever hardware implementation I have?

@Guerra24

@HotelCalifornia No, you can't because the VcXsrv don't supports GL:textureFromPixmap.

@armisis
armisis commented Jul 14, 2016

fails here too:

Info: Loading plugin: unityshell
compiz (core) - Info: Starting plugin: unityshell

(compiz:4030): GLib-WARNING **: In call to g_spawn_sync(), exit status of a child process was requested but ECHILD was received by waitpid(). Most likely the process is ignoring SIGCHLD, or some other thread is invoking waitpid() with a nonpositive first argument; either behavior can break applications that use g_spawn_sync either directly or indirectly.
WARN 2016-07-14 13:41:16 unity.screen UScreen.cpp:126 UScreen::GetMonitorName: Failed to get monitor name for monitor0

(compiz:4030): dconf-WARNING **: failed to commit changes to dconf: Error sending credentials: Error sending message: Invalid argument

(compiz:4030): dconf-WARNING **: failed to commit changes to dconf: Error sending credentials: Error sending message: Invalid argument

(compiz:4030): dconf-WARNING **: failed to commit changes to dconf: Error sending credentials: Error sending message: Invalid argument
WARN 2016-07-14 13:41:16 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'org.gnome.Shell' yet as we don't have a connection, waiting for it...
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
ERROR 2016-07-14 13:41:17 unity.debug.interface DebugDBusInterface.cpp:216 Unable to load entry point in libxpathselect: libxpathselect.so.1.4: cannot open shared object file: No such file or directory
ERROR 2016-07-14 13:41:17 unity.launcher.entry.remote.model LauncherEntryRemoteModel.cpp:50 Unable to connect to session bus: Error sending credentials: Error sending message: Invalid argument
CRIT 2016-07-14 13:41:17 unity :0 Unable to get org.ayatana.bamf matcher: Error sending credentials: Error sending message: Invalid argument
Trace/breakpoint trap (core dumped)

@armisis
armisis commented Jul 14, 2016

I used the dbus fix, and now I am getting:

compiz (opengl) - Error: GL::textureFromPixmap is not supported.
ERROR 2016-07-14 14:35:22 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
ERROR 2016-07-14 14:35:22 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
ERROR 2016-07-14 14:35:22 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
ERROR 2016-07-14 14:35:22 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
ERROR 2016-07-14 14:35:23 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
ERROR 2016-07-14 14:35:23 unity.session.gnome GnomeSessionManager.cpp:412 logind CanHibernate call failed: Timed out waiting for proxy
WARN 2016-07-14 14:35:23 unity.glib.dbus.proxy GLibDBusProxy.cpp:399 Cannot call method CanHibernate: Timed out waiting for proxy
ERROR 2016-07-14 14:35:23 unity.session.gnome GnomeSessionManager.cpp:412 logind CanSuspend call failed: Timed out waiting for proxy
WARN 2016-07-14 14:35:23 unity.glib.dbus.proxy GLibDBusProxy.cpp:399 Cannot call method CanSuspend: Timed out waiting for proxy
WARN 2016-07-14 14:35:24 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 1)
WARN 2016-07-14 14:35:24 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 1)
WARN 2016-07-14 14:35:27 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 2)
WARN 2016-07-14 14:35:27 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 2)
WARN 2016-07-14 14:35:30 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 3)
WARN 2016-07-14 14:35:30 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 3)
WARN 2016-07-14 14:35:32 nux.inputmethod.ibus InputMethodIBus.cpp:63 Impossible to connect to connect to ibus
WARN 2016-07-14 14:35:34 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 4)
WARN 2016-07-14 14:35:34 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 4)
WARN 2016-07-14 14:35:36 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 5)
WARN 2016-07-14 14:35:36 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 5)
ERROR 2016-07-14 14:35:39 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
ERROR 2016-07-14 14:35:39 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
ERROR 2016-07-14 14:35:53 unity.session.gnome GnomeSessionManager.cpp:392 UPower call failed: Timed out waiting for proxy
WARN 2016-07-14 14:35:53 unity.glib.dbus.proxy GLibDBusProxy.cpp:399 Cannot call method HibernateAllowed: Timed out waiting for proxy
ERROR 2016-07-14 14:35:53 unity.session.gnome GnomeSessionManager.cpp:392 UPower call failed: Timed out waiting for proxy
WARN 2016-07-14 14:35:53 unity.glib.dbus.proxy GLibDBusProxy.cpp:399 Cannot call method SuspendAllowed: Timed out waiting for proxy
WARN 2016-07-14 14:36:07 unity.dash.view DashView.cpp:1257 Search failed ''=> Timed out waiting for scope proxy connection
WARN 2016-07-14 14:36:07 unity.dash.scopeproxy ScopeProxy.cpp:516 Could not search '' on home.scope => Timed out waiting for scope proxy connection
WARN 2016-07-14 14:36:12 unity.iconloader IconLoader.cpp:755 Unable to load icon file:/// at size -1x22: Can't open directory

** (unity-control-center:165): WARNING **: Couldn't register with accessibility bus: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.

@onomatopellan
onomatopellan commented Jul 14, 2016 edited

It worked for me. Make sure you already have the dbus trick applied and closed all bash.exe instances before installing anything with apt.
Also I increased the pagefile.sys size of my system partition although this may be not related.

@be5invis

Looks like WiiU get supported PS4 games
β€”β€” but why not?

@fpqc
fpqc commented Jul 15, 2016

Everyone having problems, have you made sure to send DISPLAY=:0 in your env variable for your shells as well, or tried DISPLAY=:0 compiz?

@armisis
armisis commented Jul 15, 2016

From one bash term you can run both your unity desktop and the gnome-terminal without the need for another bash term window.

compiz &
gnome-terminal &

(Using the & to background the operations from the bash) It will also allow you to run other apps as long as you use the &

@tanllwyth01

Any idea of how fix the following error: compiz (opengl) - Error: FBO is incomplete: GL::FRAMEBUFFER_INCOMPLETE_ATTACHMENT (0x8cd6)?

@mraufrufi

Another way to run GUI application using nautilus instead of loading unity through compiz ###[https://github.com/Microsoft/BashOnWindows/issues/667]

@fpqc
fpqc commented Jul 22, 2016

Anyone tried exporting the local opengl library env variable "LIBGL_ALWAYS_INDIRECT" to see if this fixes that problem with the opengl texture_from_pixmap thing? I just noticed it.

@olee
olee commented Jul 22, 2016 edited

When I follow the guide, it freezes for me after printing this (I'm using VcXsrv):

> compiz
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend     : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile     : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: commands
compiz (core) - Info: Starting plugin: commands
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Error: Plugin 'opengl' not loaded.

compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
@aseering
Contributor

@fpqc -- I tried; it didn't help and it broke a bunch of stuff for me :-)

@olee -- I ran into the same problem several times when following the instructions. The cause was always that I had followed some step in the instructions incorrectly, or not precisely enough. So you might want to walk through them again really carefully; see if everything's exactly right.

For what it's worth, I posted a description of the exact steps that I followed, here. They're basically the same as the steps here, but I was a little more specific about things that I did wrong that didn't work. Let me know if they're helpful, if I missed listing anyone who deserves credit, etc.

@HotelCalifornia
HotelCalifornia commented Jul 24, 2016 edited

I followed @aseering's instructions, and now I'm getting a more immediate error:

$> compiz &
[1] 35
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
$> compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend     : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile     : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
Compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing

At this point, I get a windows message box telling me that VcXsrv has stopped working.

I tried exporting LIBGL_ALWAYS_INDIRECT=1, but there were no changes.

Edit: the above errors only happen when I haven't just run xlaunch. If I do run xlaunch first, compiz tells me a bunch of plugins failed to init, and finally

Compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing
Compiz (opengl) - Fatal: Software rendering detected

just before the shell hangs forever.

@aseering
Contributor

@HotelCalifornia -- out of curiosity, what graphics card are using? And are you using the latest driver?

I encountered a somewhat-similar-looking error recently in an entirely unrelated context. The problem turned out to be that I had a graphics card driver that was too old. (Unfortunately, it was also the newest driver that would work with my card -- this was a 10-year-old machine...)

@HotelCalifornia

I'm running a GTX 765m card on the latest (14 July) driver.

I think the main problem lies in these messages (I was previously on the 7 July driver update, then I updated and got some different errors):

compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
Compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing
Compiz (opengl) - Fatal: Software rendering detected
compiz (core) - Error: Plugin initScreen failed: opengl
compiz (core) - Error: Failed to start plugin: opengl
compiz (core) - Info: Unloading plugin: opengl

After OpenGL fails to load, I get the same "GL_EXT_texture_from_pixmap is missing" and "software rendering detected" errors as I was before, except I'm getting them 12 times in a row.

@czy1996
czy1996 commented Jul 27, 2016

@armisis I had a similar problem. It seems that you have solved yours, could you please share the way you did it?

@iz0eyj
iz0eyj commented Jul 30, 2016

I'm testing XFCE and works fine... some warning but it works.

@jumbriaco

Has anyone successfully ran KDE?

@Manouchehri
Contributor
Manouchehri commented Jul 31, 2016 edited

Note: For those with HiDPI screens, you must let Linux scale your content (otherwise it will be poorly upscaled by Windows).

sketch 24

After (notice there are no more blurry fonts):
sketch 25

/mnt/c/Users/Dave/Desktop > xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 0 x 0, current 3000 x 2000, maximum 32768 x 32768
default connected primary 3000x2000+0+0 0mm x 0mm
   3000x2000      0.00*
/mnt/c/Users/Dave/Desktop > xdpyinfo | head -75
name of display:    0:0
version number:    11.0
vendor string:    HC-Consult
vendor release number:    11803000
maximum request size:  16777212 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, LSBFirst, 32
image byte order:    LSBFirst
number of supported pixmap formats:    7
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 4, bits_per_pixel 8, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 15, bits_per_pixel 16, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
    depth 32, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 255
focus:  PointerRoot
number of extensions:    24
    BIG-REQUESTS
    Composite
    DAMAGE
    DOUBLE-BUFFER
    DPMS
    GLX
    Generic Event Extension
    MIT-SCREEN-SAVER
    Present
    RANDR
    RECORD
    RENDER
    SECURITY
    SGI-GLX
    SHAPE
    SYNC
    X-Resource
    XC-MISC
    XFIXES
    XFree86-Bigfont
    XINERAMA
    XInputExtension
    XKEYBOARD
    XTEST
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    3000x2000 pixels (397x265 millimeters)
  resolution:    192x192 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0xe7
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x20
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store WHEN MAPPED, save-unders NO
  largest cursor:    64x64
  current input event mask:    0x4a0034
    ButtonPressMask          EnterWindowMask          LeaveWindowMask
    StructureNotifyMask      SubstructureNotifyMask   PropertyChangeMask
  number of visuals:    70
  default visual id:  0x21
  visual:
    visual id:    0x21
    class:    TrueColor
    depth:    24 planes
    available colormap entries:    256 per subfield
    red, green, blue masks:    0xff0000, 0xff00, 0xff
    significant bits in color specification:    8 bits
  visual:
    visual id:    0xa2
    class:    TrueColor
    depth:    24 planes

As you can see, the 3000x2000 screen is correctly given a 192 DPI in Linux.

@Matheusleal

I'm running a geforce 710m

matheus@PC-MATHEUZZO-00:~$ compiz
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
compiz (core) - Error: Plugin initScreen failed: opengl
compiz (core) - Error: Failed to start plugin: opengl
compiz (core) - Info: Unloading plugin: opengl
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: commands
compiz (core) - Info: Starting plugin: commands
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Error: Plugin 'opengl' not loaded.

compiz (core) - Info: Loading plugin: copytex
compiz (core) - Info: Starting plugin: copytex
compiz (core) - Error: Plugin 'opengl' not loaded.

compiz (core) - Error: Plugin init failed: copytex
compiz (core) - Error: Failed to start plugin: copytex
compiz (core) - Info: Unloading plugin: copytex
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
compiz (core) - Error: Plugin 'opengl' not loaded.

compiz (core) - Error: Plugin init failed: scale
compiz (core) - Error: Failed to start plugin: scale
compiz (core) - Info: Unloading plugin: scale
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (core) - Error: Plugin 'opengl' not loaded.

compiz (core) - Error: Plugin init failed: expo
compiz (core) - Error: Failed to start plugin: expo
compiz (core) - Info: Unloading plugin: expo
compiz (core) - Info: Loading plugin: unityshell
compiz (core) - Info: Starting plugin: unityshell
compiz (core) - Error: Plugin 'opengl' not loaded.

compiz (core) - Error: Plugin init failed: unityshell
compiz (core) - Error: Failed to start plugin: unityshell
compiz (core) - Info: Unloading plugin: unityshell
Compiz (opengl) - Fatal: glXQueryExtensionsString is NULL for screen 0

@kurisubrooks

Is there any way to run GNOME with this setup? I've successfully installed the GNOME Shell, but how might I be able to change the compiz default from Unity to GNOME? cc: @Guerra24

@fpqc
fpqc commented Aug 4, 2016 edited

Won't work. gnome-settings-daemon will segfault. Unity-settings-daemon otoh works correctly.

Also, performance is very bad bc the gl texture from pixmap plugin is not implemented fully in vcxsrv, so you won't get hardware accelerated aiglx mode (mode basically where all opengl info, textures, models, whatever is piped for rendering to X, which renders the whole thing as a composite.)

@choldrim
choldrim commented Aug 4, 2016

I use "Multiple windows"(first choice on XLaunch), and install the deepin-movie, looks good
20160804200031

@DanielGGordon

I see there is a 'guide' mentioned but there are a lot of comments to sift through. Can someone link me the guide on how to install full Ubuntu on WSL? This looks really cool.

@andyalonzo

Mate Desktop Working
mate-10

@leVirve
leVirve commented Aug 5, 2016

@DanielGGordon Guerra24 shows the guide already! #637 (comment) And don't forget to fix the dbus problem with appending link in his first comment.

@kurisubrooks

@andyalonzo Hi, would you mind sharing how to change the default shell from Unity to MATE? I've installed mate-desktop as per usual, but Compiz still launches Unity.

@ottobunge

@paladox

This workaround fixes the connection from being refused:

<listen>tcp:host=localhost,port=0</listen>
<auth>ANONYMOUS</auth>
<allow_anonymous/>

I'm sure this is probably insecure, and someone may know how to configure it so that it correctly authenticates, without allowing anonymous connections.

@andyalonzo

@kurisubrooks Hi, i followed this tutorial to install Mate-Desktop then i start my xserver and in the Ubuntu Shell execute: exec mate-session

@iz0eyj
iz0eyj commented Aug 8, 2016

I think the best thing is to mix Both environment using the fast XFCE Desktop Manager and VxXsrv in Multiple Windows mode.
I'm also testing Midori Web Browser, it seems better than Firefox.

cattura

@therealkenc

@iz0eyj is correct. What most people are actually looking for is a file navigator and application dock/launcher for WSL, not an X Window Manager. Unity+Compiz is not an ideal means to the ends of navigating files and launching applications because (a) you already have a window manager -- MS Windows, and (b) struggling with GL::textureFromPixmap et al for the purpose of launching an application is a classic example of chrome gone very wrong. This is why no one runs Unity from their remote Ubuntu headless servers In Real Life.

There are some dock/launchers listed here. I'd never used them before, but installed Docky on a lark. Unfortunately it isn't happy about dbus (#376). Plank seems to limp along, but is still fundamentally broken without dbus. Unfortunately it really isn't worth using right now unless you're exceedingly determined, because pinning launched apps doesn't work and you have to set up the dock manually.

The screencap below is not running an X window manager like Compiz or Xfwm.

plank

@fpqc
fpqc commented Aug 9, 2016

@therealkenc Isn't using even the Linux graphical launchers is probably pointless if you take the time to make Windows shortcuts for your graphical linux programs with bash -c?

@therealkenc

You can do that too. There's probably even a too-clever-by-half way to get the icons right.

@ZaneCEO
ZaneCEO commented Aug 17, 2016 edited

Hi guys,
I'm trying to run Unity to no avail. This is what I'm doing:

  1. nano /etc/dbus-1/session.conf: replace <listen>unix:tmpdir=/tmp</listen> with <listen>tcp:host=localhost,port=0</listen>

  2. Install VcXsrv, run XLaunch, select One large window, Display number=0, multiple next (I kept Native opengl checked as per default. The note below reads Make sure to export the LIBGL_ALWAYS_INDIRECT env var)

  3. export DISPLAY=:0.0 + echo "export DISPLAY=:0.0" >> $HOME/.bashrc

  4. apt-get install ubuntu-desktop unity compizconfig-settings-manager -y

  5. export LIBGL_ALWAYS_INDIRECT=1, as per VcXsrv note

  6. ccsm: check Command, Composite, OpenGL, Copy to texture + Expo + PNG + Compiz Library Toolbox

  7. compiz

This is what I get:

# compiz
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend     : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile     : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
Compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Info: Loading plugin: commands
compiz (core) - Info: Starting plugin: commands
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: copytex
compiz (core) - Info: Starting plugin: copytex
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (opengl) - Error: GL::textureFromPixmap is not supported.

The big VcXsrv just remains pitch black.

What Am I missing?

Thanks!

@fpqc
fpqc commented Aug 17, 2016 edited

@ZaneCEO Do not do this step =O
export LIBGL_ALWAYS_INDIRECT=1

vcXsrv does not support the texture from pixmap plugin needed for HW-accelerated AIGLX. It will only work if the fallback is software rendering.

Maybe worth filing an issue on the vcXsrv sourceforge and seeing if the dev can figure out why his instruction makes it fail.

@fpqc
fpqc commented Aug 17, 2016 edited

@seansimonanimation the reason why font rendering is fucked and the theming isn't applied is because there is a segfault when you try to run gnome-settings-daemon.

Fortunately, the fork, unity-settings-daemon works 100% fine. You should run that separately, or try to insert it into MATE's init, and it should work.

Both of these daemons read settings from the dconf configuration binary blobs as well as their own gconf default files. You can use another daemon called xsettingsd if you are able to dump those settings blobs to text. xsettingsd comes with a dumpscript called dump_xsettings that can run while you have unity-settings-daemon opened and will dump the settings to a textfile, which can then be used as a config file for xsettingsd in ~/.xsettingsd.

The trouble is that unity-settings-daemon pulls from different hardcoded default configs, so you will get a weird mix of MATE and unity gtk stuff. I don't know any way to dump the settings out of gnome-settings-daemon for MATE other than running the dump_xsettings from a real ubuntu trusty installation running MATE.

(Cinnamon and MATE both use gnome-settings-daemon, while unity, KDE, and xfce all have their own forks, iirc)

@ZaneCEO
ZaneCEO commented Aug 17, 2016

@fpqc : thanks for your reply man. From the same config posted before, I restarted everything, then I ran echo $LIBGL_ALWAYS_INDIRECT to make sure that the variable has been lost (it was). I ran ccsm: same plugin as before. Ok, compiz time and.... same error:

# compiz
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend     : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile     : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
Compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Info: Loading plugin: commands
compiz (core) - Info: Starting plugin: commands
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: copytex
compiz (core) - Info: Starting plugin: copytex
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
@fpqc
fpqc commented Aug 18, 2016

@ZaneCEO I don't know, I do know that after setting the libgl always indirect thing on a machine I was testing with, I was not able to restart unity until I did an lxrun /uninstall /full It looks like it changes some config in some horrible way.

@sunilmut
Member

I am also seeing the same issue on Ubuntu 14.04 as @ZaneCEO after following the same steps as above (except #5 export LIBGL_ALWAYS_INDIRECT=1).

@Efreak
Efreak commented Aug 19, 2016

lxde also works fine, whether you launch with lxsession or startlxde. I haven't tested a standard install, though--I installed it with --no-install-recommends to avoid the large download, and I'm installing applications one at a time

Firefox works fine here, no errors in the startlxde console:

lxde

@onomatopellan
onomatopellan commented Aug 19, 2016 edited

For me compiz works and I have the oldest GPU you can get. It's an integrated Intel G33 gpu that only has Directx9 and OpenGL 1.1 support. Like @fpqc suggested maybe the combination of Windows OpenGL drivers + VcxSvr are the culprit of those problems some people have.

@lamboxn
lamboxn commented Aug 24, 2016

qq 20160824150654
I do not know what's wrong... tried several times but failed. Wanna help...

@aseering
Contributor

@lamboxn -- I'm not sure what the root cause of this problem is, but it sounds like one of the symptoms is that your system is missing the dependency "libxpathselect.so.1.4". According to apt-file, you could try sudo apt-get install libxpathselect1.4 to install that file. Maybe that will get you a little further?

@sunilmut
Member

With better support for AF_LOCAL socket, dbus seems to be happy and the dbus workarounds to use TCP sockets will hopefully no longer be needed. The changes haven't made it to the release branch yet, but are moving fast. Keep an eye out on the release notes.

@fpqc
fpqc commented Aug 24, 2016

@sunilmut That's great!

@fpqc
fpqc commented Aug 28, 2016 edited

By the way, the dbus trick does not work on yakkety anymore, since the dbus settings are stored somewhere else. Any idea? Although I guess since the better AF_LOCAL support is incoming, we might not need to do dbus over tcp anymore.

@therealkenc

It's in /usr/share/dbus-1. But you are better off sitting it out until Sunil's fixes land.

@dorcas-ay
dorcas-ay commented Aug 31, 2016 edited

@iz0eyj -- You can automatically open the wsl windows in a new virtual desktop with a small utility called Vdesk https://GitHub.com/eksime/VDesk . But the utility stopped working in the anniversary build. Maybe the sharp minds in this forum can get it to work with the current build :). Will update this post once I found an alternative.

http://stackoverflow.com/questions/32416843/altering-win10-virtual-desktop-behavior/32417530#32417530.

@fpqc -- You can also grab the icons from /usr/share/icons/HighContrast/48x48/apps/ then convert the .png file to .ico using icotool which is part of icoutils.

apt-get install icoutils

Then:

icotool -c -o firefox.ico firefox.png

@iz0eyj
iz0eyj commented Aug 31, 2016

@dorcas-ay many thanks for the link, I'll test it to try to understand the problem. You already reported in their github?

@dorcas-ay
dorcas-ay commented Aug 31, 2016 edited

iz0eyj you're welcome. Somebody already reported the issue but the developer is busy with school and work.

You can configure the shortcut you created for your script to start minimized to automatically hide the wsl window.

@g2david
g2david commented Sep 1, 2016

Hi I am using VcXsrc instead of Xming, but I still get this error. I fixed D-BUS problem. Firefox and ccms opens up fine.

Do miss miss something? my computer is X1 Carbon with Intel graphics card

g2david@LAPTOP-OKI6OC45:~$ compiz
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Fatal: No composite extension
compiz (core) - Error: Plugin initScreen failed: composite
compiz (core) - Error: Failed to start plugin: composite
compiz (core) - Info: Unloading plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
compiz (core) - Error: Plugin 'composite' not loaded.

compiz (core) - Error: Plugin init failed: opengl
compiz (core) - Error: Failed to start plugin: opengl
compiz (core) - Info: Unloading plugin: opengl
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Fatal: No composite extension
compiz (core) - Fatal: No composite extension

@iz0eyj
iz0eyj commented Sep 1, 2016 edited

@g2david I've never been able to solve those problems, and then I decided to use Xfce which is lightweight and works well.
Ultimately, if the intent is to merge the two desktop one is as good as another.
If you want to get a totally different environment from Windows, I believe that the time is not yet ripe.

I confirm that VcXsrv is the best choice.

@fpqc
fpqc commented Sep 1, 2016

@iz0eyj I like to use compiz as a compatibility test because it has all those problems.

@ILOVEPIE
ILOVEPIE commented Sep 7, 2016

Working on getting Cinnamon working... I'v got it displaying for a second before exiting... hopefully i'll make some more progress...

@dorcas-ay
dorcas-ay commented Sep 10, 2016 edited

Using gnome-panel to launch Linux apps.

wsl2

@htanh034

@dorcas-ay How to ??? i'm install gnome-panel, run error

root@adadda:~# gnome-panel
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(gnome-panel:253): Gtk-WARNING **: cannot open display: :0.0

@mateusmedeiros

@htanh034 Do you have an X server (like Xming) running? Is it running in the same display as your DISPLAY env var?

From the error it looks like GTK is trying to reach the X server on :0 but the X server is not running or running in a different display than :0.

@htanh034

@mateusmedeiros VcXsrv running, i'm try DISPLAY=:0 gnome-panel >>> the same error

@mateusmedeiros
mateusmedeiros commented Sep 14, 2016 edited

@htanh034 That's weird. Did you do the dbus workaround described here?

If it's not the display, I can only guess that "Failed to connect to server socket" means something related to the dbus socket which from what I understood is a unix socket by default.

I downloaded VcXsrv and gnome-panel here and gave it a try, and the dbus workaround and the correct DISPLAY var were enough for me to get it working.

@jonstanley

@Manouchehri I'm trying to get HiDPI working, and hoping you can be more specific regarding "let Linux scale content"? Have tried changing the scaling from unity-control-center, and dbus ends up puking... and have also tried adding a command option to VcXsrv, which doesn't seem to work either. xrandr does report the correct DPI of 240 for what it's worth... oh and I've also upgraded Ubuntu on Windows from the default Trusty to Xenial.

ubuntoze-firefox-hidpi

@thebitstick
thebitstick commented Sep 18, 2016 edited

On build 14393.187, with the WSL-Distribution-Switcher switched to pritunl/archlinux, I get this error:
startxfce4
When entering:

$ startxfce4  

or:

$ xfce4-session  

But

xfce4-terminal  

Works fine.

@Guerra24

@thebitstick Re install/apply the dbus fix.

@thebitstick
thebitstick commented Sep 18, 2016 edited

@Guerra24 I've done that.
Changed the existing <listen>,
Changed the existing <auth>,
Added <allow_anonymous/>

@dorcas-ay
dorcas-ay commented Sep 19, 2016 edited
                                                                        @htanh034.

Try:
Β DISPLAY=:0.0 gnome-panel

@KrondaliX

Hi everyone !

I got it working somewhat (that was a pain to get a smooth graphical interface through) had many config to test using VcXsrv and xrandr. I wasn't able to get it working with Xming so if you're using it and cannot run the desktop you might change for VcXsrv.

The V-Sync is not working with XGL, only DirectDraw engine so if you don't want to get some page tearing you need a monitor with 120Hz or more. (Unless there will be an update with a workaround in the future).
You will have better results with lower resolution regarding that.

The other problem is : there is no sound ??? what is the fact of using an unity desktop without sound ?
So we need the same as X-Forwarding but for Audio this time. I don't recall Xming or VcXsrv that emulate sound because that wasn't made for purpose but i did not found an application that make the trick at the moment : P

But for all servers users and those who will use it as commandline this is more than enough. That's really fast and doing the job ! now i have rsync in my home computer who's saving all my data to two different places in two different disks ^^;
You can of course mount different folders from your home windows, just check fstab to create new variables, and all the disks already plugged were mounted automatically after first install.

It's only the beginning but for me the only problem is the sound adapter and opengl from pixmap. otherwise all is perfect.

@therealkenc

Sound is over at #486.

@dragun05

@Guerra24: when run $ compiz$, it have some issue:
heliox@DESKTOP-2NBTJGH:~$ compiz
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
Compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: commands
compiz (core) - Info: Starting plugin: commands
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: copytex
compiz (core) - Info: Starting plugin: copytex
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (core) - Info: Loading plugin: unityshell
compiz (core) - Info: Starting plugin: unityshell
WARN 2016-10-16 10:09:33 unity.screen UScreen.cpp:126 UScreen::GetMonitorName: Failed to get monitor name for monitor0

(compiz:1616): dconf-WARNING **: failed to commit changes to dconf: Error sending credentials: Error sending message: Invalid argument

(compiz:1616): dconf-WARNING **: failed to commit changes to dconf: Error sending credentials: Error sending message: Invalid argument

(compiz:1616): dconf-WARNING **: failed to commit changes to dconf: Error sending credentials: Error sending message: Invalid argument
WARN 2016-10-16 10:09:33 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'org.gnome.Shell' yet as we don't have a connection, waiting for it...
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
ERROR 2016-10-16 10:09:33 unity.debug.interface DebugDBusInterface.cpp:216 Unable to load entry point in libxpathselect: libxpathselect.so.1.4: cannot open shared object file: No such file or directory
ERROR 2016-10-16 10:09:33 unity.launcher.entry.remote.model LauncherEntryRemoteModel.cpp:50 Unable to connect to session bus: Error sending credentials: Error sending message: Invalid argument
CRIT 2016-10-16 10:09:33 unity :0 Unable to get org.ayatana.bamf matcher: Error sending credentials: Error sending message: Invalid argument
Trace/breakpoint trap (core dumped)

How can i fix it. Thanks you.

@Guerra24

@dragun05 Apply the dbus Fix.

@gamerguy341
gamerguy341 commented Oct 16, 2016 edited

Here's a problem I haven't seen yet: when I run compiz, (I have gotten it to work once before) I get this output:

compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile : default

before freezing. I am using VcXsrv and used the dbus fix.
Can you help me?

@Guerra24

@gamerguy341 You need to configure compiz using CCSM, the settings used are in screenshots 3 & 4 of the tutorial.

@gamerguy341

@Guerra24 Huh. do they reset after a period of time?

@Guerra24

@gamerguy341 lol no. Did you update to 16.04?

@ivansf
ivansf commented Oct 17, 2016

This is absolutely fantastic.. Thanks!

Question: If I'm running apps directly into Xming, not loading full XFCE or anything, how can I set the theme of these apps? they are using the generic theme at the moment.

2016-10-17 09_42_57-action center

@fpqc
fpqc commented Oct 17, 2016

@ivansf You need to run the settings daemon for Xfce.

@gamerguy341

Okay, I got another problem:

compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
Compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: regex
compiz (core) - Info: Starting plugin: regex
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: animation
compiz (core) - Info: Starting plugin: animation
compiz (core) - Info: Loading plugin: commands
compiz (core) - Info: Starting plugin: commands
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: copytex
compiz (core) - Info: Starting plugin: copytex
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (core) - Info: Loading plugin: unityshell
compiz (core) - Info: Starting plugin: unityshell
WARN 2016-10-18 17:57:53 unity.screen UScreen.cpp:126 UScreen::GetMonitorName: Failed to get monitor name for monitor0

(compiz:4): dconf-WARNING **: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY

(compiz:4): dconf-WARNING **: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY

(compiz:4): dconf-WARNING **: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY
WARN 2016-10-18 17:57:53 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'org.gnome.Shell' yet as we don't have a connection, waiting for it...
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
ERROR 2016-10-18 17:57:53 unity.debug.interface DebugDBusInterface.cpp:216 Unable to load entry point in libxpathselect: libxpathselect.so.1.4: cannot open shared object file: No such file or directory
WARN 2016-10-18 17:57:53 nux.geisadapter GeisAdapter.cpp:101 Couldn't create a Geis instance. Multitouch gesture support disabled.

Then it stops.

@dragun05
dragun05 commented Nov 4, 2016

It have some issues:

........@DESKTOP-2NBTJGH:$ sudo sed -i 's$.*$tcp:host=localhost,port=0$' /etc/dbus-1/session.conf
.....@DESKTOP-2NBTJGH:
$ ccsm
compizconfig - Info: Backend : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile : default
Loading icons...
...@DESKTOP-2NBTJGH:$ export DISPLAY=localhost:0
....@DESKTOP-2NBTJGH:
$ compiz
compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
Compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server "localhost:0"
after 740 requests (740 known processed) with 44 events remaining.
.....@DESKTOP-2NBTJGH:~$ ~

@ACID-KILLA666
ACID-KILLA666 commented Nov 6, 2016 edited

Hi,

I have found a well detailed alternative to this.
One guy from the internet that is named JΓ‘nos Balogh simply chose to use a vnc server and remotely connect to it locally.
I just tested it and it works really fine with Mate desktop (he also tested for few other ones).

I give you the link to his tuto over here : Link to the video
I used RealVNC to perform it and it worked too so I think that it may work with any VNC software.

I just want to add that I encountered an issue while starting X server when calling Mate due to my pc host name that was solved in this Stack Overflow forum : Link to the forum // Link to the answer
That simply told to add your hostname in the /etc/hostname file (was OK per default for me even after changing my WINDOWS pc name) and add this to /etc/hosts file :
my-machine is your computer name

127.0.0.1 localhost
127.0.1.1 my-machine

Hope this will help you.

@therealkenc
therealkenc commented Nov 7, 2016 edited

Regarding RealVNC, I am still having trouble wrapping my head around this whole thread. See (message) or even better from @iz0eyj (message) and @dorcas-ay (message). Why would anyone on a "remote" system want to obscure their screen with a big square containing what amounts to wallpaper? Is there a use case for this that I am missing?

I fear this thread is doing more harm than good, because it is leaving newcomers to WSL (who might also be newcomers to Linux) the false impression that you need to run a Linux desktop environment in order to run X11/QT/GTK+ apps. Maybe I'm wrong but it sure looks that way from here.

Regarding GL, y'all are tilting at windmills. For the time being you want to use a software renderer on WSL, preferably llvmpipe. That will allow you to run WebGL in firefox (message) and stuff like OpenRCT2 (message), let alone whatever GL surface Unity is (nonsensically) diddling. No, you probably aren't going to be able to play Counter-Strike: Global Offensive on Linux Steam (can't say I've tried), but that would be an awfully silly thing to do in the first place.

@mat2py
mat2py commented Nov 7, 2016 edited

I fear this thread is doing more harm than good, because it is leaving newcomers to WSL (who might also be newcomers to Linux) the false impression that you need to run a Linux desktop environment in order to run X11/QT/GTK+ apps. Maybe I'm wrong but it sure looks that way from here.

I thought that was the case at the moment? All the solutions just seem to be to use a virtual window instead of the Windows Subsystem for Linux setup, which doesn't really seem like an issue solution at all. I've all but given up on the idea of doing Python programming (using Anaconda and Spyder) on my windows machine and switched back to normal Ubuntu

@mateusmedeiros

I fear this thread is doing more harm than good, because it is leaving newcomers to WSL (who might also be newcomers to Linux) the false impression that you need to run a Linux desktop environment in order to run X11/QT/GTK+ apps. Maybe I'm wrong but it sure looks that way from here.


I thought that was the case at the moment?

It has been said clearly in this thread before that it's not, but I guess it's now lost in the middle of the comments.

If anyone comes here thinking you need to run a full desktop enviroment to run a graphical application, that is currently not the case.

Here is both, sublime text 3 and nvim-qt (neovim Qt frontend) running without any linux desktop whatsoever, just directly on top of VcXsrv:

2016-11-07 7
2016-11-07 8

I use both on a day-to-day basis and so far it's working great πŸ˜„

@eugenesvk

@mateusmedeiros did you have any scaling issues with Sublime? It's the only app so far that ignores all text/interface scaling settings that I've made. Some apps require launching Gnome-Settings-Daemon to force them apply those settings, others are good as after changing the dconfs, but Sublime ignores everything and the interface is just tiny. I can increase the font to whatever I like and read the text, but I can hardly see the tab names :(

@fpqc
fpqc commented Nov 7, 2016

@eugenesvk This doesn't answer your questions, but use unity-settings-daemon or xfce-settings-daemon rather than the gnome one. In my experience, gnome-settings-daemon was instantly segfaulting, though maybe this is fixed no

@mateusmedeiros

@eugenesvk Sorry, I hadn't tried it before because I use sublime just to make small modifications in some files here and there, and the way it was was just fine for me. The editor I use more (because it's where I actually develop) is neovim.

That said, after your question, I did try to change some settings for sublime but I had problems similar to what you described (didn't delve too deep, though). ☹️

@therealkenc
therealkenc commented Nov 7, 2016 edited

That's weird about Sublime. I have been using sublime regularly and haven't seen the font problem described. There's a screencap in my pulse audio post for example. Ctrl+/- changes the font size per expected. Has to be some X related thing. I am not running any *-settings-daemon either for what it's worth. Indeed often the only thing running on my WSL instance are init, dbus-daemon, dbus-launch, sshd, and sublime_text.

@eugenesvk
eugenesvk commented Nov 8, 2016 edited

@fpqc thanks a bunch!!! Uninstalled gnome-settings-daemon and launched unity-settings-daemon and now when I first run this daemon in another shell and then launch Sublime, it finally reads the proper scaling factor I've set by dconf-editor in org.gnome.desktop.interface.scaling-factor.
There is just one inconvenience leftβ€”I have to keep the daemon running in another terminal window. Is there a way to at least run it in the background (like I thought daemons are supposed to be able to do :)

The xfsettingsd unfortunately doesn't work and just spews out a lot of errors. Now, the unity-settings-daemon also spews a lot of errors (likely because I haven't actually installed unity desktop), but at least it keeps running and does its job :)

Failed to connect to session manager: Failed to connect to the session manager: SESSION_MANAGER environment variable not defined

(xfsettingsd:14597): libupower-glib-WARNING **: Couldn't connect to proxy: Could not connect: No such file or directory
(xfsettingsd:14597): libupower-glib-CRITICAL **: up_client_get_lid_is_closed: assertion 'UP_IS_CLIENT (client)' failed
(xfsettingsd:14597): GLib-GObject-WARNING **: invalid (NULL) pointer instance
fsettingsd:14597): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
]0;/mnt/c/ProgramData/Microsoft/Windows/Start Menu/Programs/Dev
fsettingsd:14597): xfsettingsd-CRITICAL **: Failed to apply display settings
30m                                                                                                    
Programs/Dev > xfsettingsd: No window manager registered on screen 0.
(xfsettingsd:14597): xfsettingsd-WARNING **: Failed to get the _NET_NUMBER_OF_DESKTOPS property.

@therealkenc the issue is not in being unable to change text size (I can do that just fine), but that the scaling is wrong, so e.g. font size 12 is fine in Sublime Windows, but is tiny in Sublime WinLinux. Also, other ui elements (e.g. tab names) aren't effected by the font size in the settings, so they're just tiny.
Re. your screenshotβ€”don't know much about your setup to understand whether its relevant (I'd also prefer to avoid any extra daemons to fix the scaling)
Are you using any scaling at all natively? Which desktop (if any) have you installed?

@fpqc
fpqc commented Nov 8, 2016

@eugenesvk Try xsettingsd, not xfsettingsd, and dump the xsettings from unity-settings-daemon.

@eugenesvk

@fpqc thanks for the suggestions, but how do I export these settings? Meanwhile, I've googled an example and set Xft/DPI to what's supposed to be 205 (210592=205*1024, arbitrary number, tried some others as well, e.g. 96 and 108) and it had no effect on sublime while running even though the settings seem to have loaded correctly.

xsettingsd: Loaded 17 settings from /home/es/.xsettingsd
xsettingsd: Created window 0x200001 on screen 0 with timestamp 9903171
xsettingsd: Selection _XSETTINGS_S0 is owned by 0x0
xsettingsd: Took ownership of selection _XSETTINGS_S0

and the settings themselves

Xft/HintStyle "hintnone"
Xft/RGBA "none"
Xft/DPI 210592
Gtk/CanChangeAccels 0
Gtk/ColorPalette "black:white:gray50:red:purple:blue:light blue:green:yellow:orange:lavender:brown:goldenrod4:dodger blue:pink:light green:gray10:gray30:gray75:gray90"
Gtk/FontName "Droid Sans 10"
Gtk/IconSizes ""
Gtk/KeyThemeName ""
Gtk/ToolbarStyle "icons"
Gtk/ToolbarIconSize 3
Gtk/IMPreeditStyle ""
Gtk/IMStatusStyle ""
Gtk/MenuImages 1
Gtk/ButtonImages 1
Gtk/MenuBarAccel "F10"
Gtk/CursorThemeName ""
Gtk/CursorThemeSize 0
@fpqc
fpqc commented Nov 8, 2016 edited

@eugenesvk xsettingsd comes with a program 'dump_xsettings' that will probe a running x settings daemon and dump the settings from that to stdout. The settings daemons basically make the settings available through dbus but save their configurations on the computer as binary blobs (I believe it's called dconf). However, xsettingsd uses a human-readable format which is stored in .xsettingsd.

What you do is dump the xsettings out of ubuntu-settings-daemon to the, I think ".xsettingsd" file in your user home, then do some hand editing, because i think you will get a weird error in line 3.

So step 1 is run ubuntu-settings-daemon

Step 2 is run the dump_xsettings > ~/.xsettingsd.

Then finally step 3, kill ubuntu-settings-daemon, try to run DISPLAY=:0 xsettingsd, which will probably give you an error about a few lines of the raw ubuntu-settings-daemon dumpfile.

WARNING: I may not have gotten all of the filenames exactly correct. You may have to play around with my instructions to get them to work. Also, the problem with your xsettingsd file is that it doesn't contain a font size.

Here is the instructions page on how to use the dumpscript (I think if you install from the ubuntu repo, it installs dump_xsettings somewhere in your PATH).

@eugenesvk
eugenesvk commented Nov 8, 2016 edited

@fpqc thanks again! The full dump indeed works, now Sublime respondes to changes in Xft/DPI 196608 settings.
Update: Found out the crucial settingβ€”Gtk/Modules "canberra-gtk-module"β€”this module forces Sublime to respond to the DPI settings, so just having these two lines in the .xsettingsd file works

And I don't have any errors any more, just had to manually edit out

#Gtk/RecentFilesMaxAge -1
#Gtk/AutoMnemonics 1

Any chance you know how to keep this xsettingsd daemon in the background without occupying an extra terminal screen?
Update: a bit of googling helped to figure out that setsid xsettingsd would launch xsettingsd in the background, so setsid xsettingsd; subl would launch Sublime with proper DPI scaling.

One last nuisance - the cursor size is tiny in there and changing Gtk/CursorThemeSize 48 didn't help. Any idea which parameter affects the cursor size?

@fpqc
fpqc commented Nov 8, 2016 edited

@eugenesvk The way I was doing it when I cared about this stuff was to use a utility called run.exe from the xming website, which acts as a hidden host window for commandline programs. I ran

run.exe bash.exe -c "DISPLAY=:0 xsettingsd" from a shortcut in my Windows User startup folder, again no guarantee on the exact correctness here, you're going to have to play around a bit. Sometimes if bash.exe instantly quits anyway, you have to drop some interactive terminal application at the end of the shortcut with something like

run.exe bash.exe -c "DISPLAY=:0 xsettingsd; bash"

run.exe link
run.exe sourcecode

The problem with my method is that it assumes in advance that vcXsrv is running, so you might want to stuff all this into a batchfile along with starting up vcXsrv, with a WAIT 5 seconds in between vcXsrv and starting this shortcut, but again, you're going to have to mess around with it.

@eugenesvk

@fpqc thanks! I've settled for this batch file to make it work,

run.exe bash.exe -c "DISPLAY=:0 xsettingsd"
bash.exe -c "DISPLAY=:0 subl"

You're right, might be worth making a check whether X-server is running (or, for that matter, just launch X + xsettingsd on login and forget about it :))

@fpqc
fpqc commented Nov 8, 2016

@eugenesvk In my humble opinion, it's probably better to run vcXsrv and xsettingsd in a batch file together (in that order) rather than xsettingsd and sublime in your order, since you only need one copy of vcXsrv and one copy of xsettingsd running in the background on your pc, but you might potentially want to run several sublime windows, but hey, it's up to you.

@therealkenc

@eugenesvk - what I was saying is that I am not running any extra daemons, xsettingsd or otherwise. My fonts are scaled correctly out of the box, which is why I said it was curious. 4K display related maybe?

@eugenesvk

@fpqc yes, of course you're right (thought the xsettingsd process doesn't get duplicated, so there is no harm in invoking it every time you try to launch Sublime)

That's what I ended up with - a helpful batch file (X-app.bat) that evaluates the existence of vcXsrv and xsettingsd and launches whatever is not launched. And then I can make Sublime.lnk for each app that just calls this script path\to\X-app.bat "subl" (and set link properties to minimized so I don't even see an extra console window on launch)

@ECHO OFF
::Launch X server if not already running
tasklist /FI "IMAGENAME eq vcxsrv.exe" 2>NUL | find /I /N "vcxsrv.exe">NUL
if NOT "%ERRORLEVEL%"=="0" start "" "C:\Program Files\MultiMedia\VcXsrv\vcxsrv.exe" :0 -ac -terminate -lesspointer -multiwindow -clipboard -wgl

::Launch X settings daemoun to force DPI scaling on apps
tasklist /FI "IMAGENAME eq xsettingsd" 2>NUL | find /I /N "xsettingsd">NUL
if NOT "%ERRORLEVEL%"=="0" start "" run.exe bash.exe -c "DISPLAY=:0 xsettingsd"

::Launch passed WinLinux app with a non-empty DISPLAY variable to use the X server
start "" run.exe bash.exe -c "DISPLAY=:0 %1"
exit

@thcludebitstick yeah, I get it you don't need any kludges like I do to enjoy reading ;)
But I still don't understand the most basic thingβ€”are you using DPI scaling natively (and at which scaling factor) in Windows (my Win scaling factor is 2, so the difference between scaled and not scaled is very noticeable)? Also, maybe it's Linux desktop related? Which one (if any) have you installed?
Because if you're not, then of course apps within X would look just like apps within Windows. But if you are, then it's strange indeed: if I allow Windows to scale apps within X (the default), they're uglyβ€”text is aliased; and if I disable this in compatibility settings and let Linux scale the apps themselves, then I need a way to force some of those apps like Sublime to correctly apply my Linux DPI settings

@kyjo2014

@fpqc sorry for bothering you,i have followed the guidance https://wsl-forum.qztc.io/viewtopic.php?f=6&t=16, the xclock command can work perfectly on the VcXsrv, however when i use the 'compiz &' something wrong has happend.
`compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Stopping plugin: ccp
compiz (core) - Info: Unloading plugin: ccp
compiz (core) - Info: Stopping plugin: core
compiz (core) - Info: Unloading plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: commands
compiz (core) - Info: Starting plugin: commands
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: copytex
compiz (core) - Info: Starting plugin: copytex
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (core) - Info: Loading plugin: unityshell
compiz (core) - Info: Starting plugin: unityshell
WARN 2016-11-14 18:11:45 unity.screen UScreen.cpp:126 UScreen::GetMonitorName: Failed to get monitor name for monitor0

(compiz:56): GLib-GIO-WARNING **: Problems looking up entry in keyring: Error opening keyring '/home/kyjo/.dbus-keyrings/org_freedesktop_general' for reading: Failed to open file '/home/kyjo/.dbus-keyrings/org_freedesktop_general': No such file or directory
WARN 2016-11-14 18:11:45 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'org.gnome.Shell' yet as we don't have a connection, waiting for it...
WARN 2016-11-14 18:11:46 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'com.canonical.Autopilot.Introspection' yet as we don't have a connection, waiting for it...
WARN 2016-11-14 18:11:46 unity.glib.dbus.server GLibDBusServer.cpp:579 Can't register object 'com.canonical.Unity.Debug.Logging' yet as we don't have a connection, waiting for it...
WARN 2016-11-14 18:12:11 unity :0 Error retrieving accessibility bus address: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
WEARN 2016-11-14 18:15:45 unityinit :0 failed to commit changes to dconf: Unexpected lack of content trying to read a lineRROR 2016-11-14 18:15:45 unity.launcher.entry.remote.model LauncherEntryRemoteModel.cpp:50 Unable to connect to session bus: Unexpected lack of content trying to read a line

WARN 2016-11-14 18:15:45 unityinit :0 failed to commit changes to dconf: Unexpected lack of content trying to read a line
WARN 2016-11-14 18:15:45 unityinit :0 failed to commit changes to dconf: Unexpected lack of content trying to read a line
CRIT 2016-11-14 18:15:45 unity :0 Unable to get org.ayatana.bamf matcher: Unexpected lack of content trying to read a line

`

@fpqc
fpqc commented Nov 14, 2016

I dunno homie, why are you asking me? I'm the xsettingsd guy, not the compiz guy (in this thread).

@mimischi
mimischi commented Nov 23, 2016 edited

Just a note for anyone struggling with the D-BUS error:

I've installed Anaconda2 inside my WSL environment. Having that appended to my PATH and doing which dbus-daemon will point to the dbus-daemon shipped by Anaconda. Starting any applications will result in the aforementioned dbus error.

Currently I disabled Anaconda from getting into my PATH, but may solve it differently.

On a related note: how do you guys create your scripts to launch Linux programs from Windows? Creating a link to bash.exe and providing the program name as an option works, but is this the common solution?

C:\Windows\System32\bash.exe -c "export DISPLAY=:0.0; terminator"

@fpqc
fpqc commented Nov 23, 2016 edited

@mimischi bash.exe -c "DISPLAY=:0 terminator". Exporting variables is for interactive shells, when you are doing "source". Setting them for individual programs should just be done by declaring them on the same line.

@stevebovy
stevebovy commented Dec 1, 2016 edited

The dbus fix does not seem to have any effect because there is no automated method to start the
dbus-daemon

How are we supposed to get the dbus-daemon running?

@fpqc
fpqc commented Dec 1, 2016

@stevebovy You used to need the dbus fix because of missing socket functionality.

@GERMANOCARELLA
@aseering
Contributor
aseering commented Dec 1, 2016

@GERMANOCARELLA -- I think it's the fix that's discussed here:

https://wsl-forum.qztc.io/viewtopic.php?f=6&t=12

@kllt
kllt commented Dec 5, 2016

Hi!
I'm new to wsl and GitHub...
I've been reading your useful comments to install desktop environments on wsl.
So, my contribution.

I'm using UBUNTU 14.04 on an Intel Core 2 Duo with Intel G41 Express Video.
Tried upgrade to 16.04, but mostly not working: I'm waiting the official upgrade...

I created a bunch of .bat files to launch each environment on this model:
LXDE, OPENBOX, XFCE4, GNOME-FLASHBACK, KDE or simple bash console.

rem start server : vcxsrv or Xming
start "" "D:\UBUNTU\VcXsrv\vcxsrv.exe"
rem set user : root or another one
lxrun /setdefaultuser root
rem launch DE
bash -c "DISPLAY=0:0 lxsession --de=LXDE --session=LXDE"
rem bash -c "DISPLAY=0:0 openbox-session & DISPLAY=0:0 fbpanel"
rem bash -c "export NO_AT_BRIDGE=1 & dbus-launch & exec xfce4-session --display 0:0"
rem bash -c "export DISPLAY=0:0 & dbus-launch --exit-with-session gnome-session --session=gnome-flashback --disable-acceleration-check --display=0:0"
rem bash -c "DISPLAY=0:0 exec ck-launch-session dbus-launch --exit-with-session startkde"
rem bash -c "DISPLAY=:0 dbus-launch /usr/sbin/unity-greeter & lxdm --display=:0"

rem bash ~c
Everything is not working perfectly, of course, but it works !

kllt

@fpqc
fpqc commented Dec 5, 2016

I would just wipe and reinstall. Installing the desktop environment installs like a gigabyte of packages, some of which are obsolete in 16.04.

@simonegli8
simonegli8 commented Jan 11, 2017 edited

An alternative Xserver would be MobaXTerm. Is has a -hideterm command line switch, so it can be run as an X server only.
It seems MobaXTerm is more stable than Xming or VcXsrv. It also has fonts built in. And there is a free personal version for non commercial use, and the commercial version is cheap.

@Stretto
Stretto commented Jan 11, 2017 edited

The mouse icon does not show at start. If I run a program then it shows. I have set all the plugins in ccsm as specified but that did not help.

Also, I can only seem to run a program once then it no longer runs. e.g., if I click on libreOffice it loads but then if I exit it and try to run it again, it won't run(actually, after about a min I can run the program again)

Log:




compiz (core) - Info: Loading plugin: core
compiz (core) - Info: Starting plugin: core
compiz (core) - Info: Loading plugin: ccp
compiz (core) - Info: Starting plugin: ccp
compizconfig - Info: Backend     : ini
compizconfig - Info: Integration : true
compizconfig - Info: Profile     : default
compiz (core) - Info: Loading plugin: composite
compiz (core) - Info: Starting plugin: composite
compiz (core) - Info: Loading plugin: opengl
compiz (core) - Info: Starting plugin: opengl
Compiz (opengl) - Fatal: GLX_EXT_texture_from_pixmap is missing
compiz (core) - Info: Loading plugin: unityshell
compiz (core) - Info: Starting plugin: unityshell

(compiz:12): GLib-WARNING **: In call to g_spawn_sync(), exit status of a child process was requested but ECHILD was received by waitpid(). Most likely the process is ignoring SIGCHLD, or some other thread is invoking waitpid() with a nonpositive first argument; either behavior can break applications that use g_spawn_sync either directly or indirectly.
WARN  2017-01-11 12:25:55 unity.screen UScreen.cpp:126 UScreen::GetMonitorName: Failed to get monitor name for monitor0

(compiz:12): dconf-WARNING **: failed to commit changes to dconf: Error spawning command line 'dbus-launch --autolaunch=d8944b78d26de8843ef803c557d864ca --binary-syntax --close-stderr': Child process killed by signal 23

(compiz:12): dconf-WARNING **: failed to commit changes to dconf: Error spawning command line 'dbus-launch --autolaunch=d8944b78d26de8843ef803c557d864ca --binary-syntax --close-stderr': Child process killed by signal 23

(compiz:12): dconf-WARNING **: failed to commit changes to dconf: Error spawning command line 'dbus-launch --autolaunch=d8944b78d26de8843ef803c557d864ca --binary-syntax --close-stderr': Child process killed by signal 23
WARN  2017-01-11 12:25:55 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't register object 'org.gnome.Shell' yet as we don't have a connection, waiting for it...
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
WARN  2017-01-11 12:25:55 unity.debug.interface DebugDBusInterface.cpp:217 Unable to load entry point in libxpathselect: libxpathselect.so.1.4: cannot open shared object file: No such file or directory -- full D-Bus introspection will not be available
ERROR 2017-01-11 12:25:55 unity.launcher.entry.remote.model LauncherEntryRemoteModel.cpp:50 Unable to connect to session bus: Error sending credentials: Error sending message: Invalid argument
WARN  2017-01-11 12:25:55 unity.dash.gsettingsscopereader GSettingsScopes.cpp:108 Error fetching protocol metadata for scope: social.scope : Valid key file could not be found in search dirs
WARN  2017-01-11 12:25:55 unity <unknown>:0 Unable to get org.ayatana.bamf matcher: Error sending credentials: Error sending message: Invalid argument
ERROR 2017-01-11 12:25:55 unityo (appinfo2) <unknown>:0 g_dbus_proxy_set_default_timeout: assertion 'G_IS_DBUS_PROXY (proxy)' failed
WARN  2017-01-11 12:25:55 unityte <unknown>:0 invalid (NULL) pointer instance
ERROR 2017-01-11 12:25:55 unityte <unknown>:0 g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
WARN  2017-01-11 12:25:55 unityte <unknown>:0 invalid (NULL) pointer instance
ERROR 2017-01-11 12:25:55 unityte <unknown>:0 g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
WARN  2017-01-11 12:25:55 unityte <unknown>:0 invalid (NULL) pointer instance
ERROR 2017-01-11 12:25:55 unityte <unknown>:0 g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
WARN  2017-01-11 12:25:55 unityte <unknown>:0 invalid (NULL) pointer instance
ERROR 2017-01-11 12:25:55 unityte <unknown>:0 g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
WARN  2017-01-11 12:25:55 unityte <unknown>:0 invalid (NULL) pointer instance
ERROR 2017-01-11 12:25:55 unityte <unknown>:0 g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
WARN  2017-01-11 12:25:55 unityte <unknown>:0 invalid (NULL) pointer instance
ERROR 2017-01-11 12:25:55 unityte <unknown>:0 g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
ERROR 2017-01-11 12:25:55 unityo (appinfo2) <unknown>:0 g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
WARN  2017-01-11 12:25:55 unity <unknown>:0 Failed to register favorites:
ERROR 2017-01-11 12:25:55 unityfree <unknown>:0 g_error_free: assertion 'error != NULL' failed
ERROR 2017-01-11 12:25:55 unityo (appinfo2) <unknown>:0 g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
WARN  2017-01-11 12:25:55 unity <unknown>:0 Failed to register favorites:
ERROR 2017-01-11 12:25:55 unityfree <unknown>:0 g_error_free: assertion 'error != NULL' failed
ERROR 2017-01-11 12:25:55 unityo (appinfo2) <unknown>:0 g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
WARN  2017-01-11 12:25:55 unity <unknown>:0 Failed to register favorites:
ERROR 2017-01-11 12:25:55 unityfree <unknown>:0 g_error_free: assertion 'error != NULL' failed
ERROR 2017-01-11 12:25:55 unityo (appinfo2) <unknown>:0 g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
WARN  2017-01-11 12:25:55 unity <unknown>:0 Failed to register favorites:
ERROR 2017-01-11 12:25:55 unityfree <unknown>:0 g_error_free: assertion 'error != NULL' failed
ERROR 2017-01-11 12:25:55 unityo (appinfo2) <unknown>:0 g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
WARN  2017-01-11 12:25:55 unity <unknown>:0 Failed to register favorites:
ERROR 2017-01-11 12:25:55 unityfree <unknown>:0 g_error_free: assertion 'error != NULL' failed
ERROR 2017-01-11 12:25:55 unityo (appinfo2) <unknown>:0 g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
WARN  2017-01-11 12:25:55 unity <unknown>:0 Failed to register favorites:
ERROR 2017-01-11 12:25:55 unityfree <unknown>:0 g_error_free: assertion 'error != NULL' failed
ERROR 2017-01-11 12:25:55 unityo (appinfo2) <unknown>:0 g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
WARN  2017-01-11 12:25:55 unity <unknown>:0 Failed to register favorites:
ERROR 2017-01-11 12:25:55 unityfree <unknown>:0 g_error_free: assertion 'error != NULL' failed
ERROR 2017-01-11 12:25:55 unityo (appinfo2) <unknown>:0 g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
WARN  2017-01-11 12:25:55 unity <unknown>:0 Failed to register favorites:
ERROR 2017-01-11 12:25:55 unityfree <unknown>:0 g_error_free: assertion 'error != NULL' failed
ERROR 2017-01-11 12:25:55 unityo (appinfo2) <unknown>:0 g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
WARN  2017-01-11 12:25:55 unity <unknown>:0 Failed to fetch applications paths:
ERROR 2017-01-11 12:25:55 unityfree <unknown>:0 g_error_free: assertion 'error != NULL' failed
WARN  2017-01-11 12:25:55 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't register object 'com.canonical.Unity.Launcher' yet as we don't have a connection, waiting for it...
ERROR 2017-01-11 12:25:55 unityo (appinfo2) <unknown>:0 g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
WARN  2017-01-11 12:25:55 unity <unknown>:0 Failed to get active window:
ERROR 2017-01-11 12:25:55 unityfree <unknown>:0 g_error_free: assertion 'error != NULL' failed
ERROR 2017-01-11 12:25:55 unityo (appinfo2) <unknown>:0 g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
WARN  2017-01-11 12:25:55 unity <unknown>:0 Failed to fetch paths:
ERROR 2017-01-11 12:25:55 unityfree <unknown>:0 g_error_free: assertion 'error != NULL' failed
ERROR 2017-01-11 12:25:55 unityo (appinfo2) <unknown>:0 g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
WARN  2017-01-11 12:25:55 unity <unknown>:0 Failed to fetch paths:
ERROR 2017-01-11 12:25:55 unityfree <unknown>:0 g_error_free: assertion 'error != NULL' failed
WARN  2017-01-11 12:25:55 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't register object 'com.canonical.Unity.Dash' yet as we don't have a connection, waiting for it...
WARN  2017-01-11 12:25:55 nux.inputmethod.ibus InputMethodIBus.cpp:67 Impossible to connect to connect to ibus
WARN  2017-01-11 12:25:55 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't register object 'org.gnome.SessionManager.EndSessionDialog' yet as we don't have a connection, waiting for it...
ERROR 2017-01-11 12:25:55 unityo (appinfo2) <unknown>:0 g_dbus_proxy_new_for_bus: assertion 'g_variant_is_object_path (object_path)' failed
WARN  2017-01-11 12:25:55 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't register object 'com.canonical.Unity.Session' yet as we don't have a connection, waiting for it...
WARN  2017-01-11 12:25:55 unity.glib.dbus.server GLibDBusServer.cpp:593 Can't register object 'org.gnome.ScreenSaver' yet as we don't have a connection, waiting for it...
compiz (core) - Info: Loading plugin: place
compiz (core) - Info: Starting plugin: place
compiz (core) - Info: Loading plugin: resize
compiz (core) - Info: Starting plugin: resize
compiz (core) - Info: Loading plugin: snap
compiz (core) - Info: Starting plugin: snap
compiz (core) - Info: Loading plugin: commands
compiz (core) - Info: Starting plugin: commands
compiz (core) - Info: Loading plugin: compiztoolbox
compiz (core) - Info: Starting plugin: compiztoolbox
compiz (core) - Info: Loading plugin: copytex
compiz (core) - Info: Starting plugin: copytex
compiz (core) - Info: Loading plugin: imgpng
compiz (core) - Info: Starting plugin: imgpng
compiz (core) - Info: Loading plugin: move
compiz (core) - Info: Starting plugin: move
compiz (core) - Info: Loading plugin: scale
compiz (core) - Info: Starting plugin: scale
compiz (core) - Info: Loading plugin: expo
compiz (core) - Info: Starting plugin: expo
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
WARN  2017-01-11 12:25:56 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 1)
ERROR 2017-01-11 12:25:56 unity.glib.dbus.server GLibDBusServer.cpp:538 DBus name lost 'org.gnome.Shell'
WARN  2017-01-11 12:25:56 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 1)
WARN  2017-01-11 12:25:56 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 1)
ERROR 2017-01-11 12:25:56 unity.glib.dbus.server GLibDBusServer.cpp:538 DBus name lost 'com.canonical.Unity.Launcher'
ERROR 2017-01-11 12:25:56 unity.glib.dbus.server GLibDBusServer.cpp:538 DBus name lost 'com.canonical.Unity'
WARN  2017-01-11 12:25:56 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 1)
ERROR 2017-01-11 12:25:56 unity.glib.dbus.server GLibDBusServer.cpp:538 DBus name lost 'org.gnome.Shell'
WARN  2017-01-11 12:25:56 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 1)
WARN  2017-01-11 12:25:56 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 1)
WARN  2017-01-11 12:25:56 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 1)
WARN  2017-01-11 12:25:56 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 1)
WARN  2017-01-11 12:25:56 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 1)
WARN  2017-01-11 12:25:56 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 1)
ERROR 2017-01-11 12:25:56 unity.glib.dbus.server GLibDBusServer.cpp:538 DBus name lost 'com.canonical.Unity'
ERROR 2017-01-11 12:25:56 unity.glib.dbus.server GLibDBusServer.cpp:538 DBus name lost 'org.gnome.ScreenSaver'
WARN  2017-01-11 12:25:56 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 1)
WARN  2017-01-11 12:25:56 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 1)
ERROR 2017-01-11 12:25:56 unityte <unknown>:0 g_object_set: assertion 'G_IS_OBJECT (object)' failed
ERROR 2017-01-11 12:25:56 unity.launcher.icon.trash TrashLauncherIcon.cpp:67 Could not create file monitor for trash uri: Operation not supported
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
WARN  2017-01-11 12:25:59 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 2)
WARN  2017-01-11 12:25:59 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 2)
WARN  2017-01-11 12:25:59 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 2)
WARN  2017-01-11 12:25:59 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 2)
WARN  2017-01-11 12:25:59 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 2)
WARN  2017-01-11 12:25:59 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 2)
WARN  2017-01-11 12:25:59 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 2)
WARN  2017-01-11 12:25:59 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 2)
WARN  2017-01-11 12:25:59 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 2)
WARN  2017-01-11 12:25:59 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 2)
WARN  2017-01-11 12:25:59 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 2)
WARN  2017-01-11 12:25:59 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 2)
WARN  2017-01-11 12:26:02 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 3)
WARN  2017-01-11 12:26:02 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 3)
WARN  2017-01-11 12:26:02 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 3)
WARN  2017-01-11 12:26:02 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 3)
WARN  2017-01-11 12:26:02 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 3)
WARN  2017-01-11 12:26:02 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 3)
WARN  2017-01-11 12:26:02 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 3)
WARN  2017-01-11 12:26:02 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 3)
WARN  2017-01-11 12:26:02 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 3)
WARN  2017-01-11 12:26:02 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 3)
WARN  2017-01-11 12:26:02 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 3)
WARN  2017-01-11 12:26:02 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 3)
WARN  2017-01-11 12:26:05 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 4)
WARN  2017-01-11 12:26:05 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 4)
WARN  2017-01-11 12:26:05 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 4)
WARN  2017-01-11 12:26:05 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 4)
WARN  2017-01-11 12:26:05 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 4)
WARN  2017-01-11 12:26:05 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 4)
WARN  2017-01-11 12:26:05 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 4)
WARN  2017-01-11 12:26:05 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 4)
WARN  2017-01-11 12:26:05 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 4)
WARN  2017-01-11 12:26:05 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 4)
WARN  2017-01-11 12:26:05 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 4)
WARN  2017-01-11 12:26:05 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 4)
WARN  2017-01-11 12:26:06 nux.inputmethod.ibus InputMethodIBus.cpp:67 Impossible to connect to connect to ibus
ERROR 2017-01-11 12:26:09 unity{?*} <unknown>:0 unity-scope-proxy-remote.vala:118: Unable to connect to session bus: Error sending credentials: Error sending message: Invalid argument
WARN  2017-01-11 12:26:09 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 5)
WARN  2017-01-11 12:26:09 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 5)
WARN  2017-01-11 12:26:09 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 5)
WARN  2017-01-11 12:26:09 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 5)
WARN  2017-01-11 12:26:09 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 5)
WARN  2017-01-11 12:26:09 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 5)
WARN  2017-01-11 12:26:09 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 5)
WARN  2017-01-11 12:26:09 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 5)
WARN  2017-01-11 12:26:09 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 5)
WARN  2017-01-11 12:26:09 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 5)
WARN  2017-01-11 12:26:09 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 5)
WARN  2017-01-11 12:26:09 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Error sending credentials: Error sending message: Invalid argument"... Trying to reconnect (attempt 5)
WARN  2017-01-11 12:26:11 unity.dash.view DashView.cpp:1267 Search failed  ''=> Timed out waiting for scope proxy connection
WARN  2017-01-11 12:26:11 unity.dash.scopeproxy ScopeProxy.cpp:516 Could not search '' on home.scope => Timed out waiting for scope proxy connection
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
ERROR 2017-01-11 12:26:12 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
ERROR 2017-01-11 12:26:12 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Error sending credentials: Error sending message: Invalid argument
ERROR 2017-01-11 12:26:12 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Error sending credentials: Error sending message: Invalid argument
ERROR 2017-01-11 12:26:12 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Error sending credentials: Error sending message: Invalid argument
ERROR 2017-01-11 12:26:12 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Error sending credentials: Error sending message: Invalid argument
ERROR 2017-01-11 12:26:12 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
ERROR 2017-01-11 12:26:12 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
ERROR 2017-01-11 12:26:12 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
ERROR 2017-01-11 12:26:12 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
ERROR 2017-01-11 12:26:12 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Error sending credentials: Error sending message: Invalid argument
ERROR 2017-01-11 12:26:12 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
ERROR 2017-01-11 12:26:12 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Error sending credentials: Error sending message: Invalid argument

(soffice:78): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

(soffice:78): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

** (soffice:78): CRITICAL **: void g_lo_menu_insert_section(GLOMenu*, gint, const gchar*, GMenuModel*): assertion 'G_IS_LO_MENU (menu)' failed
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
ERROR 2017-01-11 12:26:25 unity.session.gnome GnomeSessionManager.cpp:420 logind CanHibernate call failed: Timed out waiting for proxy
WARN  2017-01-11 12:26:39 unity.glib.dbus.proxy GLibDBusProxy.cpp:403 Cannot call method CanHibernate: Timed out waiting for proxy
ERROR 2017-01-11 12:26:39 unity.session.gnome GnomeSessionManager.cpp:420 logind CanSuspend call failed: Timed out waiting for proxy
WARN  2017-01-11 12:26:39 unity.glib.dbus.proxy GLibDBusProxy.cpp:403 Cannot call method CanSuspend: Timed out waiting for proxy
ERROR 2017-01-11 12:26:39 unity.session.gnome GnomeSessionManager.cpp:383 Gnome Session call failed: Timed out waiting for proxy
WARN  2017-01-11 12:26:39 unity.glib.dbus.proxy GLibDBusProxy.cpp:403 Cannot call method CanShutdown: Timed out waiting for proxy
WARN  2017-01-11 12:26:39 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 1)
WARN  2017-01-11 12:26:39 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 1)
WARN  2017-01-11 12:26:42 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 2)
WARN  2017-01-11 12:26:42 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 2)
WARN  2017-01-11 12:26:45 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 3)
WARN  2017-01-11 12:26:45 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 3)
WARN  2017-01-11 12:26:48 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 4)
WARN  2017-01-11 12:26:48 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 4)
WARN  2017-01-11 12:26:51 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 5)
WARN  2017-01-11 12:26:51 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 5)
ERROR 2017-01-11 12:26:54 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
ERROR 2017-01-11 12:26:54 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
javaldx: Could not find a Java Runtime Environment!
Warning: failed to read path from javaldx
ERROR 2017-01-11 12:27:09 unity.session.gnome GnomeSessionManager.cpp:400 UPower call failed: Timed out waiting for proxy
WARN  2017-01-11 12:27:09 unity.glib.dbus.proxy GLibDBusProxy.cpp:403 Cannot call method HibernateAllowed: Timed out waiting for proxy
ERROR 2017-01-11 12:27:09 unity.session.gnome GnomeSessionManager.cpp:400 UPower call failed: Timed out waiting for proxy
WARN  2017-01-11 12:27:09 unity.glib.dbus.proxy GLibDBusProxy.cpp:403 Cannot call method SuspendAllowed: Timed out waiting for proxy

(soffice:129): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

(soffice:129): Gdk-WARNING **: gdk_window_set_icon_list: icons too large

** (soffice:129): CRITICAL **: void g_lo_menu_insert_section(GLOMenu*, gint, const gchar*, GMenuModel*): assertion 'G_IS_LO_MENU (menu)' failed
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
compiz (opengl) - Error: GL::textureFromPixmap is not supported.
@stevebovy
@simonegli8
simonegli8 commented Jan 12, 2017 edited

Hi, I did use VcXsrv 1.18.3 and it did crash a lot, whereas MobaXTerm runs very stable.

@bradleesargent

I tried using startkde but klauncher caused a crash
I ran the command:
exec ck-launch-session dbus-launch --exit-with-session startkde 2> startkde.txt &

and the strace output:

startkde.txt
here is what shows on the screen:

capture

@bradleesargent

Here I ran the testerx command file with the line above in it:
testerx.txt

klauncher

@Baltix
Baltix commented Jan 29, 2017

Anyone tried to run LXDE, LXQT or GNOME-Shell ?

@purag
purag commented Jan 30, 2017

Anyone get Enlightenment working? Keep getting "eldbus: Error connecting to bus of type 2." Tried the dbus fix from reddit, and also edited /etc/dbus-1/system.conf, but no luck.

Should I reinstall Enlightenment after performing the fix?

@bradleesargent

I tried upgrading my version of windows 10 by joining the windows insider program, so now my version of windows is at 15019.10000, but I still have issues running startkde.

@KrondaliX

I didn't realized that this thread is continuing haha :)

I got it working with the RDP service of windows. (no need all that stuff vcXserv or other softwares...)

You have to use xrdp repositories then vnc4server. (there are some tutorials over internet you might find out through google)
The fact is this time i could get sound working (that was the first reason why i wanted to use rdp). Unfortunately, the fps with compiz fusion is slower than VcXserv there's probably a trick to get this working better (will make some tweaks when i have time to), but i got rid of the page tearing problem related with the screen refresh rate.

So i'm advancing and coming to think this solution might work someday. The real problem is : No hardware acceleration :/ and next problem related to the bash itself, the cronjobs will not work if the bash is closed...

@dfpr
dfpr commented Feb 8, 2017

Don't wanna start a flame war, but... why bother with all this if you can use a virtual machine?

@bradleesargent

I think the main reason against using a virtual machine is if you are doing most of your development using windows based tools and wanting to intermittently use linux tools to perform certain tasks which they by their design lend themselves to doing. Maybe if you are going to go through the effort of using a virtual machine you should use that as your sole development environment. That's just my two cents.

@aseering
Contributor
aseering commented Feb 8, 2017

@dfpr -- fair question. If there were no good reason, it wouldn't be worth doing :-)

@bradleesargent +1. And I'll add a few reasons to the list:

  • WSL (in recent Insider builds, not stable Windows) can launch Windows binaries directly, use them in Linux scripts, etc. You don't typically get that degree of integration with a VM. Relatedly, while many VM hypervisors provide a way for a VM to get at the host's filesystem, most of those implementations are known to be very fragile/buggy/etc; much worse in my experience than WSL's DrvFS.
  • It's hard to allocate the full system resources of a machine to a VM. Especially if your VM provides a desktop environment, it's going to allocate a bunch of RAM for the virtualized graphics card, etc. (This is less of an issue with headless VM environments like the one created by Docker, for example.) With slower machines or more memory-intensive tasks, that may be a problem.
  • Corporate policy: A company may not allow VMs for "security reasons", but might allow built-in Windows features. (This is often more of an issue with dual-booting Windows+Linux; see also "using all system resources.")
  • I'll admit / I'm sure for some people, some amount of entertainment / novelty / "because we can."

VMs are still a great tool; I use them too. Basically anything that you can do in WSL is totally technically possible in a VM too. The question then is, which is a better user experience?

@therealkenc

I've never heard about point 3 before, especially for "corporate development related use-case scenarios". Is that a thing? +1 for point 4. I think maybe the question in the context of this thread goes to using RDP. I am still not seeing why one would dedicate a bunch of pixels to Ubuntu's wallpaper. Too many 4k dual head rigs out there maybe.

@aseering
Contributor
aseering commented Feb 8, 2017

For #3, I've heard horror stories... I've personally worked on a team writing Linux-only software that was very system-resource-intensive both to compile and to run (so running full-screen in a VM slowed the dev cycle substantially) at a very large and nominally all-Windows tech company. I would have loved having something like WSL.

@crcrewso
crcrewso commented Feb 8, 2017 edited

One more point. VM's take up extra power and on my small (by design) dev machine (mostly commenting and cleaning up results from clusters for research) the WSL is a huge battery saver over VM's.

Edge case though I may be, back saved and wall wart free am I.

@warpdesign
warpdesign commented Feb 9, 2017 edited

It works but it seems to be slow, like there's no openGL acceleration (moving windows, etc.. is slow).

I also get the same warnings as @Stretto in the terminal:

compiz (opengl) - Error: GL::textureFromPixmap is not supported.
WARN 2017-01-11 12:26:51 unity.glib.dbus.proxy GLibDBusProxy.cpp:196 Unable to connect to proxy: "Could not connect: No such file or directory"... Trying to reconnect (attempt 5) ERROR 2017-01-11 12:26:54 unity.glib.dbus.proxy GLibDBusProxy.cpp:203 Unable to connect to proxy: Could not connect: No such file or directory

Is there something wrong with the configuration ?

@aseering
Contributor
aseering commented Feb 9, 2017

@warpdesign -- which X implementation are you using, on the Windows side? (Xming? VcXsrv?) I don't know a lot about X's OpenGL support, but I know that at minimum the X server must be compatible, and some Windows X servers aren't.

@warpdesign

@aseering I am using VcXsrv which is supposed to support openGL: I have activated it when running XLaunch. But it's slow & refresh is ugly as if it was software based.

@warpdesign

In the VcXsrv log, I can read this:

(II) AIGLX: enabled GLX_MESA_copy_sub_buffer
(II) AIGLX: enabled GLX_SGI_swap_control
(II) 80 pixel formats reported by wglGetPixelFormatAttribivARB
(II) GLX: Initialized Win32 native WGL GL provider for screen 0

So it seems it's using software based rendering. No wonder it's slow.

@stevebovy

I am interested in rdp. Could someone post instructions please.

How do you access the xrdp connection locally without conflicting with windows native rdp support
How do you login to the xrdp connection ? what user/password do you use ?

@santoshbs

I am having the same issue as @warpdesign The GUI does not refresh on moving the cursor.

@simonegli8

MobaXterm has a separate XServer exe you can start without starting MobaXterm. Up to now, this XServer runs the most stable of all the ones I've tried.
I have a shortcut in my startup folder executing the following command:
C:\Users\Simon\Documents\MobaXterm\slash\bin\XWin_MobaX.exe -silent-dup-error -nolisten inet6 -hostintitle +bs -clipboard -ac -wgl -multiwindow -noreset :0
so I always have an XServer listening on :0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment