[mythtv-users] Disappearing xorg.conf

John Adams mythtv at onevista.com
Tue Jan 20 09:27:59 UTC 2015


On Tue, 20 Jan 2015 21:54:49 +1300
Stephen Worthington <stephen_agent at jsw.gen.nz> wrote:

> On Mon, 19 Jan 2015 13:20:06 -0800, you wrote:
> 
> >I have a frontend (mythbuntu 14.04).  Most of the time, the FE is 
> >powered off.  When I boot it up, sometimes the /etc/X11/xorg.conf
> >file disappears and I end up with the super tiny font problem.  Each
> >time this happens, I restore from my backup copy and reboot and all
> >is well again, until the next time it happens.  I even tried making
> >the file read only, but no difference.
> >Jay
> > 
> You could try clearing all the write permissions on the xorg.conf
> file.  Try:
> 
>   chmod a-w xorg.conf
> 
> If you need to change it after that, you would need to give yourself
> write permission again.  And if the thing that is changing it has root
> access, this will not help.

You can make the file immutable with chattr +i  /etc/X11/xorg.conf
Even root won't be able to remove it without first removing the
immutable bit.

-- 
John Adams (mythtv at onevista.com)


More information about the mythtv-users mailing list