trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: February 2011

Re: [trinity-users] svn kdm chooser - not allowing login?

From: "David C. Rankin" <drankinatty@...>
Date: Fri, 18 Feb 2011 12:57:44 -0600
On 02/18/2011 12:14 PM, David C. Rankin wrote:
> On 02/18/2011 09:41 AM, David C. Rankin wrote:
>> On 02/18/2011 09:20 AM, Serghei Amelian wrote:
>>> On Friday 18 February 2011 16:48:56 David C. Rankin wrote:
>>>
>>> [...]
>>>
>>>> Hmm. problem with kdebase + pam:
>>>
>>> Should work now, fixed in svn.
>>>
>>> [...]
>>>
>>
>> You're great!
>>
> 
> kdm chooser no longer gives "Login Failed", but after entering user and pw, I am
> dropped back to the text console.
> 
> My session choices are "default" and "failsafe" with no choice for "Trinity".
> I'm pretty sure this means I don't have a Trinity.desktop file being seen by the
> chooser.
> 
> Where does the Trinity chooser look for session files (trinity.desktop,
> fluxbox.desktop, etc..)
> 
> I can just link a quick .desktop file there if I know where it is looking...
> 

OK,

	I'm getting there. I get "Trinity" as a choice now in the chooser, but it still
drops me back to the console. Here is what I did:

(1) create a trinity.desktop file in /etc/X11/sessions

[Desktop Entry]
Encoding=UTF-8
Type=XSession
Exec=/opt/trinity/bin/startkde
TryExec=/opt/trinity/bin/startkde
Name=Trinity
Comment=The Trinity Desktop Environment. A powerful Open Source graphical
desktop environment

(2) edit /opt/trinity/share/config/kdm/kdmrc and change:

SessionDirs=/etc/X11/sessions


	Now Trinity and fluxbox show in the chooser, but choosing either and trying to
login drops me back to the console. Any reason kdm should not be launching
trinity when I choose Trinity as the session?

	The only .xsession-error was

/etc/X11/Xsession didn't exist

	So I fixed /opt/trinity/share/config/kdm/Xsession (line 46) as

[[ -f /etc/X11/Xsession ]] && . /etc/X11/Xsession

	That cured the error, but I'm still dropped back to the console. Any quick
fixes Serghei?


-- 
David C. Rankin, J.D.,P.E.