Hello,
Recently, I updated my machine/laptop
Operating system: openSUSE Tumbleweed
Kernel-release: 5.6.2-1-default
Desktop Environment: xfce4
There were about 1003 packages that were to updated including the packages and
dependencies of Xorg.
After the update completed and restart happened, as expected I came to the
login terminal and I entered startx as the command to start my desktop
environment.
The command failed and displayed an error on the screen.
1. When I first read the error, I saw that it was not able to locate the
serverauth file
2. Then I continued reading the error and then I read: xf86OpenConsole: Cannot
open virtual console 1 (Permission denied)
3. Further in continuation I read and the error at the end stated:
xinit failed. /usr/bin/Xorg is not setuid, maybe that's the reason?
If no either use a dispaly manager (strongly recommended) or adjust
/etc/permissions.local
I checked what is there inside the /etc/permissions.local file and found this
line:
/usr/bin/Xorg root:root 4711
(user:group) (permission)
I updated the file and provided my user and group ID of my user and kept the
permission same.
Changing the user and group in the /etc/permissions.local file worked and
startx command executed successfully.
Before reading the error:
I wanted to see if source .xinitrc works. And it did work.
Content of .xinitrc file:
exec startxfce4
Does anyone knows why source .xinitrc worked and the startx command failed?
And Is there any other this issue should have been fixed ?
thanks
Ragini