Bug 22746
Summary: | X command does not work properly | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Sebastiaan <bas> |
Component: | XFree86 | Assignee: | Mike A. Harris <mharris> |
Status: | CLOSED NOTABUG | QA Contact: | David Lawrence <dkl> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.0 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-01-03 13:45:15 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Sebastiaan
2000-12-22 15:59:15 UTC
This is behaving as normal. X *just* starts the X server. Why do you say that normal users can't use startx - that's not the case. Because this is the error i get when I try to run startx as a normal user: Fatal server error: xf86OpenConsole: Server must be running with root permissions You should be using Xwrapper to start the server or xdm. We strongly advise against making the server SUID root! It looks like your symlink in /usr/X11R6/bin is wrong. What does /usr/X11R6/bin/X point to? [/usr/x11r6/bin/]
lrwxrwxrwx 1 root root 8 Dec 22 16:15 X -> Xwrapper
-rwxr-xr-x 1 root root 3147364 Dec 22 15:37 XF86_SVGA
-rwx--x--x 1 root root 1538632 Aug 30 21:55 XFree86
-rwxr-xr-x 1 root root 2001 Aug 30 21:54 startx
[/etc/X11/]
lrwxrwxrwx 1 root root 29 Dec 22 15:38 X -
> ../../usr/X11R6/bin/XF86_SVGA
-rw-r--r-- 1 root root 14031 Dec 22 15:39 XF86Config
Odd. Is /usr/X11R6/bin/Xwrapper setuid root, and do you have an /etc/pam.d/xserver file? I did a standard GNOME Workstation install. I don't know what setuid is, here is some more information: [/etc/pam.d/xserver] #%PAM-1.0 auth sufficient /lib/security/pam_rootok.so auth required /lib/security/pam_console.so account required /lib/security/pam_permit.so [/usr/X11R6/bin/] -rws--x--x 1 root root 6024 Aug 30 21:55 Xwrapper Please cut and paste the exact output of the "startx" command when ran as a normal user. Fatal server error: xf86OpenConsole: Server must be running with root permissions You should be using Xwrapper to start the server or xdm. We strongly advise against making the server SUID root! It seems as though you have improper permissions on some files in your system. I cannot reproduce this locally. Make sure the permissions on your device files, are correct, and also use "rpm -Va" to verify the permissions, etc on the rest of your system. In particular make sure the setuid bit is set on Xwrapper like is suggested above. |