Adam Williamson wrote:
> On Mon, 2008-06-23 at 21:36 +0100, Colin Guthrie wrote:
>> Laurent Suchet wrote:
>> > It restored the menu in gdm, but when launching gnome I have an
>> > immédiate crash;
>> >
>> > gdm wants to find /etc/X11/xdm/Xsession and doesn't find it... I can't
>> > find any package providing this file. The same when launching KDE. Only
>> > gnome(or kde)/openbox and works
>>
>> It seems this is installed here:
>>
>> xinitrc:/usr/share/X11/xdm/Xsession
>>
>> I don't know which is right with regards to location, but Something
>> needs done about it if gdm looks for it in /etc/X11
>
> I think xinitrc package is broken:
>
> [root@lenovo X11]# urpmf /etc/X11/xdm/Xaccess
> xinitrc:/etc/X11/xdm/Xaccess
>
> [root@lenovo X11]# rpm -e --nodeps --noscripts xinitrc
> [root@lenovo X11]# urpmi --noscripts xinitrc
>
>
>
ftp://carroll.cac.psu.edu/pub/linux/distributions/mandrivalinux/devel/cooker/i586/media/main/release/xinitrc-2.4.19-12mdv2009.0.noarch.rpm
> installing xinitrc-2.4.19-12mdv2009.0.noarch.rpm
> from /var/cache/urpmi/rpms
> Preparing...
> #############################################
> 1/1: xinitrc
> #############################################
> [root@lenovo X11]# ls -l /etc/X11/xdm/Xaccess
> lrwxrwxrwx 1 root root 31 2008-06-23 13:41 /etc/X11/xdm/Xaccess
> -> ../../../../etc/X11/xdm/Xaccess
>
> (that last line is red, indicating a broken symlink).
https://qa.mandriva.com/show_bug.cgi?id=41612(which was closed as won't fix);
pts/0}% rpm -V xinitrc
S.5....T c /etc/X11/Xresources
{pts/0}% rpm -q xinitrc
xinitrc-2.4.19-12mdv2009.0
{pts/0}% ll /usr/share/X11/xdm/
итого 40
-rwxr-xr-x 1 root root 390 2008-06-20 17:59 GiveConsole*
-rwxr-xr-x 1 root root 249 2008-06-20 17:59 TakeConsole*
lrwxrwxrwx 1 root root 31 2008-06-22 10:02
Xaccess -> ../../../../etc/X11/xdm/Xaccess
-rwxr-xr-x 1 root root 236 2008-06-20 17:59 Xreset*
lrwxrwxrwx 1 root root 34 2008-06-22 10:02
Xresources -> ../../../../etc/X11/xdm/Xresources
-rw-r--r-- 1 root root 4014 2008-06-20 17:59 Xresources.rpmnew
-rw-r--r-- 1 root root 4042 2005-06-13 01:45 Xresources~
lrwxrwxrwx 1 root root 32 2008-06-22 10:02
Xservers -> ../../../../etc/X11/xdm/Xservers
-rwxr-xr-x 1 root root 68 2008-06-20 17:59 Xsession*
-rwxr-xr-x 1 root root 550 2008-06-20 17:59 Xsetup_0*
-rwxr-xr-x 1 root root 410 2008-06-20 17:59 Xstartup*
-rwxr-xr-x 1 root root 373 2008-06-20 17:59 Xwilling*
lrwxrwxrwx 1 root root 34 2008-06-22 10:02
xdm-config -> ../../../../etc/X11/xdm/xdm-config
-rw-r--r-- 1 root root 1281 2008-06-20 17:59 xdm-config.rpmnew
{pts/0}% ll /etc/X11/xdm
итого 16
-rw-r--r-- 1 root root 3538 2008-06-20 17:59 Xaccess
-rw-r--r-- 1 root root 4014 2008-06-20 17:59 Xresources
-rw-r--r-- 1 root root 864 2008-06-20 17:59 Xservers
-rw-r--r-- 1 root root 1281 2008-06-20 17:59 xdm-config
(all links are green)
so well, I do not see anything that is broken; layout is logical
as well (config files are in /etc, scripts are in /usr/share).
So I'd say all those display managers has to be fixed.