xwindows for non-root users fails
I installed slink on a sparc 5m (an old one), from the march 1st disks. I chose the 2.2.1 kernel.
Everything installed well, and I can run xwindows as root by typeing 'startx' as usual.
When I attempt to run 'startx' as a non-root user, it fails. I am not sure why.
I have checked the file permissions on everything, and I even changed the
line in /etc/X11/Xserver from 'Console' to 'Anybody' but to no avail.
The following excerpt from strace seemed strange:
[pid 1544] execve("/bin/X", ["X", ":0", "-auth", "/home/tinuviel/Majors/mummert/.X"...], [/* 22 vars */]) = -1 ENOENT (No such file or directory)
[pid 1544] execve("/usr/sbin/X", ["X", ":0", "-auth", "/home/tinuviel/Majors/mummert/.X"...], [/* 22 vars */]) = -1 ENOENT (No such file or directory)
[pid 1544] execve("/sbin/X", ["X", ":0", "-auth", "/home/tinuviel/Majors/mummert/.X"...], [/* 22 vars */]) = -1 ENOENT (No such file or directory)
[pid 1544] execve("/usr/games/X", ["X", ":0", "-auth", "/home/tinuviel/Majors/mummert/.X"...], [/* 22 vars */]) = -1 ENOENT (No such file or directory)
[pid 1544] execve("/usr/X11R6/bin/X", ["X", ":0", "-auth", "/home/tinuviel/Majors/mummert/.X"...], [/* 22 vars */]) = -1 EPERM (Operation not permitted)
[pid 1544] access("X", R_OK <unfinished ...>
[pid 1539] write(2, "\n", 1 <unfinished ...>
[pid 1544] <... access resumed> ) = -1 ENOENT (No such file or directory)
[pid 1544] write(2, "xinit: ", 8xinit: ) = 8
[pid 1544] write(2, "No such file or directory (errno"..., 38No such file or directory (errno 2): ) = 38
[pid 1544] write(2, "no server \"X\" in PATH\n", 22no server "X" in PATH) = 22
Here, the process is searching my path for 'X'. It finds it in /usr/X11R6/bin, but I get that EPERM error. Why?
If anyone knows of a way for me to get this working, please let me know. As I said, it works for root
just fine.
Carl
Reply to: