after selecting tcsh as default shell - can't start session

Bug #18356 reported by pepster
8
Affects Status Importance Assigned to Milestone
gnupg (Ubuntu)
Fix Released
Medium
MOTU

Bug Description

(not sure if this is the right place to report - please transfer if not to right
place)

After changing my default shell to /usr/bin/tcsh - I can't start kde anymore.
Here is the end of .xsession-errors

startkde: Shutting down...
klauncher: Exiting on signal 1
kded: KDEDKMLDonkey::~KDEDKMLDonkey()
KWrited - Listening on Device /dev/pts/1
startkde: Running shutdown scripts...
startkde: Done.
gpg-agent[8390]: SIGTERM received - shutting down ...
gpg-agent[8390]: gpg-agent (GnuPG) 1.9.15 stopped
Xsession: X session started for edna at Wed Jun 22 17:24:56 NZST 2005
/etc/X11/Xsession.d/61pgp-agent: line 5: setenv: command not found
Xsession: X session started for edna at Wed Jun 22 17:35:49 NZST 2005

Revision history for this message
Vince Young (frink-exp) wrote :

I have experienced this bug. I saw bugs 7864 and 7620 regarding a similar problem with zsh, but the
problem persists with tcsh.

Revision history for this message
Vince Young (frink-exp) wrote :

PS -- I encountered this bug using the Kubuntu CD to do an entirely new
installation. A colleague of mine reports no problems using kdm with tcsh as
his default shell after installing kde packages from an Ubuntu installation.

Revision history for this message
Heiner (mephisto-gmx) wrote :

 (In reply to comment #2)
> PS -- I encountered this bug using the Kubuntu CD to do an entirely new
> installation. A colleague of mine reports no problems using kdm with tcsh as
> his default shell after installing kde packages from an Ubuntu installation.

This is simply resolved by changing
eval $(gpg-agent --daemon)
into
eval $(gpg-agent -s --daemon)

in /etc/X11/Xsession.d/61pgp-agent

The -s ensures that gpg-agent uses sh-syntax as required by /etc/X11/Xsession and not the syntax matching the shell of the
user.

Best Regards
Heiner Markert

Revision history for this message
Francois-Denis Gonthier (fdgonthier) wrote :

Any news on that bug?

Changed in kdebase:
status: Unconfirmed → Needs Info
Revision history for this message
Frode M. Døving (frode) wrote :

I think 61pgp-agent is replaced by 90gpg-agent which works. Please confirm.

Revision history for this message
Frode M. Døving (frode) wrote :

The file in question is in the gnupg-agent package, not kdebase.
The problem seems to be a old configfile (/etc/X11/Xsession.d/61pgp-agent) laying around making problems.

Changed in kdebase:
assignee: jr → motu
Revision history for this message
Frode M. Døving (frode) wrote :

* No activity last 11months.
* Can not reproduce.
Closing.

Please re-open if you can re-produce this.

Changed in gnupg:
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.