Report this

What is the reason for this report?

Failed Connections

Posted on May 25, 2019

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



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.