[blfs-dev] sddm - comments

Fernando de Oliveira famobr at yahoo.com.br
Sat Sep 26 05:21:38 PDT 2015


Em 23-09-2015 20:45, Ken Moffat escreveu:
> On Wed, Sep 23, 2015 at 06:49:59AM -0300, Fernando de Oliveira wrote:
>> Em 23-09-2015 02:19, Bruce Dubbs escreveu:


>>>> A further comment on the greeter : I did not manage to get it to
>>>> display a theme using sddm-greeter --test /path/to/theme, only a
>>>> white window.  Perhaps that is an environment problem (you will
>>>> recall that I do not use the BLFS scripts to set PATHs etc) and it
>>>> isn't important.
>>
>> Here, you are using:
>>
>> sddm-greeter --test /path/to/theme
>>
>> But from
>>
>> sddm-greeter --help
>>
>> you will see that the correct is:
>>
>> sddm-greeter --test-mode /path/to/theme
>>
>> --test-mode, not --test
>>
>> This is valid also for sddm:
>>
>> sddm --test-mode
>>
>> Having said that, I cannot assure that this change will solve your
>> problem. Later on, I will restart in xfce,
>>
> We spoke about this in July or August, I think.  I had taken the
> --test from a github page.
> 
> Using --testmode did not fix it for me.  As I indicated, it might be
> because I have not passed some of the environment (e.g. QML
> variables) to my session.

I assume --testmode is a typo.

I've run

sddm-greeter --test --theme /usr/share/sddm/themes/speckledwood

and the log seems to be the same as with --test-mode, plus an additional
last line:

[09:02:10.698] (EE) GREETER: Cannot connect to the daemon - is it running?

Yes, daemon is running.

I have run sddm-greeter --test --theme /usr/share/sddm/themes/<theme>

for

circles
elarun
lfs
maldives
maui
speckledwood

Attached a log file obtained by copy/paste.

They all seem to have in common

{{{
(II) GREETER: Reading from "/usr/share/xsessions/fluxbox.desktop"
(II) GREETER: Reading from
"/usr/share/xsessions/gnome-custom-session.desktop"
(II) GREETER: Reading from "/usr/share/xsessions/gnome.desktop"
(II) GREETER: Reading from "/usr/share/xsessions/LXDE.desktop"
(II) GREETER: Reading from "/usr/share/xsessions/lxqt.desktop"
(II) GREETER: Reading from "/usr/share/xsessions/openbox-gnome.desktop"
(II) GREETER: Reading from "/usr/share/xsessions/openbox-kde.desktop"
(II) GREETER: Reading from "/usr/share/xsessions/openbox.desktop"
(II) GREETER: Reading from "/usr/share/xsessions/xfce.desktop"
(II) GREETER: Reading from "/usr/share/xsessions/failsafe.desktop"
(II) GREETER: Reading from
"/usr/share/wayland-sessions/gnome-wayland.desktop"
}}}

I think it is searching what to show in the sessions list.

They all have EE and/or WW:

{{{
$ grep -E 'sddm-greeter|\(EE|\(WW'
/logs/sddm-greeter--test-mode--theme-205.09.26.log
$ sddm-greeter --test-mode --theme /usr/share/sddm/themes/elarun/
[08:51:10.830] (EE) GREETER: Socket error:
"QLocalSocket::connectToServer: Invalid name"
[08:51:11.072] (WW) GREETER:
file:///usr/share/sddm/themes/elarun/Main.qml:104:25: QML Image: Cannot
open: file:///usr/share/sddm/themes/elarun/images/user_icon.png
$ sddm-greeter --test-mode --theme /usr/share/sddm/themes/circles
[08:52:57.028] (EE) GREETER: Socket error:
"QLocalSocket::connectToServer: Invalid name"
[08:52:57.288] (WW) GREETER: libpng warning: iCCP: known incorrect sRGB
profile
$ sddm-greeter --test-mode --theme /usr/share/sddm/themes/lfs
[08:53:31.257] (EE) GREETER: Socket error:
"QLocalSocket::connectToServer: Invalid name"
[08:53:31.611] (WW) GREETER:
file:///usr/share/sddm/themes/lfs/Main.qml:113: ReferenceError:
layoutBox is not defined
$ sddm-greeter --test-mode --theme /usr/share/sddm/themes/maldives
[08:54:18.277] (EE) GREETER: Socket error:
"QLocalSocket::connectToServer: Invalid name"
$ sddm-greeter --test-mode --theme /usr/share/sddm/themes/maui/
[08:56:53.918] (EE) GREETER: Socket error:
"QLocalSocket::connectToServer: Invalid name"
$ sddm-greeter --test-mode --theme /usr/share/sddm/themes/speckledwood/
[08:57:28.801] (EE) GREETER: Socket error:
"QLocalSocket::connectToServer: Invalid name"
}}}

However, all fill out the screen with the theme.

I would like to help solving your problem, but I don't know how.

All directory themes have:

drwxr-xr-x root root

-- 
[]s,
Fernando, soon to be called Sisyphus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sddm-greeter--test-mode--theme-2015.09.26.log
Type: text/x-log
Size: 6809 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/blfs-dev/attachments/20150926/51b22e4a/attachment.bin>


More information about the blfs-dev mailing list