You are not logged in.

#1 2017-03-20 19:10:46

ali-libre
Member
Registered: 2015-03-19
Posts: 18

[solved]xorg read-only FS

i want readonly system with xorg.
and no home-tmpfs .
what can i do to prevent xorg from abili?

Last edited by ali-libre (2017-03-21 01:38:31)

Offline

#2 2017-03-20 19:23:07

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 6,509
Website

Re: [solved]xorg read-only FS

what can i do to prevent xorg from abili?

What does this mean?

You could probably set something up using overlay filesystems, but unless you tell us more about what you are trying to accomplish, and what you have already tried and why it didn't work for you, we won't be able to help.

Please read How To Ask Questions The Smart Way.


Sakura:-
Mobo: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-03-20 21:44:27

ali-libre
Member
Registered: 2015-03-19
Posts: 18

Re: [solved]xorg read-only FS

for a system with hard power on/off i have one way:
read only FS
so.
as you may know xorg will access .Xauthority in user's home directory
if xorg find it read only don't start and say 'permission denied' or 'read only file system'.
it can be user's home directory be tmpfs
i tired home tmpfs but
but this will limit user's own const data
and user's data cannot be link.
can be a way to pervent xorg from autenticate?
or anything?

Offline

#4 2017-03-20 23:01:33

seth
Member
Registered: 2012-09-03
Posts: 1,630

Re: [solved]xorg read-only FS

"Xorg -auth /path/to/Xauthority"

I do not claim to understand the rest of your concerns, though: "limit user's own const data"??? "user's data cannot be link"????????

Offline

#5 2017-03-20 23:06:19

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 15,830
Website

Re: [solved]xorg read-only FS

There is a language barrier, but I think there are reasonable interpretations of those statements.  If ali-libre made the user's home directory a tmpfs then there could not be any persistent content in ~, like config files.  Also the home directory could not be a symlink to somewhere else as this would cause a similar problem of either having a read-only .Xauthority or *not* having read-only configurations files.

But the solution is as seth suggests: "Xorg -auth ..." perhaps "Xorg -auth /tmp/Xauthority"

Offline

#6 2017-03-20 23:23:15

seth
Member
Registered: 2012-09-03
Posts: 1,630

Re: [solved]xorg read-only FS

Poor mans AUFS:

for name in /home/user-static/{.??,}*;  do ln -s "`basename "$name"" .; done

;-)

But yes, you're probably right on his worries (I rather thought about quotas ...)

Offline

#7 2017-03-21 01:38:05

ali-libre
Member
Registered: 2015-03-19
Posts: 18

Re: [solved]xorg read-only FS

thank's everybody. a couple of thank's

Last edited by ali-libre (2017-03-21 01:40:53)

Offline

Board footer

Powered by FluxBB