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