On Tue, 17 Apr 2018 14:14:05 -0500 neena reddy <neenareddy2...@gmail.com> said:

> On Mon, Apr 16, 2018 at 11:21 PM, Carsten Haitzler <ras...@rasterman.com>
> wrote:
> 
> > On Mon, 16 Apr 2018 14:52:50 -0500 neena reddy <neenareddy2...@gmail.com>
> > said:
> >
> > > Hi,
> > >
> > > I am trying to build enlightenment on wayland using yocto. I am using EFL
> > > 1.20.7 version and enlightenment 0.22.3 . My image built fine but having
> > > issues in bringing up the enlightenment desktop. I tried to start
> > > enlightenment.service manually but failed with the following error:
> > >
> > > <<<< Enlightenment Error >>>>
> > > Enlightenment cannot create a dbus session connection.
> > > At best this will break many things, at worst it will hard lock your
> > > machine.
> > > If you're sure you know what you're doing, export E_NO_DBUS_SESSION=1
> > >  E: Begin Shutdown Procedure!
> > >
> > > Error connecting to bus of type 1. error name:
> > > org.freedesktop.DBus.Error.NotSupported error message: Using X11 for
> > > dbus-daemon autolaunch was disabled at compile time, set your
> > > DBUS_SESSION_BUS_ADDRESS instead
> > >  safety check failed: conn == NULL
> > > Cannot get ELDBUS_CONNECTION_TYPE_SESSION
> > > enlightenment.service: Main process exited, code=exited, status=255/n/a
> > > systemd[1]: Failed to start Enlightenment service.
> > >
> > > Did anyone have success in bringing up enlightenment on wayland?
> > > Any help on this would be appreciated.
> >
> > no dbus session bus... enlightenment_start will use dbus-launch to run
> > enlightenment if it can't detect DBUS_SESSION_BUS_ADDRESS etc. to ensure
> > you
> > have a session bus. if there already is a session bus before
> > enlightenment_start then you're all good.
> >
> > have you tried logging into a tty (text console) and just running
> > enlightenment_start by hand? you're using the service file which assumes a
> > session bus has already been started and env vars set etc. prior to
> > enlightenment running.
> 
> 
> I am getting this error if i run enlightenment_start by hand  in tty
> 
> ESTART: 0.13932 [0.00003] - Compositor Init
> LOAD WL_WL MODULE
> ERR<3570>:ecore_evas
> modules/ecore_evas/engines/wayland/ecore_evas_wayland_comm)
> ## Copy & Paste the below (until EOF) into a terminal, then hit Enter
> 
> eina_btlog << EOF
> /usr/lib/libeina.so.1    0xffffa7102288 0xffffa70d9000
> EOF
> 
> Could not create wayland canvasLOAD WL_DRM MODULE
> ERR<3570>:elput lib/elput/elput_logind.c:515 _logind_connect() Failed to
> get set
> ## Copy & Paste the below (until EOF) into a terminal, then hit Enter

well that will be part of your problem. can't connect to logind. this would
bve on the system dbus (not session debus). you are not even under a
systemd/logind session... this is going to create trouble as this is what is
used to access device inputs. we ask logind to get the fd's so logind that has
root privs can open them and deal with console switching and revoke the fd
access on console switch etc.

so system dbus daemon? no systemd or logind? missing from your os?

> eina_btlog << EOF
> /usr/lib/libeina.so.1    0xffffa7102288 0xffffa70d9000
> EOF
> 
> ERR<3570>:ecore_drm2 lib/ecore_drm2/ecore_drm2_device.c:606
> ecore_drm2_device_fr
> ## Copy & Paste the below (until EOF) into a terminal, then hit Enter
> 
> eina_btlog << EOF
> /usr/lib/libeina.so.1    0xffffa7102288 0xffffa70d9000
> EOF
> 
> ERR<3570>:ecore_evas modules/ecore_evas/engines/drm/ecore_evas_drm.c:159
> _ecoree
> ## Copy & Paste the below (until EOF) into a terminal, then hit Enter
> 
> eina_btlog << EOF
> /usr/lib/libeina.so.1    0xffffa7102288 0xffffa70d9000
> EOF
> 
> Could not create ecore_evas_drm canvas<<<< Enlightenment Error >>>>
> Enlightenment cannot create a compositor.

ok - a bunch of drm issues.

> E: Begin Shutdown Procedure!
> ERR<3570>:e src/bin/e_msgbus.c:84 _e_msgbus_request_name_cb() Could not
> requeste
> ## Copy & Paste the below (until EOF) into a terminal, then hit Enter

login session dbus session. missing.

> eina_btlog << EOF
> /usr/lib/libeina.so.1    0xffffa7102288 0xffffa70d9000
> EOF
> 
> I am i missing something ?

yes. systemd's logind (missing systemd entirely?), missing dbus maybe entirely
too?

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
Carsten Haitzler - ras...@rasterman.com


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users

Reply via email to