1

I had Ubuntu installed and wanted to remove Python 3. I accidently removed every Python version installed because I didn't know Ubuntu Desktop needs Python to run. I had to reinstall Ubuntu completely (I almost didn't have any files). But now upon bootup my PC gets stuck in the purple screen. I force-shut it down and boot it backup. The screen with Memtest and Advanced Options appears, I select Ubuntu and then it briefly checks some blocks and boots up as to be expected. I don't want to run through this procedure every single time. Do you have any ideas what could cause these problems? Is it a problem with GRUB? I have got a Dell Inspiron 5300 Tower.

UPDATE:

This is my lightdm.log file:

[+0.02s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.02s] DEBUG: Starting Light Display Manager 1.16.4, UID=0 PID=650
[+0.02s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.02s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.02s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
[+0.02s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.02s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.02s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.02s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.02s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.02s] DEBUG: Registered seat module xlocal
[+0.02s] DEBUG: Registered seat module xremote
[+0.02s] DEBUG: Registered seat module unity
[+0.03s] DEBUG: Monitoring logind for seats
[+0.03s] DEBUG: New seat added from logind: seat0
[+0.03s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.03s] DEBUG: Seat seat0: Starting
[+0.03s] DEBUG: Seat seat0: Creating user session
[+0.03s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.03s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.08s] DEBUG: Seat seat0: Creating display server of type x
[+0.09s] DEBUG: Deactivating Plymouth
[+0.11s] DEBUG: Using VT 7
[+0.11s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.11s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.11s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+0.11s] DEBUG: DisplayServer x-0: Launching X Server
[+0.11s] DEBUG: Launching process 662: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -n$
[+0.11s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.11s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.11s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.55s] DEBUG: Got signal 10 from process 662
[+0.55s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+0.55s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+0.55s] DEBUG: Quitting Plymouth; retaining splash
[+0.57s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+0.57s] DEBUG: Session pid=669: Started with service 'lightdm-autologin', username 'steve'
[+0.60s] DEBUG: Session pid=669: Authentication complete with return value 0: Success
[+0.60s] DEBUG: Seat seat0: Session authenticated, running command
[+0.60s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManage/Session0
[+0.61s] DEBUG: Session pid=669: Running command /usr/sbin/lightdm-session gnome-session --session=ubuntu
[+0.61s] DEBUG: Creating shared data directory /var/lib/lightdm-data/steve
[+0.61s] DEBUG: Session pid=669: Logging to .xsession-errors
[+0.84s] DEBUG: Activating VT 7
[+0.84s] DEBUG: Activating login1 session c1
[+0.84s] DEBUG: Seat seat0 changes active session to c1
[+0.84s] DEBUG: Session c1 is already active

And this is my x-o.log file:

X.Org X Server 1.17.2
Release Date: 2015-06-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.19.0-30-generic x86_64 Ubuntu
Current Operating System: Linux ubuntu-x64-steve 4.2.0-16-generic #19-Ubuntu SMP Thu Oct 8 15:35:06 UTC 2015 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.2.0-16-generic root=UUID=1ce2943d-991b-4263-9d84-34617abe91f1 ro quiet splash
Build Date: 30 September 2015  09:08:47AM
xorg-server 2:1.17.2-1ubuntu9 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.32.6
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Tue Nov  3 17:13:09 2015
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

I know it's kind of messy but I didn't know how to do it better ATM. There are also .old.log versions of these files do you need them?

  • 1
    If you did a clean reinstall, it's not relevant for the question what happened before. But you may NOT remove Python 3 at all! It's necessary for many Ubuntu programs! As well as Python 2. Never remove any Python. – Byte Commander Oct 27 '15 at 14:23
  • This could be a lightdm / greeter issue. Could you update your question with the content of lightdm.log and x-0-greeter.log – Prolix Nov 1 '15 at 16:37
  • x-0-greeter.log doesn't exist in my /var/log/lightdm directory. I pasted the x-0.log file's content. – steveroch-rs Nov 3 '15 at 16:32
  • If you just installed Ubuntu, wouldn't it be easier to just re-install it instead of trying to fix this issue? – David Foerster Feb 12 '16 at 7:48

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.