Not really. The whole error the OP is describing is usually like this:
Code:
Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.
Where the error is from XServer, where X session 0 has a temp file open and the file is locked, therefore it thinks that graphics session either active (running), being used by another user, other than current... or that file may be left held in a locked state by an error. This error also occurs when a user tries to start X as root, or change an X related setting as root (another user), when that X session is still active. Therefore being denied, because. of permissions.
If they installed something and it gets this error, then whatever they were trying to do, previous to this error, tried to do something with X, and was deinied. So this error can come up if a UserID from a program, doesn't have permissions... so:
Code:
OffendingID=(<To be determined>)
[ -z "$DISPLAY" ] && startx && {sleep 5; DISPLAY=0:0 setsid $OffendingID; }
Where "OffendingID" would have to be researched and found in the sys log... At logiin (the graphical login) that OffendingID might be the supplied UserName... So the OP, in this instance should replace that first command with this (substituting "userName" with his own UserID:
Code:
[ -z "$DISPLAY" ] && startx && {sleep 5; DISPLAY=0:0 setsid userName }
When a OP tells me they installed something, and then when they boot, they got an X permissions denial message... When they install something, it is using root permission for that... Sometimes the /home/userName/.Xauthority file get corrupted or most usually, the permissions of that get changed to root instead of the user. Diagnose with
Code:
ls -l /home/userName/.Xauthority
and insure it says userName (your own) root... and not root root... If it says "... root root", I'll explain another way to correct that...
Question to the OP is, why 10.04 LTS, which is now not supported and past it's End Of Life (EOL)? Why not something supported?
Bookmarks