Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Still struggling with starting X and enlightenment desktop
Date: Sat, 25 Mar 2017 23:25:00
Message-Id: 3686028.I5mkinOZSv@dell_xps
In Reply to: Re: [gentoo-user] Still struggling with starting X and enlightenment desktop by Alan McKinnon
1 On Saturday 25 Mar 2017 21:08:14 Alan McKinnon wrote:
2 > On 25/03/2017 18:23, Mick wrote:
3 > > After years of running KDM to start various desktop environments
4 > > flawlessly
5 > > (KDE, fluxbox, enlightenment, plasma) I had to replace it with SDDM. With
6 > > the arrival of x11-misc/sddm-0.14.0-r2 I am still able to start a session
7 > > with enlightenment, but I am getting access rights errors, for example my
8 > > user is unable to mount a USB stick. Also, when I log out it logs me
9 > > back in the first time and then logs out normally the second time I try
10 > > to log out. I am guessing something which should be sourced, is not, but
11 > > I don't know how to fix it.
12 > >
13 > > For years now I have had the following files in place to control what
14 > > desktop manager starts:
15 > >
16 > > $ cat /etc/env.d/90xsession
17 > > XSESSION="enlightenment"
18 > >
19 > >
20 > > $ cat /etc/X11/Sessions/enlightenment
21 > > #!/bin/sh
22 > > if [ -x /usr/bin/gpg-agent ]; then
23 > >
24 > > eval "$(/usr/bin/gpg-agent --daemon)"
25 > >
26 > > fi
27 > >
28 > > /usr/bin/enlightenment_start
29 > >
30 > >
31 > > cat ~/.xsession
32 > > #!/bin/sh
33 > > if [ -x /usr/bin/gpg-agent ]; then
34 > >
35 > > kill $(ps ux | awk '/gpg-agent/ && !/awk/ {print $2}') >/dev/null 2>&1
36 > >
37 > > fi
38 > >
39 > > if [ -x /usr/bin/gpg-agent ]; then
40 > >
41 > > eval "$(/usr/bin/gpg-agent --daemon)"
42 > >
43 > > fi
44 > >
45 > > if [ -x /usr/bin/urxvtd ]; then
46 > >
47 > > /usr/bin/urxvtd --opendisplay --fork --quiet
48 > >
49 > > fi
50 > >
51 > > /usr/bin/enlightenment_start
52 > >
53 > >
54 > > I keyworded x11-misc/sddm-0.14.0-r3 and discovered enlightenment complains
55 > > it can't run the compositor with OpenGL. I tried starting a X session
56 > > from the console without DM, with 'startx /usr/bin/enlightenment_start'
57 > > but I also get similar symptoms, including inability to run compositor
58 > > with OpenGL. I get errors like this in ~/.xsession-errors:
59 > >
60 > > ERR<5100>:eina_safety lib/efreet/efreet_ini.c:299 efreet_ini_string_get()
61 > > safety check failed: ini->section == NULL
62 > >
63 > > (gkrellm:5117): Gtk-CRITICAL **: IA__gtk_box_reorder_child: assertion
64 > > 'GTK_IS_WIDGET (child)' failed
65 > > ERR<5141>:eldbus lib/eldbus/eldbus_proxy.c:818 _props_get_all() Error
66 > > getting all properties of
67 > > org.freedesktop.UDisks2/org/freedesktop/UDisks2/block_devices/s
68 > > da1, error message: org.enlightenment.DBus.Canceled Canceled by user.
69 > >
70 > >
71 > > I also tried entrance from bar overlay (it has not been updated in a while
72 > > and has a dependency on an obsolete package), slim (won't log me in) and
73 > > lightdm. When I run lightdm there are no such problems, enlightenment
74 > > starts with OpenGLcompositor, I can mount USB disks, but lightdm
75 > > installed and is running much more than what I really need for my
76 > > desktop.
77 > >
78 > > Is there a way I can start enlightenment without running into all these
79 > > kind of errors? Can you see something wrong in my file contents above?
80 > Your files look OK to me so I have no idea why you get those erro.
81 >
82 > You also say lightdm wrks correctly, so lookee here:
83 >
84 > alan@khamul ~/gitwork/ansible $ equery size lightdm
85 > * x11-misc/lightdm-1.21.5
86 > Total files : 119
87 > Total size : 1.91 MiB
88 > alan@khamul ~/gitwork/ansible $ equery size sddmdm
89 > !!! No installed packages matching 'sddmdm'
90 > alan@khamul ~/gitwork/ansible $ equery size sddm
91 > * x11-misc/sddm-0.14.0-r2
92 > Total files : 192
93 > Total size : 4.78 MiB
94 >
95 > The on that works is smaller and lighter than the one that doesn't.
96 >
97 > I say dump sddm and stick with lightdm which works :-)
98
99 Yes, the thought crossed my mind. ;-)
100
101 It is smaller as a package as you noted, but it is running gnomey stuff like
102 /usr/libexec/accounts-daemon, /usr/libexec/gconfd-2 and perhaps
103 /usr/libexec/at-spi-bus-launcher, which I am not sure I need.
104
105 Either way, if I were to start enlightenment with startx and skip using a DM
106 altogether, is there a way of starting enlightenment and ensuring it has the
107 appropriate access rights to run udisks2 and OpenGL?
108
109 --
110 Regards,
111 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Still struggling with starting X and enlightenment desktop Alan McKinnon <alan.mckinnon@×××××.com>