Lars Madsen wrote:
> Lars Madsen wrote:
>> Hi,
>>
>> I'm doing some tests to see if we can get LTSP 5 working in our setup. 
>> I'm having a few issues with LDM though. Here is my situation.
>>
>> One Ubuntu 9.04 server (virtualised), from where the client boots (the 
>> LTSP client was build from the Ubuntu server, no problem there)
>>
>> I have a RedHat RHEL 5.3 server with ltsp-server installed
>>
>> I have configured LDM to be able to log into the RedHat server. The user 
>> is verified, but the xsession exists immediately, and the client returns 
>> to LDM. The ldm.log on the client tells that it has started the session 
>> through ssh, but it exists immediately.
>>
>> I can ssh to the RedHat server from the client, so no problem there.
>>
>> I've also created a softlink /etc/X11/Xsession ->  /etc/X11/xinit/Xsession
>>
>> from inserting some echos in some rc scripts I can see that ssh tries to 
>> run
>>
>> Xsession gnome-session
>>
>> but as far as I can see that is not a valid option for the RedHat 
>> Xsession, so I tried changing to LDM_SESSION="gnome" but to no avail.
>>
>> Any ideas as to what might be wrong?
>>
>> /daleif
>>
> 
> found it, for legacy reasons we are using the tcsh shell, thus the ssh 
> call in X95-run-x-session fails for syntax reasons
> 
> I'll have a look into how this can be fixed in general.
> 


this seems to do the trick (at least I can get a session working)

in X95-run-x-session on the client, change

ssh <options> "...."

to

ssh <options> "/bin/bash -c '....'"

then it seems to be working again.


-- 

/daleif

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to