[Cooker] Break in x11-server upgrade

View: New views
20 Messages — Rating Filter:   Alert me  
< Prev | 1 - 2 - 3 | Next >

Re: [Cooker] Break in x11-server upgrade

by Jerome Quelin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 08/06/20 17:01 -0300, Ander Conselvan de Oliveira wrote:
> On Friday 20 June 2008 16:33:44 Jerome Quelin wrote:
> > On 08/06/20 15:36 -0300, Ander Conselvan de Oliveira wrote:
> > > I have just realized that I updated the test but forgot the error
> > > message. Is your /usr/X11R6 a link or a directory?
> >
> > a plain dir.
>
> Are you sure? If you do not omit the trailing slash, the results might be
> misleading. E.g.

yes i'm sure:

$ ls -l /etc/ /usr/ /usr/lib |grep X|grep -v lib
drwxr-xr-x 11 root root     4096 Jun 21 10:01 X11/
drwxr-xr-x   3 root root   4096 Jun 21 09:52 X11R6/
drwxr-xr-x  3 root root     4096 Oct 22  2007 X11/

jérôme
--
jquelin@...

Re: [Cooker] Break in x11-server upgrade

by Bugzilla from AAW@milwpc.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Friday, June 20, 2008 10:56 am Frank Griffin wrote:
> I missed the beginning of this thread, but I just did a fresh cooker
> install, and found X a bit messed up.

Frank,

This thread is about updating an existing cooker to x11-server-1.4.2. Problems
with a fresh install should be reported on bugzilla.

Regards,
Arn

Re: [Cooker] Break in x11-server upgrade

by Jerome Quelin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 08/06/21 08:35 +0200, Moreno wrote:

> After today update X do not work, to solve the problem:
>
> 1) execute script http://wiki.mandriva.com/en/uploads/b/b8/Move-things-back
> 2) Update an other time the machine
> 3) Recreate manually the /etc/X11/X link
> 4) Reinstall packages with lost files, on my machine
> urpmi --replacepkgs xinitrc transkode krootwarning lilypond
> fonts-ttf-liberation fonts-ttf-latex urw-fonts x11-font-alias
>
> After this the machine return to work well.

ok, i did the same, and it somehow works.

running xinit by hand works, and then running startkde in the xterm
launches kde 4. great.

but running service dm start doesn't work, i'm wondering whether
/etc/X11/xorg.conf is really read? there seems to be frequency problems,
ie X is started but without synchronizing with the screen. and thus the
screen remains black. (it seems that different freqs are tried, if i
understand some messages coming from my screen, not from X. but since
those messages are very brief, i'm not really sure)

note that i tried to change dm from kdm to gdm, but without any luck.

so, for now i started xinit by hand followed by startkde, but that's not
the final solution.

==> any ideas?

jérôme
--
jquelin@...

Re: [Cooker] Break in x11-server upgrade

by Laurent Suchet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Colin Guthrie wrote:

> AAW wrote:
>> On Thursday, June 19, 2008 9:28 am Ander Conselvan de Oliveira wrote:
>>> Sorry for the noise, I sent the message early by mistake.
>>>
>>> Soon the version 1.4.2 for packages x11-server-common, and
>>> x11-server-xorg
>>> should be available in cooker. These packages will not have the symlink
>>> structure created in previous updates (i.e. /etc/X11 and
>>> /usr/lib/X11) and
>>> the installation will fail if these links exists.
>>>
>>> I wrote a script [1] to move files back to their appropriate directory.
>>> This script should be ran before updating.
>>>
>>>     [1]    http://wiki.mandriva.com/en/uploads/b/b8/Move-things-back
>>>
>>
>> I went to init 3 then ran the Move-things-back script. Only message
>> was about being unable to remove /usr/lib/X11 because it's a directory.
>>
>> After the update, X did not start because it couldn't find the config
>> file and the default config failed. There was no xorg.conf in
>> /etc/X11. I ran XFdrake, which created xorg.conf. X started normally
>> and seems stable so far.
>
> See my other posts on this thread. While things may appear to work
> fine, I'd run some of the tests I listed to ensure that all is well.
>
> Things can still appear to work even tho' the underlying system is in
> a bit of a mess!!
>
> Col
>
In my case major problems didn't occured, as X server is working, but I
lost Gnome and KDE4 entries in GDM, despite the fact that they are
present in /etc/X11/wmsession.d:

ls -l /etc/X11/wmsession.d/
total 56
-rw-r--r-- 1 root root 118 2008-06-20 22:44 01KDE4
-rw-r--r-- 1 root root 129 2008-05-27 11:21 02GNOME
-rw-r--r-- 1 root root 131 2007-11-27 23:52 08EDE
-rw-r--r-- 1 root root  91 2008-06-01 13:44 23E17
-rw-r--r-- 1 root root 166 2008-05-03 15:04 25openbox
-rw-r--r-- 1 root root 108 2008-06-10 06:28 26LXDE
-rw-r--r-- 1 root root 118 2008-06-17 03:38 29drak3d


I tried to --replacepkgs involved (gnome-session, kde4workspace, even
gdm) but no result.

I see that there is nearly no more created wmsession.d folder in
/usr/share/X11:

#urpmf /usr/share/X11/wmsession.d/
fvwm:/usr/share/X11/wmsession.d/10Fvwm1

and that all /X11/wmsession.d/ files are installed under /etc/.... So it
should work with my config ?

Thanks

LS



Re: [Cooker] Break in x11-server upgrade

by Steve Morris-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


> lrwxrwxrwx 1 root root 15 2008-06-20 10:31 /usr/lib/X11 ->
> ../../lib64/X11
>
Col,
    I my system when I issue the ll I get the following:

ll /usr/lib/X11
lrwxrwxrwx 1 root root 20 2008-05-24 13:58 /usr/lib/X11 ->
../..//usr/share/X11/
                                                                ^^

Do you know why the highlighted double slash rather than a single slash.
I have noticed that is seems to be common on the 32 bit system that
script created symlinks have this convention, and I don't understand
why. Is it a bug that should be reported in bugzilla, or is it the
script coders not understanding how substitution works?

regards,
Steve


[samorris.vcf]

begin:vcard
fn:Steve Morris
n:Morris;Steve
email;internet:samorris@...
x-mozilla-html:TRUE
version:2.1
end:vcard



Re: [Cooker] Break in x11-server upgrade

by Steve Morris-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


>
> [root@jimmy ~]# urpmf /etc/X11/| cut -d':' -f1 |sort -u | xargs rpm -V
> | grep -vE "^package.*not installed$"
>
Col,
    I have issued this command on a pre-X11 updated cooker system and
don't understand what it is telling me, are you able to shed some light
on the results?

urpmf /etc/X11/| cut -d':' -f1 |sort -u | xargs rpm -V | grep -vE
"^package.*not installed$"
   
ftp://mdk.linux.org.tw/pub/mandrake-linux/devel/cooker/i586/media/main/release/media_info/files.xml.lzma
   
ftp://mdk.linux.org.tw/pub/mandrake-linux/devel/cooker/i586/media/contrib/release/media_info/files.xml.lzma
   
ftp://mdk.linux.org.tw/pub/mandrake-linux/devel/cooker/i586/media/contrib/updates/media_info/files.xml.lzma
   
ftp://mdk.linux.org.tw/pub/mandrake-linux/devel/cooker/i586/media/non-free/release/media_info/files.xml.lzma
   
ftp://mdk.linux.org.tw/pub/mandrake-linux/devel/cooker/i586/media/non-free/updates/media_info/files.xml.lzma
   
rsync://mdk.linux.org.tw/plf/mandriva/cooker/free/binary/i586/media_info/files.xml.lzma
   
rsync://mdk.linux.org.tw/plf/mandriva/cooker/non-free/binary/i586/media_info/files.xml.lzma
SM5....T  c /etc/sysconfig/compositing-server
SM5....T  c /etc/sysconfig/compositing-wm
S.5....T  c /etc/xdg/menus/applications.menu
S.5....T  c /etc/xdg/menus/kde-applications.menu
S.5....T  c /etc/sysconfig/firstboot
.M.....T    /usr/share/autostart/net_applet.desktop
S.5....T  c /etc/X11/fluxbox/menu
....L...    /etc/X11/fontpath.d/ttf-decoratives:pri=50
....L...    /etc/X11/fontpath.d/ttf-dustismo:pri=50
....L...    /etc/X11/fontpath.d/ttf-essays:pri=50
....L...    /etc/X11/fontpath.d/ttf-latex:pri=50
....L...    /etc/X11/fontpath.d/ttf-liberation:pri=50
....L...    /etc/X11/fontpath.d/ttf-west_european:pri=50
S.5....T  c /etc/X11/gdm/custom.conf
SM5....T  c /etc/sysconfig/harddrake2/kernel
S.5....T  c /etc/sysconfig/harddrake2/previous_hw
S.5....T    /usr/share/X11/icewm/menu
....L...    /etc/X11/imwheel/imwheelrc.MX1000
....L...    /etc/X11/imwheel/imwheelrc.MX500
S.5....T  c /etc/inittab
S.5....T  c /etc/modules
......G.    /etc/ppp/peers
S.5....T  c /etc/sysconfig/networking/ifcfg-lo
S.5....T  c /etc/sysctl.conf
....L...    /etc/X11/fontpath.d/java:pri=50
missing     /etc/X11/dm/Sessions/fvwmi.desktop
missing     /etc/X11/dm/Sessions/mini-fvwmi.desktop
missing     /etc/X11/dm/Sessions/opale.desktop
....L...    /etc/X11/fontpath.d/type1-urw-fonts-adobestd35:pri=50
....L...    /etc/X11/fontpath.d/type1-urw-fonts:pri=50
S.5....T    /usr/share/fonts/100dpi/fonts.dir
S.5....T    /usr/share/fonts/100dpi/fonts.scale
S.5....T    /usr/share/fonts/75dpi/fonts.dir
S.5....T    /usr/share/fonts/75dpi/fonts.scale
S.5....T    /usr/share/fonts/OTF/fonts.dir
S.5....T    /usr/share/fonts/OTF/fonts.scale
S.5....T    /usr/share/fonts/Speedo/fonts.dir
S.5....T    /usr/share/fonts/Speedo/fonts.scale
S.5....T    /usr/share/fonts/TTF/fonts.dir
S.5....T    /usr/share/fonts/TTF/fonts.scale
S.5....T    /usr/share/fonts/Type1/fonts.dir
S.5....T    /usr/share/fonts/Type1/fonts.scale
S.5....T    /usr/share/fonts/cyrillic/fonts.dir
S.5....T    /usr/share/fonts/cyrillic/fonts.scale
S.5....T    /usr/share/fonts/misc/fonts.dir
S.5....T    /usr/share/fonts/misc/fonts.scale
.M......    /usr/lib/X11/xfig/Libraries/Fasteners
.M......    /usr/lib/X11/xfig/Libraries/Fasteners/Bolts
.M......    /usr/lib/X11/xfig/Libraries/Fasteners/Machinescrews
.M......    /usr/lib/X11/xfig/Libraries/Fasteners/Springs
.M......    /usr/lib/X11/xfig/Libraries/Fasteners/Woodscrews
.......T  c /etc/X11/app-defaults/XScreenSaver

regards,
Steve


[samorris.vcf]

begin:vcard
fn:Steve Morris
n:Morris;Steve
email;internet:samorris@...
x-mozilla-html:TRUE
version:2.1
end:vcard



Re: [Cooker] Break in x11-server upgrade

by Colin Guthrie-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steve Morris wrote:
>
>>
>> [root@jimmy ~]# urpmf /etc/X11/| cut -d':' -f1 |sort -u | xargs rpm -V
>> | grep -vE "^package.*not installed$"
>>
> Col,
>    I have issued this command on a pre-X11 updated cooker system and
> don't understand what it is telling me, are you able to shed some light
> on the results?

Well basically the command searches the repository for all files with
/etc/X11 in the path. I then cut oud the package name and remove the
duplicates and then validate the rpm that contains the file. Some rpms
wont be installed so I ignore the error in this case.


> urpmf /etc/X11/| cut -d':' -f1 |sort -u | xargs rpm -V | grep -vE
> "^package.*not installed$"

> SM5....T  c /etc/sysconfig/compositing-server

Each line of output here signifies a file that has changed on your
filesystem verses what was supplied in the package.

See here:
http://www.rpm.org/max-rpm/ch-rpm-verify.html

specifically this tells you what they
http://freesf.tnc.edu.tw/docs/rh/maximum-rpm-1.0/html/s1-rpm-verify-output.html

So in the case above, the Size, the Mode the MD5 Sum and the Timestamp
has changed.

When looking at the output I probably should have grep'ed for /etc/X11
again as that's what I was really checking for. Also it's the missing
files that are most interesting.

In your case some Session files in /etc/X11/dm/Sessions/ are missing and
you should probably sort that out.

Col




--

+--------------------------+
|      Colin Guthrie       |
+--------------------------+
| cguthrie(at)mandriva.org |
|  http://colin.guthr.ie/  |
+--------------------------+

Re: [Cooker] Break in x11-server upgrade

by Colin Guthrie-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steve Morris wrote:

>
>> lrwxrwxrwx 1 root root 15 2008-06-20 10:31 /usr/lib/X11 ->
>> ../../lib64/X11
>>
> Col,
>    I my system when I issue the ll I get the following:
>
> ll /usr/lib/X11
> lrwxrwxrwx 1 root root 20 2008-05-24 13:58 /usr/lib/X11 ->
> ../..//usr/share/X11/
>                                                                ^^
>
> Do you know why the highlighted double slash rather than a single slash.
> I have noticed that is seems to be common on the 32 bit system that
> script created symlinks have this convention, and I don't understand
> why. Is it a bug that should be reported in bugzilla, or is it the
> script coders not understanding how substitution works?

The double slash is harmless. It's usually just scripting replacements
done incorrectly.

e.g. in an RPM spec:
  ln -s ../../%{_datadir}/X11

As _datadir is /usr/share, this changes to:
  ln -s ../..//usr/share/X11

It really doesn't matter tho', so don't worry about it :)

Col

--

+--------------------------+
|      Colin Guthrie       |
+--------------------------+
| cguthrie(at)mandriva.org |
|  http://colin.guthr.ie/  |
+--------------------------+

Re: [Cooker] Break in x11-server upgrade

by Colin Guthrie-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Laurent Suchet wrote:

> Colin Guthrie wrote:
>> AAW wrote:
>>> On Thursday, June 19, 2008 9:28 am Ander Conselvan de Oliveira wrote:
>>>> Sorry for the noise, I sent the message early by mistake.
>>>>
>>>> Soon the version 1.4.2 for packages x11-server-common, and
>>>> x11-server-xorg
>>>> should be available in cooker. These packages will not have the symlink
>>>> structure created in previous updates (i.e. /etc/X11 and
>>>> /usr/lib/X11) and
>>>> the installation will fail if these links exists.
>>>>
>>>> I wrote a script [1] to move files back to their appropriate directory.
>>>> This script should be ran before updating.
>>>>
>>>>     [1]    http://wiki.mandriva.com/en/uploads/b/b8/Move-things-back
>>>>
>>>
>>> I went to init 3 then ran the Move-things-back script. Only message
>>> was about being unable to remove /usr/lib/X11 because it's a directory.
>>>
>>> After the update, X did not start because it couldn't find the config
>>> file and the default config failed. There was no xorg.conf in
>>> /etc/X11. I ran XFdrake, which created xorg.conf. X started normally
>>> and seems stable so far.
>>
>> See my other posts on this thread. While things may appear to work
>> fine, I'd run some of the tests I listed to ensure that all is well.
>>
>> Things can still appear to work even tho' the underlying system is in
>> a bit of a mess!!
>>
>> Col
>>
> In my case major problems didn't occured, as X server is working, but I
> lost Gnome and KDE4 entries in GDM, despite the fact that they are
> present in /etc/X11/wmsession.d:
>
> ls -l /etc/X11/wmsession.d/
> total 56
> -rw-r--r-- 1 root root 118 2008-06-20 22:44 01KDE4
> -rw-r--r-- 1 root root 129 2008-05-27 11:21 02GNOME
> -rw-r--r-- 1 root root 131 2007-11-27 23:52 08EDE
> -rw-r--r-- 1 root root  91 2008-06-01 13:44 23E17
> -rw-r--r-- 1 root root 166 2008-05-03 15:04 25openbox
> -rw-r--r-- 1 root root 108 2008-06-10 06:28 26LXDE
> -rw-r--r-- 1 root root 118 2008-06-17 03:38 29drak3d
>
>
> I tried to --replacepkgs involved (gnome-session, kde4workspace, even
> gdm) but no result.
>
> I see that there is nearly no more created wmsession.d folder in
> /usr/share/X11:
>
> #urpmf /usr/share/X11/wmsession.d/
> fvwm:/usr/share/X11/wmsession.d/10Fvwm1
>
> and that all /X11/wmsession.d/ files are installed under /etc/.... So it
> should work with my config ?

Check that entries exist here:
/etc/X11/dm/Sessions/

I have:
[root@jimmy ~]# ls -l /etc/X11/dm/Sessions/
total 48
-rw-r--r-- 1 root root 135 2008-06-19 23:07 01KDE4.desktop
-rw-r--r-- 1 root root 140 2008-06-19 23:07 02GNOME.desktop
-rw-r--r-- 1 root root 140 2008-06-19 23:07 05KDE3.desktop
-rw-r--r-- 1 root root 144 2008-06-19 23:07 16evilwm.desktop
-rw-r--r-- 1 root root 140 2008-06-19 23:07 29drak3d.desktop
-rw-r--r-- 1 root root 163 2008-06-19 23:07 99MythFrontend.desktop

However these are not owned by any package..... Dunno where they came
from :s

--

+--------------------------+
|      Colin Guthrie       |
+--------------------------+
| cguthrie(at)mandriva.org |
|  http://colin.guthr.ie/  |
+--------------------------+

Re: [Cooker] Break in x11-server upgrade

by Steve Morris-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Colin Guthrie wrote:

> Steve Morris wrote:
>>
>>> lrwxrwxrwx 1 root root 15 2008-06-20 10:31 /usr/lib/X11 ->
>>> ../../lib64/X11
>>>
>> Col,
>>    I my system when I issue the ll I get the following:
>>
>> ll /usr/lib/X11
>> lrwxrwxrwx 1 root root 20 2008-05-24 13:58 /usr/lib/X11 ->
>> ../..//usr/share/X11/
>>                                                                ^^
>>
>> Do you know why the highlighted double slash rather than a single
>> slash. I have noticed that is seems to be common on the 32 bit system
>> that script created symlinks have this convention, and I don't
>> understand why. Is it a bug that should be reported in bugzilla, or
>> is it the script coders not understanding how substitution works?
>
> The double slash is harmless. It's usually just scripting replacements
> done incorrectly.
>
> e.g. in an RPM spec:
>  ln -s ../../%{_datadir}/X11
>
> As _datadir is /usr/share, this changes to:
>  ln -s ../..//usr/share/X11
>
> It really doesn't matter tho', so don't worry about it :)
>
> Col
>
Thanks Col, I was concerned that ln -s ../..//usr/share/X11 was the same
as ln -s /usr/share/X11, but I guess you are saying that it is the same
as ../.././usr/share/X11.

regards,
Steve


[samorris.vcf]

begin:vcard
fn:Steve Morris
n:Morris;Steve
email;internet:samorris@...
x-mozilla-html:TRUE
version:2.1
end:vcard



[Cooker] Re: Break in x11-server upgrade

by Bugzilla from arvidjaar@mail.ru :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Colin Guthrie wrote:

[...]

>> ls -l /etc/X11/wmsession.d/
>> total 56
>> -rw-r--r-- 1 root root 118 2008-06-20 22:44 01KDE4
>> -rw-r--r-- 1 root root 129 2008-05-27 11:21 02GNOME
>> -rw-r--r-- 1 root root 131 2007-11-27 23:52 08EDE
>> -rw-r--r-- 1 root root  91 2008-06-01 13:44 23E17
>> -rw-r--r-- 1 root root 166 2008-05-03 15:04 25openbox
>> -rw-r--r-- 1 root root 108 2008-06-10 06:28 26LXDE
>> -rw-r--r-- 1 root root 118 2008-06-17 03:38 29drak3d
>>
>>
>> I tried to --replacepkgs involved (gnome-session, kde4workspace, even
>> gdm) but no result.
>>
>> I see that there is nearly no more created wmsession.d folder in
>> /usr/share/X11:
>>
>> #urpmf /usr/share/X11/wmsession.d/
>> fvwm:/usr/share/X11/wmsession.d/10Fvwm1
>>
>> and that all /X11/wmsession.d/ files are installed under /etc/.... So it
>> should work with my config ?
>
> Check that entries exist here:
> /etc/X11/dm/Sessions/
>
> I have:
> [root@jimmy ~]# ls -l /etc/X11/dm/Sessions/
> total 48
> -rw-r--r-- 1 root root 135 2008-06-19 23:07 01KDE4.desktop
> -rw-r--r-- 1 root root 140 2008-06-19 23:07 02GNOME.desktop
> -rw-r--r-- 1 root root 140 2008-06-19 23:07 05KDE3.desktop
> -rw-r--r-- 1 root root 144 2008-06-19 23:07 16evilwm.desktop
> -rw-r--r-- 1 root root 140 2008-06-19 23:07 29drak3d.desktop
> -rw-r--r-- 1 root root 163 2008-06-19 23:07 99MythFrontend.desktop
>
> However these are not owned by any package..... Dunno where they came
> from :s
>

try "chksession -g"


Re: [Cooker] Re: Break in x11-server upgrade

by Laurent Suchet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrey Borzenkov a écrit :

> Colin Guthrie wrote:
>
> [...]
>  
>>> ls -l /etc/X11/wmsession.d/
>>> total 56
>>> -rw-r--r-- 1 root root 118 2008-06-20 22:44 01KDE4
>>> -rw-r--r-- 1 root root 129 2008-05-27 11:21 02GNOME
>>> -rw-r--r-- 1 root root 131 2007-11-27 23:52 08EDE
>>> -rw-r--r-- 1 root root  91 2008-06-01 13:44 23E17
>>> -rw-r--r-- 1 root root 166 2008-05-03 15:04 25openbox
>>> -rw-r--r-- 1 root root 108 2008-06-10 06:28 26LXDE
>>> -rw-r--r-- 1 root root 118 2008-06-17 03:38 29drak3d
>>>
>>>
>>> I tried to --replacepkgs involved (gnome-session, kde4workspace, even
>>> gdm) but no result.
>>>
>>> I see that there is nearly no more created wmsession.d folder in
>>> /usr/share/X11:
>>>
>>> #urpmf /usr/share/X11/wmsession.d/
>>> fvwm:/usr/share/X11/wmsession.d/10Fvwm1
>>>
>>> and that all /X11/wmsession.d/ files are installed under /etc/.... So it
>>> should work with my config ?
>>>      
>> Check that entries exist here:
>> /etc/X11/dm/Sessions/
>>
>> I have:
>> [root@jimmy ~]# ls -l /etc/X11/dm/Sessions/
>> total 48
>> -rw-r--r-- 1 root root 135 2008-06-19 23:07 01KDE4.desktop
>> -rw-r--r-- 1 root root 140 2008-06-19 23:07 02GNOME.desktop
>> -rw-r--r-- 1 root root 140 2008-06-19 23:07 05KDE3.desktop
>> -rw-r--r-- 1 root root 144 2008-06-19 23:07 16evilwm.desktop
>> -rw-r--r-- 1 root root 140 2008-06-19 23:07 29drak3d.desktop
>> -rw-r--r-- 1 root root 163 2008-06-19 23:07 99MythFrontend.desktop
>>
>> However these are not owned by any package..... Dunno where they came
>> from :s
>>
>>    
>
> try "chksession -g"
>
>  
Yes I didn't have time yet to see that, but what I find strange is that
on the 2008.1 computer of my son in /etc/X11/dm/Session there is only
opale and fvwm desktop stuff, no KDE one and the KDE session works
perfectly. On my cooker computer I have exactly the same components in
the same folder. I'll try to investigate ASAP.

Thnks

LS



Re: [Cooker] Break in x11-server upgrade

by Colin Guthrie-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Steve Morris wrote:
> Thanks Col, I was concerned that ln -s ../..//usr/share/X11 was the same
> as ln -s /usr/share/X11, but I guess you are saying that it is the same
> as ../.././usr/share/X11.

Indeed. Try it yourself in a terminal:

cd //////home////steve///

Still works :D

Col


--

+--------------------------+
|      Colin Guthrie       |
+--------------------------+
| cguthrie(at)mandriva.org |
|  http://colin.guthr.ie/  |
+--------------------------+

Re: [Cooker] Break in x11-server upgrade

by Steve Morris-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Colin Guthrie wrote:

> Steve Morris wrote:
>> Thanks Col, I was concerned that ln -s ../..//usr/share/X11 was the
>> same as ln -s /usr/share/X11, but I guess you are saying that it is
>> the same as ../.././usr/share/X11.
>
> Indeed. Try it yourself in a terminal:
>
> cd //////home////steve///
>
> Still works :D
>
> Col
>
Thanks Col, it put my mind at rest as to what is happening when I see
things like this:

              Loading /usr/lib/xorg/modules/extensions//libglx.so

regards,
Steve


[samorris.vcf]

begin:vcard
fn:Steve Morris
n:Morris;Steve
email;internet:samorris@...
x-mozilla-html:TRUE
version:2.1
end:vcard



Re: [Cooker] Re: Break in x11-server upgrade

by Laurent Suchet :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Andrey Borzenkov wrote:

> Colin Guthrie wrote:
>
> [...]
>  
>>> ls -l /etc/X11/wmsession.d/
>>> total 56
>>> -rw-r--r-- 1 root root 118 2008-06-20 22:44 01KDE4
>>> -rw-r--r-- 1 root root 129 2008-05-27 11:21 02GNOME
>>> -rw-r--r-- 1 root root 131 2007-11-27 23:52 08EDE
>>> -rw-r--r-- 1 root root  91 2008-06-01 13:44 23E17
>>> -rw-r--r-- 1 root root 166 2008-05-03 15:04 25openbox
>>> -rw-r--r-- 1 root root 108 2008-06-10 06:28 26LXDE
>>> -rw-r--r-- 1 root root 118 2008-06-17 03:38 29drak3d
>>>
>>>
>>> I tried to --replacepkgs involved (gnome-session, kde4workspace, even
>>> gdm) but no result.
>>>
>>> I see that there is nearly no more created wmsession.d folder in
>>> /usr/share/X11:
>>>
>>> #urpmf /usr/share/X11/wmsession.d/
>>> fvwm:/usr/share/X11/wmsession.d/10Fvwm1
>>>
>>> and that all /X11/wmsession.d/ files are installed under /etc/.... So it
>>> should work with my config ?
>>>      
>> Check that entries exist here:
>> /etc/X11/dm/Sessions/
>>
>> I have:
>> [root@jimmy ~]# ls -l /etc/X11/dm/Sessions/
>> total 48
>> -rw-r--r-- 1 root root 135 2008-06-19 23:07 01KDE4.desktop
>> -rw-r--r-- 1 root root 140 2008-06-19 23:07 02GNOME.desktop
>> -rw-r--r-- 1 root root 140 2008-06-19 23:07 05KDE3.desktop
>> -rw-r--r-- 1 root root 144 2008-06-19 23:07 16evilwm.desktop
>> -rw-r--r-- 1 root root 140 2008-06-19 23:07 29drak3d.desktop
>> -rw-r--r-- 1 root root 163 2008-06-19 23:07 99MythFrontend.desktop
>>
>> However these are not owned by any package..... Dunno where they came
>> from :s
>>
>>    
>
> try "chksession -g"
>
>  
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


LS

Re: [Cooker] Re: Break in x11-server upgrade

by Dick Gevers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 23 Jun 2008 23:57:22 +0200, Laurent Suchet wrote about Re: [Cooker]
Re: Break in x11-server upgrade:

>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
>
>
>LS

Maybe directory 'xdm' (andor other) is still in /usr/share/X11: just move it
back to /etc/X11 and make sure /usr/share/X11 is a symlink to /etc/X11:
then you should be okay.

HTH
=Dick Gevers=

Re: [Cooker] Re: Break in x11-server upgrade

by Colin Guthrie-8 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Col

--

+--------------------------+
|      Colin Guthrie       |
+--------------------------+
| cguthrie(at)mandriva.org |
|  http://colin.guthr.ie/  |
+--------------------------+

Re: [Cooker] Re: Break in x11-server upgrade

by npomarede :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 23 Jun 2008, Dick Gevers wrote:

> On Mon, 23 Jun 2008 23:57:22 +0200, Laurent Suchet wrote about Re: [Cooker]
> Re: Break in x11-server upgrade:
>
>> 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
>>
>>
>> LS
>
> Maybe directory 'xdm' (andor other) is still in /usr/share/X11: just move it
> back to /etc/X11 and make sure /usr/share/X11 is a symlink to /etc/X11:
> then you should be okay.
>
> HTH
> =Dick Gevers=
>

Hello,

I don't know if my problem is related to what you explain, but since the
x11 upgrade and the impossibility to start X, I applied the
'Move-things-back' scripts that was posted, then ran 'rpm -Va' to check
which files needed to be revalidated with rpm --replacepkg.

This fixed the problem, I can run startx from the tty and kde3 starts.

But I'm using autologin, and in that case, X starts, but instead of
starting kde3, I only get an xterm with no window manager.
Only solution is to kill X, use kdm to go back to console and then run
startx.

Is this known as a consequence of the x11 server problems ?

Also, when booting and starting services, I get :

starting X font server : xfs error: CONFIG: can't open configuration file "/etc/X11/fs/config"
xfs fatal error: couldn't read config file

Indeed, /etc/X11/fs/config doesn't exist.


thanks

Re: [Cooker] Re: Break in x11-server upgrade

by Adam Williamson-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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).
--
adamw


Re: [Cooker] Re: Break in x11-server upgrade

by Dick Gevers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, 23 Jun 2008 22:37:35 +0200 (CEST), Pomarede Nicolas wrote about Re:
[Cooker] Re: Break in x11-server upgrade:

>I don't know if my problem is related to what you explain, but since the
>x11 upgrade and the impossibility to start X, I applied the
>'Move-things-back' scripts that was posted

I looke several times at the script, but I saw it also changed a few times.
When I ran it here it stuck on "too many arguments" or stg like that. So I
moved stuff manually nd I think I covered all the way it should be
rearranged.

>, then ran 'rpm -Va' to check
>which files needed to be revalidated with rpm --replacepkg.

Yes, but the risk is that some packages have files in both the wrong and
the right place.

>This fixed the problem, I can run startx from the tty and kde3 starts.
>
>But I'm using autologin, and in that case, X starts, but instead of
>starting kde3, I only get an xterm with no window manager.
>Only solution is to kill X, use kdm to go back to console and then run
>startx.

Dunno, I use gdm and GNOME mostly.

>Also, when booting and starting services, I get :
>
>starting X font server : xfs error: CONFIG: can't open configuration file
>"/etc/X11/fs/config" xfs fatal error: couldn't read config file
>
>Indeed, /etc/X11/fs/config doesn't exist.

AFAIK the xfs server is deprecated and not normally in Cooker anymore for
quite a long time (about a year???).

Cheers,
=Dick Gevers=
< Prev | 1 - 2 - 3 | Next >