Re: Are xdm configs overwritten on upgrade?

2013-12-17 Thread Laurence Rochfort
Thanks Ryan,

I could have sworn I tried a pkill in my xsession, but I'll definitely try 
again. 

I didn't know about sysmerge; I'll read the man page. 

 On 17 Dec 2013, at 00:19, Ryan Freeman r...@slipgate.org wrote:
 
 On Sat, Dec 14, 2013 at 01:32:04PM +, Laurence Rochfort wrote:
 Hello,
 
 I want to prevent xconsole starting with xdm. I see it is started in
 /etc/X11/xdm/Xsetup_0.
 
 Is there a user or system specific file for xdm conf files as there are for
 /etc/rc.conf? If not, and I modify Xsetup_0 will it be overwritten on OS
 upgrade?
 
 While I don't believe there is any .local version of Xsetup_0, I myself
 put pkill xconsole in my .xsession to rid myself of the xconsole once
 i login.  That way I see the xconsole on boot, then can transition
 to a root-tail after login.
 
 This doesn't prevent it from starting up with xdm of course, so if
 your problem is that you don't want it showing up on the login screen
 I can only think modifying Xsetup_0 and merging changes via sysmerge
 is the way to go.
 
 Cheers,
 
 -ryan
 
 
 Many thanks,
 Laurence



Re: Are xdm configs overwritten on upgrade?

2013-12-16 Thread Ryan Freeman
On Sat, Dec 14, 2013 at 01:32:04PM +, Laurence Rochfort wrote:
 Hello,
 
 I want to prevent xconsole starting with xdm. I see it is started in
 /etc/X11/xdm/Xsetup_0.
 
 Is there a user or system specific file for xdm conf files as there are for
 /etc/rc.conf? If not, and I modify Xsetup_0 will it be overwritten on OS
 upgrade?

While I don't believe there is any .local version of Xsetup_0, I myself
put pkill xconsole in my .xsession to rid myself of the xconsole once
i login.  That way I see the xconsole on boot, then can transition
to a root-tail after login.

This doesn't prevent it from starting up with xdm of course, so if
your problem is that you don't want it showing up on the login screen
I can only think modifying Xsetup_0 and merging changes via sysmerge
is the way to go.

Cheers,

-ryan

 
 Many thanks,
 Laurence



Re: Are xdm configs overwritten on upgrade?

2013-12-15 Thread Gilbert Sanford
Why not create a .xsession file in your home directory?
Refer to Section 11.5.3 at www.openbsd.org/faq/faq11.html
for more details.  The last paragraph should be most helpful.

Gilbert
Hello,

I want to prevent xconsole starting with xdm. I see it is started in
/etc/X11/xdm/Xsetup_0.

Is there a user or system specific file for xdm conf files as there are for
/etc/rc.conf? If not, and I modify Xsetup_0 will it be overwritten on OS
upgrade?

Many thanks,
Laurence



Are xdm configs overwritten on upgrade?

2013-12-14 Thread Laurence Rochfort
Hello,

I want to prevent xconsole starting with xdm. I see it is started in
/etc/X11/xdm/Xsetup_0.

Is there a user or system specific file for xdm conf files as there are for
/etc/rc.conf? If not, and I modify Xsetup_0 will it be overwritten on OS
upgrade?

Many thanks,
Laurence



Re: Are xdm configs overwritten on upgrade?

2013-12-14 Thread Nick Holland
On 12/14/13 08:31, Laurence Rochfort wrote:
 Hello,
 
 I want to prevent xconsole starting with xdm. I see it is started in
 /etc/X11/xdm/Xsetup_0.
 
 Is there a user or system specific file for xdm conf files as there are for
 /etc/rc.conf? If not, and I modify Xsetup_0 will it be overwritten on OS
 upgrade?

up to you. :)

The standard upgrade process automatically touches nothing in /etc.
Read the upgrade docs, they explicitly tell you etcXX.tgz and xetcXX.tgz
are not installed during the upgrade.

They handled by the sysmerge process...but they are handled like all
other /etc files -- you are given the choice of keeping the old,
installing the new, or merging for some combination of the two.

Nick.