Question

Failed Connections

Posted May 25, 2019 317 views
Configuration Management Ubuntu 18.04

I had taken the advice to add the user config to my droplet so I can connect with x2go.

I have tried to connect, once I connected I changed my password. I am now getting the following error.

Connection failed. mesg: ttyname failed: inappropriate loctl for device

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

Hello, @richardbohan

In your /home/user/.profile add the following line :

tty -s && mesg n

and remove any other “mesg” line which is the root cause of the problem.

Hope this helps.

Submit an Answer