Ubuntu 11.04 Server Login Problems

  • Thread starter Thread starter natski
  • Start date Start date
  • Tags Tags
    Server Ubuntu
Click For Summary
SUMMARY

The discussion centers on login issues encountered on an Ubuntu 11.04 Server after installing a GUI via the command sudo apt-get install ubuntu-desktop. Users report being unable to log in with the correct credentials, as the screen merely refreshes without any error messages. Suggested troubleshooting steps include checking log files such as ~/.xsession-errors and /var/log/syslog, as well as attempting to log in through a different TTY using CTRL + ALT + F1 or via SSH. The problem may stem from a missing or incorrectly installed window manager related to X11 or Gnome.

PREREQUISITES
  • Familiarity with Ubuntu 11.04 Server and its command line interface
  • Basic understanding of GUI installation on Linux systems
  • Knowledge of log file locations and their significance in troubleshooting
  • Experience with TTY access and SSH for remote login
NEXT STEPS
  • Investigate the contents of ~/.xsession-errors for error messages related to the GUI
  • Review /var/log/syslog for any system-level errors during login attempts
  • Learn how to access different TTYs using CTRL + ALT + F1 to troubleshoot login issues
  • Explore SSH login methods to access the server remotely for further diagnostics
USEFUL FOR

This discussion is beneficial for system administrators, Linux enthusiasts, and users troubleshooting GUI-related login issues on Ubuntu servers.

natski
Messages
262
Reaction score
2
Hi all,

I bought my first server recently preinstalled with Ubuntu 11.04 Server. To my surprise, there was no GUI so I installed a GUI using sudo apt-get install ubuntu-desktop

After startup, I get a login screen with options 'default user', 'other user' and 'guest'. When I click default user and type in a random (i.e. wrong) password a message flashes up that the password is invalid as expected. When I type in the correct password for the only user registered on the system the monitor turns off for a second then turns back on with the same screen as before on. i.e. there is no 'invalid password' message or anything. The same thing happens when I click 'other user' and type in my username and password.

As a result, I can't login! The only way I can get in is a guest but then I can't sudo anything or really do anything on the system, so it's useless.

What's going on here?

natski
 
Last edited:
Computer science news on Phys.org
Can you check the log files and see if there is anything relevant?
I'm thinking in particular ~/.xsession-errors or - if that doesn't help - /var/log/syslog.

It might be something like a missing or incorrectly installed window manager (something with X11, LDM or Gnome)
 
natski said:
Hi all,

I bought my first server recently preinstalled with Ubuntu 11.04 Server. To my surprise, there was no GUI so I installed a GUI using sudo apt-get install ubuntu-desktop

Ubuntu server is headless.

natski said:
After startup, I get a login screen with options 'default user', 'other user' and 'guest'. When I click default user and type in a random (i.e. wrong) password a message flashes up that the password is invalid as expected. When I type in the correct password for the only user registered on the system the monitor turns off for a second then turns back on with the same screen as before on. i.e. there is no 'invalid password' message or anything. The same thing happens when I click 'other user' and type in my username and password.

As a result, I can't login! The only way I can get in is a guest but then I can't sudo anything or really do anything on the system, so it's useless.

What's going on here?

natski

Can you log in using your username/password on another TTY? (e.g. CTRL + ALT + F1) Or use SSH?

Also, maybe look at dmesg.
 

Similar threads

Replies
6
Views
9K
Replies
10
Views
3K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 12 ·
Replies
12
Views
5K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
2
Views
6K
  • · Replies 3 ·
Replies
3
Views
13K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K