X not starting

I cannot start X (ie GUI) when i boot in default mode. but i can get GUI through failsafe on opensuse boot options
but thats 1024x768 instead of desired 1368x768
the error is attatched as a txt file
I am get login when i boot into default boot
then i use 'startx" and get the error msgs
please advise


error getting---------------

xauth: creating new authority file /home/archit/.serverauth.5129

sed: couldn’t open temporary file /etc/sysconfig//sedDXXq3W: Permission denied
Warning! MD5DIR is not set: you probably called this script outside SuSEconfig…!
Using MD5DIR="/var/adm/SuSEconfig/md5"…
cp: cannot create regular file /etc/X11/xdm/Xservers.SuSEconfig': Permission denied sed: can't read /etc/X11/xdm/Xservers.SuSEconfig: No such file or directory sed: can't read /etc/X11/xdm/Xservers.SuSEconfig: No such file or directory cat: /etc/X11/xdm/Xservers.SuSEconfig: No such file or directory Installing new /etc/X11/xdm/Xservers cp: cannot stat /etc/X11/xdm/Xservers.SuSEconfig’: No such file or directory
rm: cannot remove /var/adm/SuSEconfig/md5//etc/X11/xdm/Xservers': Permission denied /lib/YaST/SuSEconfig.functions: line 75: /var/adm/SuSEconfig/md5//etc/X11/xdm/Xservers: Permission denied ln: cannot remove /var/lib/X11/X’: Permission denied
cp: cannot create regular file /etc/X11/xdm/xdm-config.SuSEconfig': Permission denied sed: can't read /etc/X11/xdm/xdm-config.SuSEconfig: No such file or directory cat: /etc/X11/xdm/xdm-config.SuSEconfig: No such file or directory Installing new /etc/X11/xdm/xdm-config cp: cannot stat /etc/X11/xdm/xdm-config.SuSEconfig’: No such file or directory
rm: cannot remove /var/adm/SuSEconfig/md5//etc/X11/xdm/xdm-config': Permission denied /lib/YaST/SuSEconfig.functions: line 75: /var/adm/SuSEconfig/md5//etc/X11/xdm/xdm-config: Permission denied sed: couldn't open temporary file /etc/sysconfig//sedvGpmRg: Permission denied Warning! MD5DIR is not set: you probably called this script outside SuSEconfig...! Using MD5DIR="/var/adm/SuSEconfig/md5"... cp: cannot create regular file /etc/X11/xdm/Xservers.SuSEconfig’: Permission denied
sed: can’t read /etc/X11/xdm/Xservers.SuSEconfig: No such file or directory
sed: can’t read /etc/X11/xdm/Xservers.SuSEconfig: No such file or directory
cat: /etc/X11/xdm/Xservers.SuSEconfig: No such file or directory
Installing new /etc/X11/xdm/Xservers
cp: cannot stat /etc/X11/xdm/Xservers.SuSEconfig': No such file or directory rm: cannot remove /var/adm/SuSEconfig/md5//etc/X11/xdm/Xservers’: Permission denied
/lib/YaST/SuSEconfig.functions: line 75: /var/adm/SuSEconfig/md5//etc/X11/xdm/Xservers: Permission denied
ln: cannot remove /var/lib/X11/X': Permission denied cp: cannot create regular file /etc/X11/xdm/xdm-config.SuSEconfig’: Permission denied
sed: can’t read /etc/X11/xdm/xdm-config.SuSEconfig: No such file or directory
cat: /etc/X11/xdm/xdm-config.SuSEconfig: No such file or directory
Installing new /etc/X11/xdm/xdm-config
cp: cannot stat /etc/X11/xdm/xdm-config.SuSEconfig': No such file or directory rm: cannot remove /var/adm/SuSEconfig/md5//etc/X11/xdm/xdm-config’: Permission denied
/lib/YaST/SuSEconfig.functions: line 75: /var/adm/SuSEconfig/md5//etc/X11/xdm/xdm-config: Permission denied
sed: couldn’t open temporary file /etc/sysconfig//sedtUI0bA: Permission denied
Warning! MD5DIR is not set: you probably called this script outside SuSEconfig…!
Using MD5DIR="/var/adm/SuSEconfig/md5"…
cp: cannot create regular file `/etc/X11/xdm/Xservers.SuSEconfig’: Permission denied-------------------------

what is the output of

ls -l /usr/bin/Xorg

?

-rws–x–x 1 root root 1885576 2009-11-02 17:41 /usr/bin/Xorg

output--------------

-rws–x–x 1 root root 1885576 2009-11-02 17:41 /usr/bin/Xorg

changed read permission of /usr/bin/Xorg
now permission are -rwsr-xr-x-

but now error is when i try to start X(in default boot) -------

xauth: creating new authority file /home/archit/.serverauth.2903

X.Org X Server 1.6.5
Release Date: 2009-10-11
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux linux-dga9 2.6.31.12-0.2-default #1 SMP 2010-03-16 21:25:39 +0100 x86_64
Build Date: 02 November 2009 12:04:43PM

Before reporting problems, check [X.Org Wiki - Home](http://wiki.x.org)
to make sure that you have the latest version.

Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: “/var/log/Xorg.0.log”, Time: Fri Apr 16 02:52:19 2010
(==) Using config file: “/etc/X11/xorg.conf”
dlopen: /usr/lib64/xorg/modules/updates//extensions/libglx.so: undefined symbol: miInitVisualsProc
(EE) Failed to load /usr/lib64/xorg/modules/updates//extensions/libglx.so
(EE) Failed to load module “glx” (loader failed, 7)
[atiddxSetup] X version mismatch - detected X.org 7.1.5.0, required X.org 7.4.-1.906
(EE) Failed to load module “fglrx” (module requirement mismatch, 0)
(EE) No drivers available.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
at X.Org Wiki - Home
for help.
Please also check the log file at “/var/log/Xorg.0.log” for additional information.

giving up.

xinit: No such file or directory (errno 2): unable to connect to X server

xinit: No such process (errno 3): Server error.

No need to change permissions in your case. Mine are:

-rws--x--x 1 root root 1906712  2. Nov 13:11 /usr/bin/Xorg

The important thing is that the s bit (set user ID on execution) is set. Otherwise you get permission denied errors, as shown in your first post.

Now it appears that you have a wrong version of libglx. What is the output of:

rpm -qa | grep xorg-x11

? Maybe someone having a x86_64 system can compare the versions (I am on i586).

I experimented this problem at past when i installed nvidia propietary driver in openSuSE 11.2 and openSuSE 11.4. I solved this permissions problem reinstalling xorg-x11-server or executing startx with root.

First solution:

zypper install -f xorg-x11-server

Second solution:

su -c startx - 

I hope it helps you,
Gerard