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?
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