Hi everyone,

I login to the system using SDDM, I have this statement at the beginning of my "/etc/profile.d/local.sh":
if [ ! -t 0 ]; then   # check for a terminal
       exit
fi

I don't want that SDDM read the whole "/etc/profile.d/local.sh" so I placed that "if [] then" at the beginning of the "…/local.sh" file. The issue is that with "exit", SDDM doesn't allow me to login, it quits at any attempt to login.

Is there any other command, instead of "exit", that I can place inside "if [] then" statement that stops/breaks reading the file, allowing me to login and then load the KDE desktop?

Thanks in advance, kind regards,
--
Franco Martelli

Reply via email to