LXDE: Login fails

  • Done
  • quality assurance status badge
Details
3 participants
  • ng0
  • Ludovic Courtès
  • ng0
Owner
unassigned
Submitted by
ng0
Severity
normal
N
(address . bug-guix@gnu.org)
20170427222205.si5en53kyounp2in@abyayala
At the moment trying to login through SLIM (same with SDDM) into LXDE
you get the message "Failed to execute login command" for
about 2 seconds, then the X session terminates and your are
back at SLIM.

Effectively through the login managers we have, LXDE is not
usable at the moment. I haven't tested using just "startx".

I open this bug so that it can be referenced and is visible. To me
it is known since I've sent in the meta package for LXDE.
--
L
L
Ludovic Courtès wrote on 5 May 2017 20:41
(name . ng0)(address . contact.ng0@cryptolab.net)(address . 26688@debbugs.gnu.org)
87inlf2ljq.fsf@gnu.org
ng0 <contact.ng0@cryptolab.net> skribis:

Toggle quote (5 lines)
> At the moment trying to login through SLIM (same with SDDM) into LXDE
> you get the message "Failed to execute login command" for
> about 2 seconds, then the X session terminates and your are
> back at SLIM.

Does ~/.xsession-errors contain any hint? That is, try to log in and
fail, then go to tty1 with ctrl-alt-f1, log in, and run
“cat ~/.xsession-errors”.

Thanks,
Ludo’.
N
(name . Ludovic Courtès)(address . ludo@gnu.org)
20170507131818.g2pulxqytwob7mzj@abyayala
Ludovic Courtès transcribed 0.4K bytes:
Toggle quote (14 lines)
> ng0 <contact.ng0@cryptolab.net> skribis:
>
> > At the moment trying to login through SLIM (same with SDDM) into LXDE
> > you get the message "Failed to execute login command" for
> > about 2 seconds, then the X session terminates and your are
> > back at SLIM.
>
> Does ~/.xsession-errors contain any hint? That is, try to log in and
> fail, then go to tty1 with ctrl-alt-f1, log in, and run
> “cat ~/.xsession-errors”.
>
> Thanks,
> Ludo’.

Hi,

I would've appended the file if it existed. But $home/.xsession-error
doesn't exist here.
--
L
L
Ludovic Courtès wrote on 7 May 2017 18:02
(address . 26688@debbugs.gnu.org)
8760hcpsdf.fsf@gnu.org
Hi ng0,

ng0 <contact.ng0@cryptolab.net> skribis:

Toggle quote (3 lines)
> I would've appended the file if it existed. But $home/.xsession-error
> doesn't exist here.

Indeed, not sure why.

I was able to reproduce the problem in a VM with the attached config.
It boils down to this:

Toggle snippet (5 lines)
$ /gnu/store/9fdxlzwbsfzhncwznlx2lrp8rdq61f7v-lxde-common-0.99.2/bin/startlxde
cp: cannot stat '/etc/xdg/openbox/LXDE/rc.xml': No such file or directory
/gnu/store/9fdxlzwbsfzhncwznlx2lrp8rdq61f7v-lxde-common-0.99.2/bin/startlxde: line 47: /gnu/store/9fdxlzwbsfzhncwznlx2lrp8rdq61f7v-lxde-common-0.99.2/bin/lxsession: No such file or directory

The ‘cp’ error seems harmless but the other one is obviously
problematic.

Could you check what’s wrong with ‘startlxde’?

Thanks!

Ludo’.
;; This is an operating system configuration template
;; for a "desktop" setup without full-blown desktop
;; environments.

(use-modules (gnu) (gnu system nss))
(use-service-modules desktop)
(use-package-modules wm lxde certs)

(operating-system
(host-name "antelope")
(timezone "Europe/Paris")
(locale "en_US.utf8")

;; Assuming /dev/sdX is the target hard disk, and "my-root"
;; is the label of the target root file system.
(bootloader (grub-configuration (device "/dev/sdX")))

(file-systems (cons (file-system
(device "my-root")
(title 'label)
(mount-point "/")
(type "ext4"))
%base-file-systems))

(users (cons (user-account
(name "alice")
(comment "Bob's sister")
(group "users")
(supplementary-groups '("wheel" "netdev"
"audio" "video"))
(home-directory "/home/alice"))
%base-user-accounts))

;; Add a bunch of window managers; we can choose one at
;; the log-in screen with F1.
(packages (cons* lxde
nss-certs ;for HTTPS access
%base-packages))

;; Use the "desktop" services, which include the X11
;; log-in service, networking with Wicd, and more.
(services %desktop-services)

;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))
N
(name . Ludovic Courtès)(address . ludo@gnu.org)(address . 26688@debbugs.gnu.org)
20170507173343.itetnxtyy5gw4cm3@abyayala
Ludovic Courtès transcribed 2.7K bytes:
Toggle quote (28 lines)
> Hi ng0,
>
> ng0 <contact.ng0@cryptolab.net> skribis:
>
> > I would've appended the file if it existed. But $home/.xsession-error
> > doesn't exist here.
>
> Indeed, not sure why.
>
> I was able to reproduce the problem in a VM with the attached config.
> It boils down to this:
>
> --8<---------------cut here---------------start------------->8---
> $ /gnu/store/9fdxlzwbsfzhncwznlx2lrp8rdq61f7v-lxde-common-0.99.2/bin/startlxde
> cp: cannot stat '/etc/xdg/openbox/LXDE/rc.xml': No such file or directory
> /gnu/store/9fdxlzwbsfzhncwznlx2lrp8rdq61f7v-lxde-common-0.99.2/bin/startlxde: line 47: /gnu/store/9fdxlzwbsfzhncwznlx2lrp8rdq61f7v-lxde-common-0.99.2/bin/lxsession: No such file or directory
> --8<---------------cut here---------------end--------------->8---
>
> The ‘cp’ error seems harmless but the other one is obviously
> problematic.
>
> Could you check what’s wrong with ‘startlxde’?
>
> Thanks!
>
> Ludo’.
>

Thanks.

Yes, I will do so though if someone else feels like picking
this bug up, feel free to do so as it could take some time
for me to get back to this.

--
L
L
Ludovic Courtès wrote on 8 May 2017 16:30
control message for bug #26688
(address . control@debbugs.gnu.org)
87y3u7l8u5.fsf@gnu.org
tags 26688 easy
L
L
Ludovic Courtès wrote on 11 May 2017 23:32
Re: bug#26688: LXDE: Login fails
(address . 26688-done@debbugs.gnu.org)
87efvvkrkn.fsf@gnu.org
ludo@gnu.org (Ludovic Courtès) skribis:

Toggle quote (14 lines)
> ng0 <contact.ng0@cryptolab.net> skribis:
>
>> I would've appended the file if it existed. But $home/.xsession-error
>> doesn't exist here.
>
> Indeed, not sure why.
>
> I was able to reproduce the problem in a VM with the attached config.
> It boils down to this:
>
> $ /gnu/store/9fdxlzwbsfzhncwznlx2lrp8rdq61f7v-lxde-common-0.99.2/bin/startlxde
> cp: cannot stat '/etc/xdg/openbox/LXDE/rc.xml': No such file or directory
> /gnu/store/9fdxlzwbsfzhncwznlx2lrp8rdq61f7v-lxde-common-0.99.2/bin/startlxde: line 47: /gnu/store/9fdxlzwbsfzhncwznlx2lrp8rdq61f7v-lxde-common-0.99.2/bin/lxsession: No such file or directory

Fixed in d5e7d014dd304474692e47a7d48d33e99b81e18a.

Please email bug-guix if there are other problems with LXDE.

Thanks,
Ludo’.
Closed
?