View Single Post
  #6   (View Single Post)  
Old 21st December 2022
Head_on_a_Stick's Avatar
Head_on_a_Stick Head_on_a_Stick is offline
Real Name: Matthew
Bitchy Nerd Elitist
 
Join Date: Dec 2015
Location: London
Posts: 465
Default

Quote:
Originally Posted by sacerdos_daemonis View Post
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.

Last edited by Head_on_a_Stick; 21st December 2022 at 02:53 PM.
Reply With Quote