[X2Go-User] x2go server on debian: readonly partition

Hanno Foest hurga-x2go at tigress.com
Mon May 2 03:14:50 CEST 2022


Well, x2gocleansessions does indeed create some files on /tmp every two
seconds and deletes them again, but creating and deleting files on /tmp
is hardly something x2go specific, and it should not cause file system
errors either.

Taking a guess, I would say your root partition is on some kind of flash
memory, which doesn't like the constant writes, and eventually bugs out.
Console messages should have something, or you could use remote syslog
if console is not accessible for some reason.

To mitigate the issue, I would suggest using tmpfs for /tmp - RAM does
not wear out. But your root media seems to already have issues, which
will cause problems sooner or later in a different context.

Hanno

On Mon, May 02, 2022 at 04:34:44AM +0530, Vikas Rawal wrote:
> > Did you check if /tmp/ is really read-only when that happens? If it is,
> > you need to find out why. I don't know how x2go could make it ro, so
> > there's likey a different reason for it.
> 
> /tmp is on root, and does become read-only. So does everything else on
> the root partition. And thus nothing works.
> 
> I somehow suspect that the files x2go creates on /tmp might be causing
> the errors which make the root remounted as ro. I have not had this
> problem before I started playing with x2go. I am not sure how to debug
> this, but I will try when this happens next time and report.
> 
> Thanks


More information about the x2go-user mailing list