Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to add KDE to GDM?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
tscolari
l33t
l33t


Joined: 02 May 2004
Posts: 602
Location: curitiba - pr - Brazil

PostPosted: Wed Aug 25, 2004 11:40 pm    Post subject: How to add KDE to GDM? Reply with quote

I aways used kdm to manage the logins, now im trying out gdm but i cant get kde to appear in the Session list!

Here are somethings ive done to try it:

created a kde-3.2.3 in the /etc/X11/gdm/PreSession :
#!/bin/sh
/usr/kde/3.2/bin/startkde

created a KDE in the /etc/X11/gdm/Sessions, /etc/X11/Sessions:
#!/bin/bash
exec /etc/X11/xdm/Xsession kde

crated a kde.desktop in the /etc/X11/dm/Sessions:
[Desktop Entry]
Encoding=UTF-8
# The names/descriptions should really be better
Name=KDE
Exec=/etc/X11/xdm/Xsession kde
Icon=
Type=Application

I dont know what more to try... how can i make kde to appear in the gdm session list?
Back to top
View user's profile Send private message
JPMRaptor
Guru
Guru


Joined: 04 Oct 2002
Posts: 410
Location: Maryland

PostPosted: Thu Aug 26, 2004 12:12 am    Post subject: Reply with quote

For some reason gdm recently changed to look for .desktop files in /usr/share/xsessions/. I plunked a kde.desktop file in there with the following contents:
Code:
[Desktop Entry]
Encoding=UTF-8
Name=KDE
Comment=This session logs you into KDE
Exec=/etc/X11/Sessions/kde-3.2.3
TryExec=/etc/X11/Sessions/kde-3.2.3
Type=Application


It sucks a bit because I've got to manually update it with each KDE upgrade, but it works well enough for me.
_________________
Underwater photo gallery
New pictures, Oct 2005
Back to top
View user's profile Send private message
tscolari
l33t
l33t


Joined: 02 May 2004
Posts: 602
Location: curitiba - pr - Brazil

PostPosted: Thu Aug 26, 2004 12:29 am    Post subject: Reply with quote

i did what you said but still no kde in the list!

im getting out of idea... what is wrong with my gdm?
Back to top
View user's profile Send private message
kaare
n00b
n00b


Joined: 21 Sep 2003
Posts: 30

PostPosted: Fri Aug 27, 2004 4:22 pm    Post subject: Reply with quote

Try
Exec=startkde
Back to top
View user's profile Send private message
olias2
Apprentice
Apprentice


Joined: 23 Aug 2003
Posts: 234
Location: CANADA

PostPosted: Sat Aug 28, 2004 12:02 am    Post subject: Reply with quote

tscolari wrote:
i did what you said but still no kde in the list!

im getting out of idea... what is wrong with my gdm?


Try...
Code:
chmod 755 /usr/share/xsessions/kde.desktop
Here is my kde.desktop...
Code:
[Desktop Entry]
Encoding=UTF-8
Name=KDE
Comment=This session logs you into KDE
Exec=/usr/kde/3.2/bin/startkde
TryExec=/usr/kde/3.2/bin/startkde
# no icon yet, only the top three are currently used
Icon=
Type=Application

_________________
A wise man realizes that he too is a fool and then humbles himself to learn that which is greater than he.
Back to top
View user's profile Send private message
tscolari
l33t
l33t


Joined: 02 May 2004
Posts: 602
Location: curitiba - pr - Brazil

PostPosted: Sat Aug 28, 2004 12:56 am    Post subject: Reply with quote

still not working!!
I copied the kde.desktop above and still not appearing as option!
The only session options i get are these:
-Last
-Xfce Session
-Default System Session
-Custom Session
-Gnome
-Failsafe Gnome
-Failsafe terminal

only these!

here are the ls of the xsession dirs i know:
Code:

#/usr/share/xsessions> ll
total 12
-rwxr-xr-x  1 root root 2919 Jun 10 22:27 gnome.desktop
-rwxrwxrwx  1 root root  220 Ago 27 21:53 kde.desktop
-rwxr-xr-x  1 root root  166 Ago 25 21:34 xfce.desktop

#/etc/X11/gdm/PreSession> ll
total 12
-rwxr-xr-x  1 root root 979 Jun 10 22:27 Default
-rwx------  1 root root  36 Ago 25 20:04 kde-3.2.3
-rwx------  1 root root 220 Ago 27 21:55 kde.desktop

#/etc/X11/dm/Sessions> ll
total 20
-rwxr-xr-x  1 root root  301 Jun 10 22:27 custom.desktop
-rwxr-xr-x  1 root root 4444 Ago 25 20:12 default.desktop
-rwx------  1 root root  220 Ago 27 21:55 kde.desktop
-rwxr-xr-x  1 root root  202 Mai 20 23:29 xfce.desktop

#/etc/X11/Sessions> ll
total 16
-rwxr-xr-x  1 root root 2464 Ago 23 21:14 Gnome
-rwxrwxrwx  1 root root   44 Ago 25 20:06 KDE
-rwx------  1 root root  220 Ago 27 21:56 kde.desktop
-rwxr-xr-x  1 root root 2187 Mai  6 01:02 Xsession


I dont know what to do, why this dont show in the session menu??!!
Back to top
View user's profile Send private message
olias2
Apprentice
Apprentice


Joined: 23 Aug 2003
Posts: 234
Location: CANADA

PostPosted: Sat Aug 28, 2004 3:27 pm    Post subject: Reply with quote

Don't take this the wrong way but I have to ask... did you restart your system? GDM has to stop and start to refresh the list. Failing that, then try to emerge gdm again.
_________________
A wise man realizes that he too is a fool and then humbles himself to learn that which is greater than he.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum