Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: (EE) XKB: No components provided for device Virtual core keyboard
Date: Sun, 21 Mar 2010 20:11:50
Message-Id: 201003212011.45803.michaelkintzios@gmail.com
In Reply to: [gentoo-user] Re: (EE) XKB: No components provided for device Virtual core keyboard by walt
1 On Sunday 21 March 2010 17:04:28 walt wrote:
2 > On 03/21/2010 05:33 AM, Leandro Boscariol wrote:
3 > > Well, I`ve got this:
4 > >
5 > > /etc/conf.d/xdm
6 > > ...
7 > > DISPLAYMANAGER="kdm"
8 > > ...
9 > >
10 > > /etc/rc.conf
11 > > ...
12 > > # Gnome - will start gnome-session
13 > > # kde-<version> - will start startkde (look in /etc/X11/Sessions/)
14 > > # Xfce4 - will start a XFCE4 session
15 > > # Xsession - will start a terminal and a few other nice apps
16 > > XSESSION="kde-4"
17 > >
18 > > Then I remembered about /etc/X11/Sessions and switched it for KDE-4, but
19 > > still...
20 > >
21 > > Also tried commenting the line XSESSION, and nothing again.
22 > >
23 > > But, I`m thinking about this note in /etc/rc.conf:
24 > >
25 > > # NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and
26 > > startx # is called.
27 > >
28 > > This is the command called when I use startx, right? If so, how can I
29 > > make xdm use it as well? Or the problem is somewhere else here?
30 >
31 > In the old days, xdm used your ~/.xsession instead of ~/.xinitrc. I see
32 > that /etc/X11/Sessions/Xsession still reads ~/.xsession, but I don't use
33 > kde so I don't know what /etc/X11/Sessions/KDE-4 (or kde?) does when you
34 > run it.
35 >
36 > Whatever is in that file must do something different than just run
37 > startkde, so take a look at it.
38
39 /etc/X11/Sessions/KDE-4 just runs:
40
41 exec "/usr/bin/startkde"
42
43 and /usr/bin/startkde does not seem to look into either .xinitrc, or
44 .xsession, both of which are optional files for personal settings of your
45 xsession and its applications. It does however check to see if XDM is
46 running and then it tries to connect to that X server.
47
48 In my machine (still on the stable baselayout) if I add XSESSION="kde-4" in
49 /etc/rc.conf and DISPLAYMANAGER="kdm" in /etc/conf.d/xdm it works.
50
51 Assuming that you have not forgotten to emerge xdm ;-) you may want to try
52 using the above settings and then running:
53
54 /etc/init.d/xdm --debug restart
55
56 from a console to see what errors you get.
57 --
58 Regards,
59 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature