Page 2 of 2
Re: actions disabled on sddm!
Posted: Tue Jul 30, 2024 2:14 pm
by Charlie Brown
"If you like only" you can also do one of these:
Make systemd the default with "MX Boot Options" (at least till it's solved)
or install lightdm (it worked fine for another KDE user in another thread, so: "proven to work").
Re: actions disabled on sddm!
Posted: Tue Jul 30, 2024 2:22 pm
by dolphin_oracle
sddm must be installed.
sddm-modified-init replaces the /etc/init.d/sddm init script provided by sddm. for reference, the contents are below:.
Code: Select all
#!/bin/sh
# kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing.
if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
### BEGIN INIT INFO
# Provides: sddm
# Should-Start: dbus
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 5
# Default-Stop: 0 1 6
# Short-Description: Start SDDM
# Description: Script to start SDDM
### END INIT INFO
# Author: Rohan Garg <rohangarg@kubuntu.org>
#
# To start sddm even if it is not the default display manager, change
# HEED_DEFAULT_DISPLAY_MANAGER to "false."
# Also overridable from command line like:
# HEED_DEFAULT_DISPLAY_MANAGER=false /etc/init.d/lightdm start
[ -z "$HEED_DEFAULT_DISPLAY_MANAGER" ] && HEED_DEFAULT_DISPLAY_MANAGER=true
DEFAULT_DISPLAY_MANAGER_FILE=/etc/X11/default-display-manager
DESC="Init script for Simple Desktop Display Manager"
DAEMON=/usr/bin/sddm
START_ARGS='--background --make-pidfile'
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# don't run in systemd
[ /proc/1/exe -ef /usr/lib/systemd/systemd ] && exit 0
#start systemd-logind if exists
if ! pgrep -x systemd-logind >/dev/null; then
if [ -x /usr/lib/systemd/systemd-logind ]; then
mkdir -p /run/systemd/seats 2>/dev/null || :
export SYSTEMD_BYPASS_HIBERNATION_MEMORY_CHECK=1
/usr/lib/systemd/systemd-logind 2>/dev/null &
fi
fi
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#
# Function that starts the daemon/service
#
do_start_override()
{
if grep -wqs text /proc/cmdline; then
log_warning_msg "Not starting Simple Desktop Display Manager ($NAME); found 'text' in kernel commandline."
elif [ "$HEED_DEFAULT_DISPLAY_MANAGER" = "true" ] \
&& [ -e $DEFAULT_DISPLAY_MANAGER_FILE ] \
&& [ "$(basename $(cat $DEFAULT_DISPLAY_MANAGER_FILE))" != \
"$(basename $DAEMON)" ]; then
log_action_msg "Not starting Simple Desktop Display Manager ($NAME); it is not the default display manager."
else
[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
# Wait for plymouth if running
#[ -x /bin/plymouth ] && /bin/plymouth quit
call do_start_cmd
case "$?" in
0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
esac
fi
}
case "$1" in
start);;
stop)tsplash="/live/bin/tsplash"
if [ -x "$tsplash" -a -d /live/config/tsplash ]; then
case $(runlevel) in
*0) openvt -s -c10 $tsplash shutdown
exit 0
;;
*6) openvt -s -c10 $tsplash reboot
exit 0
;;
esac
fi
if [ -d /live/linux ]; then
CHVT=1
elif grep -sq -w nosplash /proc/cmdline; then
CHVT=1
elif grep -sq -w splash /proc/cmdline; then
CHVT=8
else
CHVT=7
fi
case $(runlevel) in
*0) chvt $CHVT
openvt -f -s -c $CHVT -- echo "Shutting down system..."
exit 0
;;
*6) chvt $CHVT
openvt -f -s -c $CHVT -- echo "Restarting system..."
exit 0
;;
esac
;;
restart) ;;
esac
:
Re: actions disabled on sddm!
Posted: Tue Jul 30, 2024 2:46 pm
by rhinomick
Make systemd the default with "MX Boot Options" (at least till it's solved)
That is what i have done for now...
Another thing i see is that /etc/sddm.conf is empty
All the options are available for me with an installed MX-23.3 KDE booted to sys-v.
Maybe is that i had XFCE installed and on top of that installed KDE...
Removed XFCE but lightdm is still installed!!!
or install lightdm (it worked fine for another KDE user in another thread, so: "proven to work").
How can i switch from sddm to lightdm?
Re: actions disabled on sddm!
Posted: Tue Jul 30, 2024 2:55 pm
by Charlie Brown
rhinomick wrote: ↑Tue Jul 30, 2024 2:46 pm... How can i switch from sddm to lightdm?
Re: actions disabled on sddm!(solved)!
Posted: Tue Jul 30, 2024 3:26 pm
by rhinomick
sudo dpkg-reconfigure lightdm
Thank you all for your help people!!! Lightdm saved the day...
now on sysvinit again!!!
Re: actions disabled on sddm!
Posted: Tue Jul 30, 2024 3:28 pm
by Charlie Brown
Glad to hear that and thank you for the feedback :)