Connection has been gracefully closed

Forum for general user discussions related to Netspectrum Ubuntu Desktop AMI. ... tu+desktop
Posts: 1
Joined: Mon Jan 04, 2016 5:32 pm

Connection has been gracefully closed

Postby dianawong » Mon Jan 04, 2016 5:35 pm

Hi There,

I've successfully spun up your AMI image twice (thanks!). Oddly, however, about an hour after the instance creation, I am logged out from the ubuntu user account and unable to get back in via the browser or VNC. When I attempt to log back in I get the message "Connection has been gracefully closed."

SSH however, works great.

Any pointers?



Site Admin
Posts: 77
Joined: Tue May 26, 2015 9:52 pm

Re: Connection has been gracefully closed

Postby jsun » Fri Jan 15, 2016 3:28 pm


Per our private email exchange, I hope the suggestion has been working out for you. Just to close the loop, I'm posting our reply here as well.


Hi, Diana,

Thanks for the detailed bug reports.

So far we are unable to duplicate the 1-hour disconnection problem. However, the following command should enable to log into the system as "Ubuntu" user without a password. Please ssh into the machine and give it a try.

sudo sed -i -e "s#^ubuntu:[^:]*:#ubuntu::#" /etc/shadow

Please let us know if it works for you.


Return to “Ubuntu Desktop AMI users”

Who is online

Users browsing this forum: No registered users and 1 guest