Bug 129527 - startx fails
Summary: startx fails
Status: RESOLVED INVALID
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Final
Hardware: i686 SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: Stefan Dirsch
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-19 20:43 UTC by Stephan Wefing
Modified: 2005-10-20 20:27 UTC (History)
0 users

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Wefing 2005-10-19 20:43:52 UTC
After updating from SuSE 9.2 professional to SuSE 10.0, the startx command fails:

xauth:  creating new authority file /home/wefing/.serverauth.7703
Fatal server error:
Cannot move old log file ("/var/log/Xorg.0.log" to "/var/log/Xorg.0.log.old"
Please consult the The X.Org Foundation support 
         at http://wiki.X.Org
 for help. 
giving up.
xinit:  Connection refused (errno 111):  unable to connect to X server
xinit:  No such process (errno 3):  unexpected signal 2.

Reason: The file permissions for /usr/X11/bin/Xorg after the update are 711. In
the SuSE 9.2 system, of which I have a copy, file permissions are 4711. Setting
file permissions to 4711 in SuSE 10.0 resolves the problem.
Comment 1 Stefan Dirsch 2005-10-19 23:47:51 UTC
Sounds like you're using the paranoid permissions setting:

/etc/permissions.paranoid:
/usr/X11R6/bin/Xorg                                     root:root         0711

Could you add the current settings of /etc/sysconfig/security? Thanks.
Comment 2 Stephan Wefing 2005-10-20 19:51:34 UTC
/etc/sysconfig/security contains
CHECK_PERMISSIONS="set"
PERMISSION_SECURITY="secure local"

/etc/permissions.secure (SuSE 10.0) contains
/usr/X11R6/bin/Xorg                                     root:root         0711

/etc/permissions.secure (SuSE 9.2) contains
/usr/X11R6/bin/Xorg                                     root:root         4711

/etc/permissions.easy (SuSE 10.0) contains
/usr/X11R6/bin/Xorg                                     root:root         4711

Seems that I have to switch to "easy" if I want to use startx.
Comment 3 Stefan Dirsch 2005-10-20 20:27:00 UTC
Yes, this was changed by intention.

# rpm --changelog -q permissions
[...]
* Mo Nov 22 2004 - sndirsch@suse.de

- permissions.secure: set Xorg to 0711 (4711 before)

I set this to INVALID therefore.