Quote:
Originally Posted by sacerdos_daemonis
I do not use a DM. I use startx
|
The OpenBSD devs have provided xenodm as a secure way to run X, you really should use it.
If you insist on using
startx
even though it makes your system less secure then environmental variables can be exported from either
~/.xinitrc or
~/.profile. The former would only apply to X, the latter would apply to both the console and X.
But to repeat: you should be using xenodm with the variables exported from
~/.xsession.
EDIT: I've just tested and any variables exported from
~/.profile are carried through to X, even under xenodm.