You are not logged in.

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

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

[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: 11,783
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: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

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

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

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: 49,946

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
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
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"


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

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

seth
Member
Registered: 2012-09-03
Posts: 49,946

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: 27

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