Hi,

On  Mi 10 Jul 2019 16:29:01 CEST, Jeff Sadowski wrote:

I had posted the bash one here before I just ran into some tcsh users
that where having similar issues so I thought it might be helpful.

My .bashrc starts with the 2 lines

if [ "$BASH_EXECUTION_STRING" != "" ]; then return 0; fi
# do not add items before this line

This helps with sftp and x2go if you have things that interfere with
x2go or sftp like changing directories or adding paths that might
interfere or just code block that might interfere.

for tcsh add the following 2 lines to the top of your .cshrc

if ( `set |grep "^command.bash" |grep "X2GO"` != "" ) exit
# do not add items before this line

As we cannot fiddle with user space files (~/.bashrc and such) in packaging, this should either be reported to your distro's bash package (to modify .bashrc in /etc/skel) or added to the X2Go wiki.

Greets,
Mike
--

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: [email protected], http://das-netzwerkteam.de

Attachment: pgp8on8Js63OR.pgp
Description: Digitale PGP-Signatur

_______________________________________________
x2go-user mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-user

Reply via email to