Connection problem after upgrade

After upgrading from 14.04 to 16.04, it asks for login information even without displaying the desktop login page. How to fix this problem?