Thu, 31 Jan 2019 17:33:01 +0100 Freddy Fisker <f...@freddyfisker.dk> > Hi > > I am using the Xfce desktop, and the only thing I am doing is making the > > file with: > > $ echo xfce4-session > ~/.xinitrc >
Hi Freddy, Alright, I was running startx pretty happily with an .xinitrc to set up programs started, terminal positions & everything, then along comes the notorious fix and now, it's renamed to .xsession, and xenodm starts it. But now I have to log twice to the console and then again log in to the X display manager, which I totally don't like having to do, a nuisance. The console is used ironically to setup & add ssh agent keys, before X. So that the agent could persist and be used regardless of the X server. With the help of the tips from this thread, now it's back to manual log at the console and running the x alias to start the session. All good. https://man.openbsd.org/xenodm#RESOURCES DisplayManager.*.autoLogin DisplayManager.*.terminateServer The only issue is, these sets of complexities called xenodm, needlessly just because people want to log in a Windows graphical display manager. I just have no use for this login manager stuff, and never had any use, of desktop environments complex dysfunctional distro style all mixed up graphical 'experience'. Plain cwm, simplest X setup and it just works. It would be nicer if we could run X with a session file WITHOUT xenodm. Not sure your suggested xinit is not a fall through of the setuid bug.. 2018-10-26 setuid bit removed from /usr/X11R6/bin/Xorg The Xorg binary is no longer installed setuid. So startx(1) can no longer be used by non-root users. The xenodm(1) display manager has to be used. Kind regards, Anton Lazarov > > And then starting the Xfce desktop with the command: > > $ xinit > > > Best regards > Freddy Fisker > > > On Thursday, 31 January 2019 16:55:20 CET, li...@wrant.com wrote: > > Thu, 31 Jan 2019 12:23:08 +0100 Freddy Fisker <f...@freddyfisker.dk> > >> Hi > >> > >> I have never used the startx command. I use the xinit command > >> together with > >> the ~/.xinitrc file. > > > > Hi Freddy, > > > > Are you referring to a recent OpenBSD, or some other customised variant? > > If that's a bypass of the recent security fixes don't bother responding. > > I'm only interested how it solves or improves on-demand X session model. > > > > Kind regards, > > Anton Lazarov > > > >> Best regards > >> Freddy Fisker > >> > >> > >> On Thursday, 31 January 2019 11:57:12 CET, John Ankarström wrote: ... > > > > > > >