I found that somebody reported this problem in bug 1434. See link below. It says the bug was fixed in x2goserver  4.1.0.4. I am using Rocky Linux 8.8 and the Epel repo for it just has the 4.1.0.3 version of x2goserver.

I tried the suggestion of deleting the .bash_profile and .bashrc files but bash still used for me.

Will x2goserver be updated in the Epel repo any time soon? Is there anywhere else to get a more recent x2goserver rpm?

https://bugs.x2go.org/cgi-bin/bugreport.cgi?bug=1434

Thanks,
Joe

From: Joe W <jsw140@hotmail.com>
Sent: Tuesday, August 22, 2023 8:47 PM
To: x2go-user@lists.x2go.org <x2go-user@lists.x2go.org>
Subject: Wrong Shell When Connecting with X2Go
 
I have another system that I installed Rocky Linux 8.8 onto.

I created some logins and set the shell to be /usr/bin/tcsh.

I installed XFCE.

When I log in at the computer and open a terminal then the tcsh shell is being used as expected.

When I connect using X2Go then open a terminal the shell is bash.

Any idea why this is happening?

Thanks,
Joe