Gentoo Archives: gentoo-dev

From: Chris Johnson <cmjohn@×××××××××××.edu>
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] KDM/KOffice problems (a bit more explanation)
Date: Mon, 08 Apr 2002 03:50:54
Message-Id: 1018252199.2428.45.camel@mule.relentless.org
In Reply to: [gentoo-dev] KDM/KOffice problems (a bit more explanation) by Eugenia Loli-Queru
1 Eugenia,
2
3 My understanding of KDM is as follows:
4 -when I have visited a lab with a user account with kde installed and no
5 login manager (aka DISPLAYMANAGER) running when I log in, I issue
6 'startkde' to startup kde--this may work for you with gentoo (try it).
7 As I understand it, only root is supposed to run the kdm/gdm/xdm login
8 manager, because it is a portal for users to log in from! I.e., a user
9 does not have the authority to run kdm because that would be saying that
10 the user can run programs to check the password of other users, which is
11 not allowed--only the system checks such conditions. I guess in a pinch
12 you could run kdm by issuing 'sudo kdm' from a normal user, (this runs
13 the command as root if your system has sudo and is thus configured), but
14 it's not clear why you would want to allow that.
15
16 -the larger issue it seems to me that you're trying to solve may be
17 having KDM running so that users login from the KDM screen; you have
18 already revealed success logging in from KDM with your user. Then, to
19 have KDM always running before the user walks up to the terminal, I
20 believe someone on the list has already hinted to issue command
21
22 rc-update add xdm default
23 and you can define your (x/k/g)dm in /etc/rc.conf
24
25 This adds your KDM or gdm or whichever display login manager of choice
26 to the default upon startup of your computer (it then looks similar to
27 windows 2000 when freshly started, to login graphically). In the rc.conf
28 file you can specify which of those you want to use (uncomment
29 #DISPLAYMANAGER=xdm and change to kdm or your choice [xdm|gdm|kdm]).
30
31 As for making startx default to kde, I think there is some documentation
32 specifying how to alter its default to start kde. Or you could just use
33 the command startkde, which is clearer. Ah, in /etc/X11/xinit/xinitrc is
34 the setting to run twm unless a user has a .xinitrc in his home
35 directory (information eventually found by 'man startx'). Hope this
36 helps!
37
38 I fear this may be review already for you and not answering your
39 question, but I hope it helps.
40
41 Chris
42
43
44 On Mon, 2002-04-08 at 03:01, Eugenia Loli-Queru wrote:
45 > Hello again,
46 > I would like to explain a bit more the problems I currently have reading KDM
47 > and if someone knows how to solve this, please step reply. :)
48 >
49 > I have installed the full KDE3 and also some KDE2 libraries as they were
50 > needed by KOffice 1.1.1 and Krusader 1.0. So, the problem is that I can't
51 > run any Display Manager for my users, only root can run them. I have told
52 > rc.conf to DISPLAYMANAGER=KDM but that does not work _at all_. When I typing
53 > startx, users only get the standard twm with the 3 xterms. When I type 'kdm'
54 > manually in the command line, only root can load it. Any idea why this is
55 > happening? Please note that when I am already on KDM as root, I can login as
56 > 'eugenia' via the kdm, it is just that when I am logging in to Gentoo in
57 > general and typing startx, only twm comes up. That DISPLAYMANAGER variable
58 > does not seem to work at all ! Any ideas?
59 >
60 > Also, KOffice just DOES NOT work with Gentoo when KDE 3 is installed prior
61 > to KDE 2. I would highly appreciate if you have a fix for this:
62 >
63 > eugenia $ kspread
64 > koffice (lib kofficecore): ERROR: Couldn't find the native MimeType in
65 > kspread's desktop file. Check your installation !
66 >
67 > This happens for all the users, including root.
68 > I tried to find info about the error on the net, and some people suggested
69 > to delete the ~/.kde dir or the ~/.kde/share/apps and then run the
70 > 'kbuildsycoca' script to rebuild the MIME types. NO JOY. None of the KOffice
71 > 1.1.1 apps work. :(
72 >
73 > Thank you,
74 > Eugenia
75 >
76 > -----------------
77 > Editor-in-Chief at http://www.OSNews.com
78 > Email: eugenia@××××××.com - ICQ: 6070904
79 > Home page at http://www.eugenia.co.uk
80 >