Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help with KDM Sessions
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
redhatJunkie
n00b
n00b


Joined: 19 Apr 2003
Posts: 15
Location: Kanagawa, Japan

PostPosted: Sun Jun 01, 2003 7:34 am    Post subject: Help with KDM Sessions Reply with quote

:?: I'm having a problem with KDM sessions. Earlier, I created a couple of sessions and put them into /etc/X11/Sessions. And they showed up in the KDM window beautifully, and I could startup in them without any trouble. Then a few days later, I went into the KDE Control Center - System Administration - Login Manager, and choose a new GUI style for KDM. I saved the configuration, but now when I startup, KDM dosn't show the sessions in /etc/X11/Sessions, instead it has only kde, default, and failsafe (the kde session BTW does not start kde). Selecting any of them puts you at a command prompt in x, from where you have to enter 'startkde' to start KDE. This is annoying, is there any way I can get KDM acknowledge the sessions in /etc/X11/Sessions again. I'm almost ready to officially give up redhat for good :) , but fixing this would make me even more sure of it. Thanks all.

RHJ
Back to top
View user's profile Send private message
redhatJunkie
n00b
n00b


Joined: 19 Apr 2003
Posts: 15
Location: Kanagawa, Japan

PostPosted: Sun Jun 01, 2003 8:41 pm    Post subject: Reply with quote

Dosen't anybody have any ideas?
Back to top
View user's profile Send private message
mona-
n00b
n00b


Joined: 18 Dec 2002
Posts: 40

PostPosted: Tue Jun 03, 2003 1:01 pm    Post subject: Reply with quote

Have you set executable permission to the files that is in /etc/X11/Sessions/ ?
Back to top
View user's profile Send private message
redhatJunkie
n00b
n00b


Joined: 19 Apr 2003
Posts: 15
Location: Kanagawa, Japan

PostPosted: Tue Jun 03, 2003 1:14 pm    Post subject: Reply with quote

Yes, they are all owned by root, and have red and execute permission for all users. I've been looking into this alot over the past few days, but nothing is working. :cry:
Back to top
View user's profile Send private message
Zapp!
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2002
Posts: 77
Location: Germany

PostPosted: Tue Jun 03, 2003 3:44 pm    Post subject: Re: Help with KDM Sessions Reply with quote

In the KDM admin module of the control center, klick on the "Sessions" tab. There, type the name of your new session in the field "New Type".
Be careful that it exactly matches the filename in /etc/X11/Sessions!
Back to top
View user's profile Send private message
redhatJunkie
n00b
n00b


Joined: 19 Apr 2003
Posts: 15
Location: Kanagawa, Japan

PostPosted: Tue Jun 03, 2003 11:47 pm    Post subject: Reply with quote

OK, I went to the session tab in the admin module of the control center, and put the names of my new sessions in the fiels new type. Now when I boot up, KDM shows the correct sessions, but selecting them does not produce the correct results, they just start me in a command prompt within X. I made sure that the session names are exactly like they are in /etc/X11/Sessions. And I have not changed the session scripts, which were working before.

Any other ideas? :cry:
Back to top
View user's profile Send private message
sgermain
n00b
n00b


Joined: 04 Jun 2003
Posts: 19

PostPosted: Wed Jun 04, 2003 11:30 am    Post subject: same trouble Reply with quote

hi
i have exactly the same probleme, i think that is an other file that /etc/X11/Xsession that is use. but i dont know which. i recently emerge k3b and some dep in relation whit gnome. Probably that change the config file used ?!?!
Back to top
View user's profile Send private message
Zapp!
Tux's lil' helper
Tux's lil' helper


Joined: 11 Oct 2002
Posts: 77
Location: Germany

PostPosted: Wed Jun 04, 2003 12:02 pm    Post subject: Reply with quote

Sorry, for me it always worked the way it should when using the way described above.
Maybe you can find something in /usr/kde/3.1/share/config/kdm/kdmrc
Back to top
View user's profile Send private message
sgermain
n00b
n00b


Joined: 04 Jun 2003
Posts: 19

PostPosted: Wed Jun 04, 2003 7:34 pm    Post subject: resolve Reply with quote

tanks,
i replace my kdmrc and it work
Back to top
View user's profile Send private message
redhatJunkie
n00b
n00b


Joined: 19 Apr 2003
Posts: 15
Location: Kanagawa, Japan

PostPosted: Thu Jun 05, 2003 1:14 pm    Post subject: Reply with quote

I'll post mine:

Code:

[28]
(==) VESA(0): Using gamma correction (1.0, 1.0, 1.0)
(II) Module ddc: vendor="The XFree86 Project"
(II) Module int10: vendor="The XFree86 Project"
(II) Module vbe: vendor="The XFree86 Project"
compiled for 4.3.0, module version=1.0.0

[Shutdown]
HaltCmd=/sbin/halt
LiloCmd=/sbin/lilo
LiloMap=/boot/map
RebootCmd=/sbin/reboot
UseLilo=false

[X-*-Core]
AllowShutdown=Root
AutoReLogin=false

[X-*-Greeter]
AntiAliasing=false
ColorScheme=Default
DefaultUser=jlake
EchoMode=OneStar
FaceSource=AdminOnly
FailFont=helvetica,12,-1,5,75,0,0,0,0,0
FocusPasswd=false
GUIStyle=marble
GreetFont=charter,24,-1,5,50,0,0,0,0,0
GreetString=Welcome to %s at %n
GreeterPosFixed=false
GreeterPosX=100
GreeterPosY=100
HiddenUsers=root
Language=en_US
LogoArea=Logo
LogoPixmap=
MaxShowUID=65000
MinShowUID=1000
PreselectUser=None
SelectedUsers=
SessionTypes=kde-3.1.2,kde-3.1.2-English,kde-3.1.2-Japanese,Xsession,
ShowUsers=NotHidden
SortUsers=true
StdFont=helvetica,12,-1,5,50,0,0,0,0,0
UseBackground=true

[X-:*-Core]
AllowShutdown=All
NoPassEnable=false
NoPassUsers=

[X-:0-Core]
AutoLoginEnable=false
AutoLoginUser=jlake


the line of particular interest is:

Code:

SessionTypes=kde-3.1.2,kde-3.1.2-English,kde-3.1.2-Japanese,Xsession,


which is correct, those are my four sessions. But for some reason kdm doesn't look for these sessions in /etc/X11/Sessions anymore. I wish I knew where it was looking, and where the code to put it back in the right place was.

:? RHJ
Back to top
View user's profile Send private message
philip
Guru
Guru


Joined: 10 Jun 2003
Posts: 535
Location: Sweden

PostPosted: Tue Jun 10, 2003 8:33 pm    Post subject: Reply with quote

I have exactly the same problem. And no clue what to do. I have checked the sae configuration files as you have and they seem to be OK.

It is the second time it happens to me. The first time I re-installed Gentoo. But it takes time! One circumstance that is the same in both my cases is that I got disk full just before the odd behaviour started with kdm. I am not sure if this has anything to do with the problem though.

Anyones help on this topic would be really good.
_________________
/Phil
Back to top
View user's profile Send private message
gentooJunkie
n00b
n00b


Joined: 09 Jun 2003
Posts: 59
Location: Kalamazoo, MI, USA :()

PostPosted: Wed Jun 11, 2003 1:37 pm    Post subject: Reply with quote

Well, I'm not giving up on this, though I'm hoping it will be fixed with the next release of whatever package is causing this. This is clearly a bug, I'm going to check and see if its in Gentoos bugzilla, try to track down which file exactly is causing this (chooser.sh maybe?), and report it...

GJ
_________________
GO ASASHORYU!

Gen-toooooooooooooooooooooo!!!
Back to top
View user's profile Send private message
mpalladi
n00b
n00b


Joined: 16 Apr 2003
Posts: 47

PostPosted: Wed Jun 11, 2003 1:41 pm    Post subject: Reply with quote

Ie never been able to completely figure it out, I think it has something to do with this entry in kdmrc

Setup=/usr/X11R6/lib/X11/xdm/Xsetup_0

If you look in there, that the script that writes the session entries into kdmrc.

Ie just never been able to work out when it get's called, and how it ties into the kcontrol settings.

Hopefully others can fill the picture in
Back to top
View user's profile Send private message
M.u.r.k.
n00b
n00b


Joined: 27 Jun 2003
Posts: 21

PostPosted: Thu Jul 03, 2003 5:59 pm    Post subject: Reply with quote

I have the same problems here. I did some hacks in all scripts that came in my mind, but i never got a satisfying result. I think the problem is somewhere with kdm an the script it calls after pressing the login button. In kdm doc it says the script is called Xsession but i changed all instances of this script without any difference. Is there another script which is called by kdm?
Back to top
View user's profile Send private message
MOS-FET
Apprentice
Apprentice


Joined: 20 May 2003
Posts: 291
Location: Cologne, Germany

PostPosted: Thu Jul 03, 2003 9:06 pm    Post subject: Reply with quote

i've got the exact same damn annoying problem. i can do what i want, i have tried thousand things, nothing works. i always get this xterm where i have to enter startkde. i've even re-emerged kde, but it didn't work. can perhaps someone with a clean installation post his kdmrc, and /etc/X11/Sessions? i'll also search the kde bug database if there's something mentioned about this, i'll post it here if i find something.
Back to top
View user's profile Send private message
Leen
n00b
n00b


Joined: 07 Jul 2003
Posts: 4

PostPosted: Mon Jul 07, 2003 6:38 pm    Post subject: Reply with quote

Same problem here :(

But there should be a solution...i hope.

Maybe some of the devs can take a look at it?
_________________
There are 10 types of people,
those who understand binary and those who don't
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