AFAIK the default behavior when starting X is to read .xsessionrc and then start the session. That ALWAYS means that anything in the session environment (as is this case) that conflicts with .xsessionrc is going to take precedence. This is true in Debian as much as it is in Ubuntu and I'm sure much more beyond that. tl;dr this is expected behavior.
Go into LXQt Session Settings in the Environment pane and change the variable there. Or remove it and set it in .xsessionrc. ** Changed in: lubuntu-default-settings (Ubuntu) Status: New => Won't Fix ** Changed in: lubuntu-default-settings (Ubuntu) Status: Won't Fix => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1882352 Title: wrong order of session scripts To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lubuntu-default-settings/+bug/1882352/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs