Hello,
you probably noticed the newest critical bug in FF and Thunderbird. Today the newest FF Version went live in quarterly and I did the update+upgrade+reboot thing. After reboot, I wanted to login via root but it failed. It gave me "/var/run/xdg/root have wrong mode" and kicked me back to login prompt. wtf?
Fortunately ssh login worked and I was able to check what was going on. For some reason ther was an /var/run/xdg/root dir with 0755. On another box it has 0700. I changed it to 0700 via ssh and were able to login. This raises several questions on it's own. Anway, for security reasons, I usually start x by doing "startx & logout". Something must have changed here, because /var/run/xdg/root now gets deleted after logout (which isn't a bad thing), but some programs I start in X rely on that dir and refuse to work now.
My dirty hotfix would be to change XDG_RUNTIME_DIR but I wonder if there is a correct way to fix my problem.
Of course using startx without logout would work as well, but that is not an option and shall be forbidden at all. I wonder how many users use startx and lock their screen, not being aware of that you can simply do the "CTRL+ALT+F1 STRG-Z bg hf with a root shell"-trick.
you probably noticed the newest critical bug in FF and Thunderbird. Today the newest FF Version went live in quarterly and I did the update+upgrade+reboot thing. After reboot, I wanted to login via root but it failed. It gave me "/var/run/xdg/root have wrong mode" and kicked me back to login prompt. wtf?
Fortunately ssh login worked and I was able to check what was going on. For some reason ther was an /var/run/xdg/root dir with 0755. On another box it has 0700. I changed it to 0700 via ssh and were able to login. This raises several questions on it's own. Anway, for security reasons, I usually start x by doing "startx & logout". Something must have changed here, because /var/run/xdg/root now gets deleted after logout (which isn't a bad thing), but some programs I start in X rely on that dir and refuse to work now.
My dirty hotfix would be to change XDG_RUNTIME_DIR but I wonder if there is a correct way to fix my problem.
Of course using startx without logout would work as well, but that is not an option and shall be forbidden at all. I wonder how many users use startx and lock their screen, not being aware of that you can simply do the "CTRL+ALT+F1 STRG-Z bg hf with a root shell"-trick.