Hello, In the Message; Subject : Re: startkde: Could not start kdeinit5. Check your installation. Message-ID : <5a5fc906-5b79-02ae-7242-44b12c0105f1@suddenlinkmail.com> Date & Time: Tue, 25 Oct 2022 22:42:07 -0500 [DCR] == "David C. Rankin" <drankinatty@suddenlinkmail.com> has written: DCR> On 10/25/22 21:51, Robert Webb wrote: MN> > Would there be any disadvantage to putting the export into .profile, MN> > rather than into .bashrc ? DCR> No. .bash_profile is invoked for interactive login shells (when DCR> you type your username/pass to login either locally or remotely DCR> over ssh, etc..) while .bashrc is invoked for interactive DCR> non-login shells (konsole instances). Non-interactive, e.g. is DCR> when bash is invoked to run a script. DCR> You want DISPLAY set when you login, so it makes sense to go in DCR> profile, but openSUSE /etc/profile will source the system DCR> bash.bashrc and your $HOME/.bashrc as well. So exports in either DCR> profile or bashrc will work even though it's only needed on your DCR> actual login. Thanks to you, I am aware that I am using it with uncertain knowledge. I knew that .bashrc was executed every time I started the terminal, but I learned for the first time that I should not write environment variable settings in .bashrc. So I moved the environment variable settings to .bash_profile. The loading order of the system to .bash_profice --> .profile --> .bashrc I see... DCR> I still recall DISPLAY being set somewhere in the DCR> displaymanager, xdm or X11 setup, but picking around, I can't DCR> locate it on 15.4 at the moment there were changes to sysconfig DCR> and what you used displaymanager and windowmanager files for over DCR> the past couple of releases) DCR> So some up to date dev will have to fill in the blanks. I don't remember that the DISPLAY environment variable was set, but rather, I have had many experiences of difficulty in building because it was not set. Regards. --- ┏━━┓彡 Masaru Nomiya mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ "It should never be said that it is OK to ignore the theoretical as long as it becomes a tool." -- T. Mori (The original is in Japanese) --