DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

Reply
 
Thread Tools Display Modes
Old 12th November 2018
blackhole's Avatar
blackhole blackhole is offline
Spam Deminer
 
Join Date: Mar 2014
Posts: 320
Default

Quote:
Originally Posted by jggimi View Post
  • The patch to 6.4-release corrects checks for privilege escalation activity, it does not eliminate it.
  • -current eliminates setuid, and requires xenodm(1).
Thanks and yes and I remember reading that it applied to -current, apologies for adding to the confusion.
Reply With Quote
Old 12th November 2018
PapaParrot's Avatar
PapaParrot PapaParrot is offline
parrot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 472
Default

Quote:
Originally Posted by jggimi View Post
The security improvements made to -current go beyond what may deployed as a patch to 6.4-release. However, using xenodm() is recommended, as it will separate privileges that startx() does not.
Ok, I see ( I think), any way, just out of curiosity, I rebooted just now, and instead of using 'startx', I used 'xenodm', the prompt told me I must be root to run xenodm, so I switched to root, it (xenodm) starts fine, and I got a new log in window, where I logged in as "garry", the normal user, after that everything appears the same as if and when I used startx,...
So any way, recommended , is fine as well, not the same as required,... maybe I will take a look at -current, put it on a VM later to day, it would be interesting to explore some of the improvements. Thanks
__________________
My best friends are parrots
Reply With Quote
Old 12th November 2018
hitest's Avatar
hitest hitest is offline
Real Name: George Nielsen
VPN Cryptographer
 
Join Date: Sep 2008
Location: B.C., Canada
Posts: 374
Default

Quote:
Originally Posted by jggimi View Post
However, using xenodm() is recommended, as it will separate privileges that startx() does not.
I was annoyed for a few days when startx no longer functioned for me. I am now accustomed to xenodm and like the security features afforded to me.
__________________
hitest
Reply With Quote
Old 12th November 2018
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

GarryR:
  1. xenodm(1) is a display manager. It is designed to be started as a daemon, not executed from your shell.
  2. xenodm() looks for and runs the user's .xsession script rather than the user's .xinitrc script, used by startx(1) or xinit(1).
To enable the daemon, use # rcctl enable xenodm. To start the daemon without rebooting, use # rcctl start xenodm.

Last edited by jggimi; 12th November 2018 at 05:28 PM. Reason: correct man page section: xenodm(8) -> xenodm(1)
Reply With Quote
Old 12th November 2018
PapaParrot's Avatar
PapaParrot PapaParrot is offline
parrot
 
Join Date: Jul 2015
Location: Durango, Mx.
Posts: 472
Default

Ok, I did that and now in I boot, it goes straight to xenodem, and that is where I log in now. My "kid" is going to like this, (not really a kid any more, and definitely another topic, for off topic.
Thanks
__________________
My best friends are parrots
Reply With Quote
Old 12th November 2018
shep shep is offline
Real Name: Scott
Arp Constable
 
Join Date: May 2008
Location: Dry and Dusty
Posts: 1,507
Default

Mate is relatively new to OpenBSD and I was unable to find a pkg-readme (Available for KDE, Gnome and XFCE4). Still, it likely requires dbus, consolekit2 and polkit. I found that openbox-session would not start without consolekit2 and polkit. If you are movtivated, I would look the /usr/local/bin mate start command. A -session command needs to be prefaced with ck-launch-session.

http://cvsweb.openbsd.org/cgi-bin/cv...ype=text/plain

and

https://wiki.gentoo.org/wiki/MATE#Manual_start
This Gentoo howto launches an individual dbus and should not be needed if you have a system wide dbus running.

Last edited by shep; 12th November 2018 at 08:00 PM.
Reply With Quote
Old 12th November 2018
ibara ibara is offline
OpenBSD language porter
 
Join Date: Jan 2014
Posts: 783
Default

Someone made a MATE meta port a few months ago but it was not committed. It might be worth trying that out and emailing the list if all still works well:
https://marc.info/?l=openbsd-ports&m...8924823521&w=2
Reply With Quote
Old 13th November 2018
johnR johnR is offline
Fdisk Soldier
 
Join Date: Nov 2017
Posts: 57
Default

After 20 years of using startx on Linux and (more recently) OpenBSD, I made the switch to xenodm when I installed 6.4 a couple of days ago. Despite my initial reservations it was painless. I copied my existing .xinitrc to .xsession and added a xenodm_flags="" line to /etc/rc.conf.local. I use cwm, which is started by a line containing cwm in .xsession (previously .xinitrc).

I was pleased to find that Ctrl-Alt-F1 to Ctrl-Alt-F4 still switch to a text console, and Ctrl-Alt-F5 switches back to X. I used to shut down by exiting cwm and X with Ctrl-Alt-Shift-Q and typing doas halt -p on the text console. Now Ctrl-Alt-Shift-Q just brings up a new xenodm login; however doas halt -p works fine in an xterm.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hosting a Windows VM on OpenBSD girarde OpenBSD Packages and Ports 2 27th December 2015 12:42 AM
User Store, Auth, VPN and Multi-user apps/software montie OpenBSD Packages and Ports 9 9th January 2015 09:51 PM
New OpenBSD installation on HDD with Windows cableguy OpenBSD Installation and Upgrading 8 3rd April 2014 10:57 PM
WOL windows 7 from openbsd sputnik General software and network 0 9th April 2013 08:18 AM
New OpenBSD User codeFreak OpenBSD General 3 18th February 2011 02:43 AM


All times are GMT. The time now is 07:55 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick