! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Use exec to launch xfce4-session from xinitrc
Status:
RESOLVED: FIXED
Product:
Xfce4-session
Component:
General

Comments

Description Andrey Vihrov 2015-06-05 17:42:49 CEST
Created attachment 6303 
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).
Comment 1 Marcos Mello 2017-10-19 17:04:06 CEST
Ping?
Comment 2 Marcos Mello 2018-01-06 10:09:44 CET
Can anyone review this simple patch? I have patched my xinitrc months ago and it is working fine.
Comment 3 Marcos Mello 2018-05-01 13:55:30 CEST
Ping again?
Comment 4 Git Bot editbugs 2019-05-08 19:06:45 CEST
Andrey Vihrov referenced this bugreport in commit 5befa329c66dcf77e11a76191a43ab3630fa7d34

Use exec to launch xfce4-session from xinitrc

https://git.xfce.org/xfce/xfce4-session/commit?id=5befa329c66dcf77e11a76191a43ab3630fa7d34
Comment 5 Andrey Vihrov 2019-05-10 22:26:18 CEST
Thanks!

Bug #11964

Reported by:
Andrey Vihrov
Reported on: 2015-06-05
Last modified on: 2019-05-10

People

Assignee:
Skunnyk
CC List:
5 users

Version

Version:
4.12.0

Attachments

Possible fix (671 bytes, patch)
2015-06-05 17:42 CEST , Andrey Vihrov
no flags

Additional information