This is normal, the bash instance doesn't have a terminal attached so
any terminal commands will fail. You acn do something like:
if [ -t 1 ]
then stty -tostop
fi
This applies to any commands that work on terminals including mesg n/y
which actually works by changing permissions on /dev/ttywhatever and in the
controlling intance of the shell in x2go there is no tty attached.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting.
Knowledgeable human assistance, not telephone trees or script readers.
See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Sat, 20 Aug 2016, René Genz wrote:
Date: Sat, 20 Aug 2016 21:54:37 +0200
From: "[UTF-8] René Genz" <liebundar...@freenet.de>
To: x2go-user@lists.x2go.org
Subject: [X2Go-User] 'stty -tostop' in shell config file prevents X2Go
connection
Hi,
is the following a bug or expected behavior?
stty -tostop
is in user shell configuration file on remote machine.
Local log on to remote machine is no problem.
X2Go connection to remote machine cannot be established with error message:
Error
---
Connection failed. stty: 'standard input': Inappropriate ioctl for device
stty: 'standard input': Inappropriate ioctl for device
[OK]
Removing the line was the only way to solve the issue.
I tested with:
- Bash and TCSH
${HOME}/.bashrc
${HOME}/.cshrc
- X2Go server: x2goserver-4.0.1.19-11.fc24.x86_64 Fedora 24 x86_64
- X2Go client: x2goclient-4.0.5.1-1.fc24.x86_64 on Fedora 24 x86_64 and Mac
OS X 10.10
--
Kind regards,
René
_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user
_______________________________________________
x2go-user mailing list
x2go-user@lists.x2go.org
http://lists.x2go.org/listinfo/x2go-user