https://bugzilla.xfce.org/show_bug.cgi?id=11964

            Bug ID: 11964
           Summary: Use exec to launch xfce4-session from xinitrc
    Classification: Xfce
           Product: Xfce4-session
           Version: 4.12.0
          Hardware: Other
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Medium
         Component: General
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]
                CC: [email protected], [email protected]

Created attachment 6303
  --> https://bugzilla.xfce.org/attachment.cgi?id=6303&action=edit
Possible fix

Xfce's xinitrc launches xfce4-session as a simple command. This means that the
shell process executing xinitrc will stay running and wait for xfce4-session to
complete, even though it has nothing more to do.

"exec xfce4-session" can be used instead to replace the shell process instead
of creating a new one, thus saving memory.

Side note: the xinitrc script might benefit from "set -e" in the beginning
(will not ignore errors).

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to