Update kills XFCE

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
gapan
Salix Wizard
Posts: 6292
Joined: 6. Jun 2009, 17:40

Re: Update kills XFCE

Post by gapan »

Are you sharing your /home between different distributions?

Certain files in your home need to have the right ownership/permissions. If they don't that would be a good reason for your issues. Your user might not actually be the same user between different distributions (not actually the same UID).
Image
Image
pjwagner
Posts: 9
Joined: 30. Oct 2024, 18:46

Re: Update kills XFCE

Post by pjwagner »

Not sharing between distributions, there is only one Salix on this machine.

But I have my umask set to 0077, could that be an issue? It's just that I have it still set to 0077, and after upgrading I switched to my old home, where some stuff (not all) was created with umask 0077, and all is running well now. So the problem somehow started while gslapt was running, but that works sudoed, so it should not care about my umask, or am I missing something?
User avatar
gapan
Salix Wizard
Posts: 6292
Joined: 6. Jun 2009, 17:40

Re: Update kills XFCE

Post by gapan »

I don't think that the umask should be any problem, but what does
pjwagner wrote: 2. Nov 2024, 17:25 after upgrading I switched to my old home
mean exactly? What is your "old home"?

When you create a new user in salix (including the installer), a new home is created for them and certain files that are required for launching the desktop environment are placed there. If your home doesn't have them, launching xfce will most probably fail.
Image
Image
pjwagner
Posts: 9
Joined: 30. Oct 2024, 18:46

Re: Update kills XFCE

Post by pjwagner »

I installed Salix 15 for the first time a few months ago, and have been using it since. Back then I created an extra partition for /home. This I called my 'old' home. After the upgrade crashed Xfce and I re-installed Salix, I let the installer mount my old home partition instead of creating a new one. When I did this, Xfce crashed again during the upgrade. When I let the installer create a new home, run the upgrade, and then mount my old home, Xfce works.
User avatar
gapan
Salix Wizard
Posts: 6292
Joined: 6. Jun 2009, 17:40

Re: Update kills XFCE

Post by gapan »

Does the user in the old home have the same UID as the user in your new installation?
Image
Image
pjwagner
Posts: 9
Joined: 30. Oct 2024, 18:46

Re: Update kills XFCE

Post by pjwagner »

Yes.
User avatar
gapan
Salix Wizard
Posts: 6292
Joined: 6. Jun 2009, 17:40

Re: Update kills XFCE

Post by gapan »

Then something else is wrong with your old home. I'm not sure what, it could even be a hardware problem and your hard drive (SSD?) has failed where the files on your old home are stored.

I would start by comparing the two homes and see if there is anything missing, with wrong permissions or ownerships and then the actual file contents. For xfce, the hidden files in your home should matter, everything in ~/.config/xfce4 and maybe also some files in ~/.local. You could use something like meld for comparing directories.
Image
Image
Post Reply