Kodi Community Forum
Linux unable to start a window manager - Printable Version

Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
---- Thread: Linux unable to start a window manager (/showthread.php?tid=211812)



unable to start a window manager - XenoBIT78 - 2014-12-19

hi Smile

Im running Xubuntu 14.04 and Kodi Helix RC3 on a AMD E350
im on kernel 3.16.7

Im having a problem with launching a browser from kodi
i have a script where i try to start a windowmanager (xfwm4) first
but it fails to start.. i get this error: Gtk-WARNING **: cannot open display:0
i tried to export DISPLAY="0" doesn't help (and display 1 & 0.0)
i tried to install openbox and use that.. but same
tried to use --replace tag still no go


#!/bin/bash
xfwm4 &
/usr/bin/google-chrome
kill %1


It's the exact same script i used to run on gotham but now it fails..

any help is deeply appreciated Smile


RE: unable to start a window manager - fritsch - 2014-12-19

DISPLAY=:0

If you run it from the xbmc session, it won't work. Start xbmc from the desktop and it will.


RE: unable to start a window manager - XenoBIT78 - 2014-12-20

i just found out that i don't need to start a window manager.. seems like there's already one in kodi?


RE: unable to start a window manager - wsnipex - 2014-12-20

no, not the kind that you want to start chrome. But if you run xubuntu and start kodi from the desktop, you obviously already have a WM.


This forum uses Lukasz Tkacz MyBB addons.