Opened 9 years ago

Closed 9 years ago

#6639 closed task (fixed)

Add sddm-0.11.0

Reported by: Armin K Owned by: Fernando de Oliveira
Priority: normal Milestone: 7.8
Component: BOOK Version: SVN
Severity: normal Keywords:
Cc:

Description (last modified by bdubbs@…)

sddm doesn't play well with Xorg installed in prefix other than /usr

Need to check what's needed to make it work.

Change History (19)

comment:1 by Armin K, 9 years ago

Version: SVNsystemd

comment:2 by Douglas R. Reno, 9 years ago

Owner: set to Douglas R. Reno
Status: newassigned

This will be an interesting one. I know that Ken and Fernando both have been playing around with SDDM in sysvinit, but I have never used it before.

comment:3 by bdubbs@…, 9 years ago

Component: systemdBOOK
Description: modified (diff)
Summary: sddm doesn't play well with Xorg installed in prefix other than /usrAdd sddm from systemd book

Changing to BOOK. sddm is the replacement for kdm and need to eventually be in both books.

It may need some extensive work to use without systemd.

comment:4 by Fernando de Oliveira, 9 years ago

Owner: changed from Douglas R. Reno to Fernando de Oliveira
Status: assignednew

comment:5 by Fernando de Oliveira, 9 years ago

Milestone: future7.8
Type: defecttask
Version: systemdSVN

comment:6 by Fernando de Oliveira, 9 years ago

Summary: Add sddm from systemd bookAdd sddm-0.11.0

It was developed without systemd, and not explicitly for KDE

comment:7 by Fernando de Oliveira, 9 years ago

Only later, support for systemd was adde, so, I think is the contrary: may need some extensive work with systemd.

comment:8 by Fernando de Oliveira, 9 years ago

First draft done at r16311:

  • Add Chapter "Display Managers".
  • Move lxdm-0.5.0 to Chapter "Display Managers".
  • Add sddm-0.11.0.

comment:9 by Fernando de Oliveira, 9 years ago

Forgot: copied and modified from systemd.

Have to add the bootscript.

It is necessary to copy the tarball from the systemd location to anduin.

comment:10 by Fernando de Oliveira, 9 years ago

Status: newassigned

in reply to:  8 comment:11 by Fernando de Oliveira, 9 years ago

Replying to fo:

First draft done at r16311:

  • Add Chapter "Display Managers".
  • Move lxdm-0.5.0 to Chapter "Display Managers".

These have been suggested first by Ken Moffat, in a discussion at

http://lists.linuxfromscratch.org/pipermail/blfs-dev/2015-July/030596.html

in a message of the thread.

Thank you very much, Ken!

comment:12 by Fernando de Oliveira, 9 years ago

Added the sddm bootscript at 16312.

I don't know if I missed anything. Forgot again what I need to do for the bootscripts version be updated in the book.

I am still trying to find more information about how to start sddm, perhaps the script will need to be updated.

At the moment, there are many issues, some of them documented mainstream, some we are discussing in the -dev list.

comment:13 by Fernando de Oliveira, 9 years ago

  • Several fixes for the files in the Chapter "Display Managers"; patch sent by Bruce Dubbs. Thanks! Fix 3 for #6639.
  • Added instruction to install the sddm bootscript. Fix 2 for #6639.

Thank you very much for the patch, Bruce!!!

Fixed at r16313.

comment:14 by Fernando de Oliveira, 9 years ago

I am starting to think that sddm should be removed form the book and wait until a proper version is published.

comment:15 by Fernando de Oliveira, 9 years ago

Owner: changed from Fernando de Oliveira to blfs-book@…
Status: assignednew

I am giving up with sddm.

Giving back to the book.

comment:16 by Fernando de Oliveira, 9 years ago

I've got an idea. Tomorrow, will try and report, if it works.

comment:17 by Fernando de Oliveira, 9 years ago

I've found a work around that turns available the poweroff and reboot buttons. But it is ugly.

http://lists.linuxfromscratch.org/pipermail/blfs-dev/2015-August/030845.html

Essentially, replace the bootscript start session by

   start)
	log_info_msg "Starting udisksd..."
        start_daemon /usr/libexec/udisks2/udisksd --replace --no-debug &
	evaluate_retval
	log_info_msg "Starting upowerd..."
        pgrep -l upowerd || start_daemon /usr/libexec/upowerd &
	evaluate_retval
	log_info_msg "Starting SDDM..."
	start_daemon $BIN_FILE &
	evaluate_retval
	;;

Perhaps i should add some >/dev/null, to avoid a pid that appears with, IIRC, upowerd.

Perhaps a modification in sddm-0.11.0/src/daemon/XorgDisplayServer.cpp could fix this.

I'm not taking the ticket, because it started as sddm doesn't play well with Xorg installed in prefix other than /usr and Bruce uses X in /opt and he just told in dev to have started working on sddm.

Bruce, Ken, whatever you decide is fine: you or Ken or me.

I think that we are near to close this ticket.

comment:18 by Fernando de Oliveira, 9 years ago

Owner: changed from blfs-book@… to Fernando de Oliveira
Status: newassigned

Change the bootscript according to Bruce's post at:

http://lists.linuxfromscratch.org/pipermail/blfs-dev/2015-August/030849.html

to

. /lib/lsb/init-functions

BIN_FILE="/usr/bin/sddm"

#$LastChangedBy: fernando $
#$Date: 2015-08-01 22:25:40 +0000 (Sat, 01 Aug 2015) $

case $1 in
   start)
        log_info_msg "Starting upowerd..."
        pgrep -l upowerd || start_daemon /usr/libexec/upowerd &
        evaluate_retval

        log_info_msg "Starting SDDM..."
        start_daemon $BIN_FILE &
        evaluate_retval
        ;;

   stop)
        log_info_msg "Stopping SDDM..."
        killproc $BIN_FILE

        log_info_msg "Stopping upowerd..."
        killproc upowerd
        evaluate_retval
        ;;

   restart)
        $0 stop
        sleep 2
        $0 start
        ;;

   status)
        statusproc ${BIN_FILE}
        statusproc /usr/libexec/upowerd
        ;;

   *)
        echo "usage: $0 [start|stop|restart|status]"
        exit 1
        ;;
esac

Remember to fix LXDM bootscript uninstall target.

comment:19 by Fernando de Oliveira, 9 years ago

Resolution: fixed
Status: assignedclosed
  • Update to LVM2.2.02.128.
  • Update to xf86-input-wacom-0.31.0.
  • Update to eog-3.16.3.
  • More short descriptions from Denis Mugnier.
  • Add upowerd to sddm bootscript, for buttons to work (halt, reboot, etc.).
  • Fix lxdm uninstall target in bootscripts Makefile.

Fixed at r16350.

Note: See TracTickets for help on using tickets.