Sun Secure Global Desktop Software - set prompt in .cshrc causing startup timeout in 4.3
In our generic login for csh users, we set the prompt with:
if ($?prompt) then
if ($?tcsh) then
set prompt='%m(%n)!: '
else
set prompt='`uname -n`(`whoami`)!: '
endif
endif
This works with a console login, an ssh, etc. for Solaris and RHEL systems. If we login to tarantella, we are able to login, but when an X application is started, the connection gui opens and the application will probably timeout. This happens with konsole, with full desktop, etc. If I comment out the section setting the prompt, there are no problems. Has anyone seen this? It seems very strange because the /etc/csh.cshrc sets the prompt without this happening.
[698 byte] By [
dwmurataa] at [2007-11-26 23:17:13]

# 1
You would want to modify how SGD is looking for the prompt character in
/opt/tarantella/var/serverresources/expect/vars.exp
Look for the line that goes:
set prompts(prompt) {[\\\$%>\\\#][ ]*$}
and try changing it to:
set prompts(prompt) {[\\\$%>\\\#:][ ]*$}
and see if that helps.
Wai.a at 2007-7-10 14:18:24 >

# 3
The expect script was looking for typical prompt characters like '$', '%', or '#' followed by one or more spaces. Since you modified your prompt to ':' followed by a space, SGD was having trouble looking for the prompt character.
So, to answer your question, if you changed the ':' to any one of the typical prompt characters, then it should be ok.
Wai.a at 2007-7-10 14:18:24 >
