GUFW Segmentation fault



it’s few release ago that sddm introduce /etc/sddm.conf.d If I’m not wrong, until the KCM follow it what’s the best? :blush:

in release 0.16.0.
but it seems with the github that the last one parsed is sddm.conf so it should be possible to manjaro devs to use sddm.conf.d

Configuration is loaded in the following order:

All files in /usr/lib/sddm/sddm.conf.d in alphabetical order
All files in /etc/sddm.conf.d in alphabetical order
Finally from /etc/sddm.conf for compatibility


I have no /etc/sddm.conf.d in any of my testing and unstable installs
In /usr/lib/sddm/sddm.conf.d the sddm.conf is the same as the /etc/sddm.conf.pacnew i found only in one of two testing installs i have …
Edit: and is different in the other install, right at the

# Default $PATH for logged in users

that seems to be correct …


Hey, i saw my name there… blush!

I am right now part-way into the DL of this update on Tower, & it’s night time here already, so i shall try this solution tomorrow.

However right now i just wanna exclaim… you people are amazingly excellent. How wonderful it was for me to watch the energy & enthusiasm you all exhibited investigating & troubleshooting this problem a couple of us discovered earlier. Great community… gawd i’m pleased to have found Manjaro :slight_smile:


for a quick fix

[ -f /etc/sddm.conf ] && sudo sed -i -re 's/^(DefaultPath=\/bin.*)/# \1/i' /etc/sddm.conf

Gufw / ufw startet in KDE nicht mehr
Timeshift doesn't open

From the source:

Meaning, /etc/sddm.conf to rule them all! :wink:

Currently Archlinux PKGBUILD does:

# Move sddm.conf to /usr/lib
  mkdir "$pkgdir"/usr/lib/sddm/sddm.conf.d
  mv "$pkgdir"/{etc/sddm.conf,usr/lib/sddm/sddm.conf.d}

# Don't set PATH in sddm.conf
  sed -r 's|DefaultPath=.*|DefaultPath=/usr/local/sbin:/usr/local/bin:/usr/bin|g' -i "$pkgdir"/usr/lib/sddm/sddm.conf.d/sddm.conf
# Unset InputMethod
  sed -e "/^InputMethod/s/qtvirtualkeyboard//" -i "$pkgdir"/usr/lib/sddm/sddm.conf.d/sddm.conf

The resulting default in /usr/lib/sddm/sddm.conf.d/sddm.conf is

# Whether sddm should automatically log back into sessions when they exit

# Name of session file for autologin session (if empty try last logged in)

# Username for autologin session

# Halt command
HaltCommand=/usr/bin/systemctl poweroff

# Input method module

# Initial NumLock state. Can be on, off or none.
# If property is set to none, numlock won't be changed
# NOTE: Currently ignored if autologin is enabled.

# Reboot command
RebootCommand=/usr/bin/systemctl reboot

# Current theme name

# Cursor theme used in the greeter

# Number of users to use as threshold
# above which avatars are disabled
# unless explicitly enabled with EnableAvatars

# Enable display of custom user avatars

# Global directory for user avatars
# The files should be named <username>.face.icon

# Theme directory path

# Default $PATH for logged in users

# Comma-separated list of shells.
# Users with these shells as their default won't be listed

# Comma-separated list of users that should not be listed

# Maximum user id for displayed users

# Minimum user id for displayed users

# Remember the session of the last successfully logged in user

# Remember the last successfully logged in user

# When logging in as the same user twice, restore the original session, rather than create a new one

# Enable Qt's automatic high-DPI scaling

# Path to a script to execute when starting the desktop session

# Directory containing available Wayland sessions

# Path to the user session log file

# Path to a script to execute when starting the display server

# Path to a script to execute when stopping the display server

# Enable Qt's automatic high-DPI scaling

# The lowest virtual terminal number that will be used.

# Arguments passed to the X server invocation
ServerArguments=-nolisten tcp

# Path to X server binary

# Path to a script to execute when starting the desktop session

# Directory containing available X sessions

# Path to the user session log file

# Path to the Xauthority file

# Path to xauth binary

# Path to Xephyr binary

In any case our current override of DefaultPath doesn’t seem to make any sense. Let’s remove it as in @scachemaille PR. Thank you.


I just finished my update via Tty my install went well although I was a little uneasy with all the negative feed back from this update. I checked as soon as it was complete and GUFW started fine for me. I checked my path and it was already as suggested in the solution. So, lucky me no fiddling required. I also had a pleasant surprise as soon as it was done. I’d been fighting with my mouse for a while now and thinking it was just getting old. As soon as the install was done I realized wow my mouse is like brand new again. Somebody got that fix right anyways. Whew glad that ones over with. Now the pacnew files to deal with.


A bit late, I know but I was very busy for work even though it is +30 degrees here.
I just wanted to tell that the solution also works for me.

There is just one question though:
I’ve got a thousands plus items in the /bin folder which now is no longer part of $PATH. Could it happen now that something else does not work cause it relies on /bin being in $PATH? What if /bin is at the end of the path variable. Obviously Gufw doesn’t need it, it uses one of the other directories, so it’s not in the way, is it?
A program which should need it can still find it eventhough it is at the end (or somewhere in the middle).
How about that?


all is pointing to /usr/bin and it should not be a problem… you would have seen before,
as the sddm path was “active” only after the update of filesystem as they changed the way it initialize PATH variable… before it was simply redefined and the sddm definition was just overridden. then there was already no /bin in your PATH


/bin and /usr/bin/ are the same directories

ls -l /bin
lrwxrwxrwx 1 root root 7 27.04.2018 13:51 /bin -> usr/bin/

just polkit want a absolute path (/usr/bin/timeshift) and want /usr/bin not /bin (view actions in /usr/share/polkit-1/actions/*)

grep "exec.path.*bin" /usr/share/polkit-1/actions/*.policy

sorry tbg : missclick, was for DeMus


I’ll wait till “the next update…or something” :wink: .

It’ll come for sure. Patience is a virtue :slight_smile:


I’m sorry, but as usual i don’t understand exactly what to do.

My apparent current path:

[kdemeoz@Manjaro_KDE_VM ~]$ echo $PATH

My edited /etc/sddm.conf [excerpt] – i hope that commenting out this line [& saving] still works in this file to disable that line?:


My path seems not to have changed [but i have not logged out/in, or rebooted, since that edit/save above… is that wrong?]:

[kdemeoz@Manjaro_KDE_VM ~]$ echo $PATH


I think you need to reboot… I’m not sure a login logout is enough. as I don’t know when sddm read the config file.


You can do also this in /etc/sddm.conf

# Default $PATH for logged in users

Log out / log back suffice to take effect


it’s not needed as it’s already defined like this in sddm package config (/usr/share/…)


That’s true too :slight_smile:


it works… but I suggest you to delete it… to don’t be tempted later (few months) to un-comment it.


Hey, many thanks [again, teehee] @scachemaille & @bogdancovaciu; simply logging out/in after that edit did the trick nicely… ie, now both Timeshift & GUFW GUIs correctly launch once more from the Application Menu.

This experiment was in my Testing KDE VM, so now i can deploy it in my real Stable Manjaros [Lappy & Tower].

Nice one!


This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.