You are not logged in.
Pages: 1
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
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
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
"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
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
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
thank's everybody. a couple of thank's
Last edited by ali-libre (2017-03-21 01:40:53)
Offline
Pages: 1