User .xinitrc not run with GDM

Ambrose LI at
Wed Nov 22 21:32:15 CET 2017

2017-11-22 14:42 GMT-05:00 Vinzenz Vietzke <vinz at>:
> Just a quick guess, as I found some sources saying LightDM, GDM etc.
> will not run /etc/X11/xinit/xinitrc or ~/.xinitrc:
> Can any of you (or both?) try using ~/.profile instead of ~/.xinitrc?
> Despite that it might be a good idea to place scripts running at login
> into somewhere (~/bin) and to launch it via *.desktop file in
> ~/.config/autostart.

I actually did not create a .desktop file. A .sh script will run (as
if it were .xinitrc), at least in lightdm.

Ambrose Li // /
If you saw this on CE-L: You do not need my permission to quote
me, only proper attribution. Always cite your sources, even if
you have to anonymize and/or cite it as "personal communication".

More information about the Xfce mailing list