Linux desktop not working

Can’t start ubuntu-desktop after upgrade to 18.04

After the restart step of upgrading Ubuntu to 18.04, tty is opening instead ubuntu-desktop. And when I enter my login name and password, I am still in the tty. This is happening again in every restart. How can I start the graphical desktop as normal?

Which desktop environment are you selecting from the gear drop down menu next to the Sifn In button? The first four options don’t work for me. Only the bottom option (Unity) works for me.

Using journalctl -f in a terminal and then trying to login again, I was able to see it barfed on a corrupted notifications file. Deleting this file took care of the problem. Possibly caused by a bad shutdown? I’m thinking there might be more such problems. Discovered the solution here: gitlab.gnome.org/GNOME/gnome-shell/-/issues/1552 (Using tmux to scroll back in the terminal was critical.)

2 Answers 2

Try logging in to your default desktop environment from the tty virtual console.

  1. Open a text-only virtual console by using the keyboard shortcut Ctrl + Alt + F3 .
  2. At the login: prompt type your username and press Enter .
  3. At the Password: prompt type your user password and press Enter .
  4. Now you are logged in to a virtual console, and you can run terminal commands from the console.

Run the following command:

sudo systemctl start graphical.target 

If that doesn’t work, switch the login display manager from gdm3 to lightdm.

sudo apt install lightdm sudo dpkg-reconfigure lightdm sudo reboot 

sudo dpkg-reconfigure lightdm will open up a new window allowing you to select lightdm as the default login display manager. Use the arrow keys to select lightdm and press the Tab key to put the focus on and press Enter . Then reboot by running this command: sudo reboot

If that doesn’t work either see if you can at least switch to text mode (for troubleshooting purposes) with no GUI stuff like the X server running.

sudo systemctl start multi-user.target 

Источник

FIXED- Ubuntu black/blank screen (no desktop icons) after login | vetechno

ubuntu black screen with cursor ubuntu black screen no bios ubuntu screen goes black randomly ubuntu black screen after grub ubuntu black screen after update ubuntu 22.04 black screen after login ubuntu 20.04 black screen with cursor ubuntu 20.04 black screen after login

Hey guys, you might have faced this problem in Ubuntu 22.04 LTS and Ubuntu 20.04 LTS. This generally happens when your are installing a compiz or updating any software, upgrading software, due to NVIDIA graphics, due to broken packages.

I had also faced the same issue when I was trying to install Ubuntu unity desktop on Ubuntu 16.04 LTS. And I got the solution how to fix black screen (no desktop icon) after login Ubuntu 18.04 LTS.

Читайте также:  Линукс минт настройка видеокарты

So here I’m sharing the solution step by step commands, only you have to just copy and paste the command in the terminal by pressing CTRL+ALT+F1 in desktop area.

Below are the Solutions to fix Ubuntu 18.04 blank screen (no desktop icons) after login:-

Solution 1:

Ubuntu 18.04 desktop icons not showing

First, open terminal by CTRL+ALT+F1

Now restart your Ubuntu machine, and then you can log in again normally.

Solution 2 :

Ubuntu 20.04 desktop icons missing

If the above doesn’t work, then try this

First, open terminal by CTRL+ALT+F1

sudo apt-get install –reinstall ubuntu-desktop
sudo apt-get install unity

Also Read:

Solution 3 :

Ubuntu desktop icons not working

If none of the above work for you, then try this:

None of the above worked for you then you have to upgrade your Ubuntu for example from Ubuntu 16.04 to Ubuntu 18.04 or Ubuntu 18.04 to Ubuntu 20.04. Don’t worry your data will be safe.

First, open terminal by CTRL+ALT+F1

Now reboot your system and that’s is! Viola, You will have Unity back, and now you can get back to work, make some stunning design again with your Ubuntu laptop/desktop.

There are a few things that could be causing the issue with the icons on your Ubuntu desktop not working.

  1. Corrupted icon cache: You can try rebuilding the icon cache by running the command “gsettings set org.gnome.desktop.interface icon-theme ‘Name_of_icon_theme’” in the terminal, replacing “Name_of_icon_theme” with the name of the icon theme you’re currently using.
  2. Missing dependencies: Make sure that you have all the necessary dependencies installed for the icon theme you’re using. You can install them using the command “sudo apt-get install [dependency]”
  3. Permission issues: Check the permissions on the icon files and folders. They should be set to 644 for files and 755 for directories.
  4. Conflicting theme: If you have installed multiple icon themes, it may be causing conflicts. Try uninstalling all but one icon theme to see if that resolves the issue.

If none of the above solutions work, you can try reinstalling the desktop environment or reinstalling ubuntu.

Ubuntu 22.04 desktop icons not showing

If the icons on your Ubuntu 22.04 desktop are not showing, there are a few things you can try to troubleshoot the issue:

  1. Restart the Nautilus file manager: You can do this by running the command “ nautilus -q ” in the terminal.
  2. Check the icon theme: Make sure that you have the correct icon theme selected in your settings. You can change the icon theme by going to Settings > Appearance > Icons .
  3. Check for missing dependencies: Some icon themes may require additional dependencies to work correctly. Make sure that you have all the necessary dependencies installed for the icon theme you’re using.
  4. Check for Gnome-shell extensions: Some gnome-shell extensions can cause the icons not to show. Try disabling or uninstalling the extensions and see if that fixes the issue.
  5. Delete icon cache files: Sometimes the icon cache files may get corrupted, try deleting the icon cache files located in ~/.cache/icon-cache and ~/.local/share/gvfs-metadata
Читайте также:  Линукс минт откатить систему

If none of the above solutions work, you can try reinstalling the Ubuntu desktop environment by running

sudo apt-get install --reinstall ubuntu-desktop
  1. Check for updates: Make sure that you have the latest updates installed for your system. You can check for updates by running the command in the terminal.

sudo apt-get update && sudo apt-get upgrade

sudo apt-get —reinstall install [package name]

It’s also worth noting that this issue could also be caused by a third-party application or a hardware issue. If none of the above solutions work, you may want to consider creating a new user account and see if the issue persists or not.

Ubuntu 22.04 black screen after login

If you’re experiencing a black screen after logging into Ubuntu 22.04, there are a few things you can try to troubleshoot the issue:

  1. Check for a hardware issue: Make sure that your graphics card and monitor are working properly. Try connecting your monitor to a different computer or a different port on your computer to see if the issue is with the hardware.
  2. Check your display settings: Make sure that your display settings are set correctly. Try changing the resolution or refresh rate in the display settings.
  3. Check for a third-party application causing the issue: Some third-party applications can cause the black screen issue. Try logging in to your system in safe mode by holding the left shift key while booting and see if the issue persists.
  4. Check for an issue with your graphics driver: Try switching to a different graphics driver. You can do this by going to settings > Additional Drivers and then selecting a different driver.
  5. Check for an issue with your window manager: Try switching to a different window manager. You can do this by running the command “sudo apt-get install xfwm4” and then select xfwm4 in the settings.
  6. Check for an issue with the .Xauthority file: Sometimes the .Xauthority file can become corrupt, causing the black screen issue. Try renaming the .Xauthority file to .Xauthority_bak and then reboot your system.
  7. Check for an issue with the .config file: Sometimes the .config file can become corrupt, causing the black screen issue. Try renaming the .config folder to .config_bak and then reboot your system.

If none of the above solutions work, you may want to consider reinstalling your Ubuntu 22.04 or creating a new user account and see if the issue persists or not.

Ubuntu 22.04 screen goes black randomly . How to fix step by step with command.

If your Ubuntu 22.04 screen goes black randomly, there are a few steps you can try to troubleshoot the issue, using the command line:

Читайте также:  Arch linux testing linux

    Check the system logs: You can check the system logs to see if there are any error messages related to the screen going black. Run the below command to view the system logs.

It’s worth noting that this issue could be caused by a variety of factors, so it may take some trial and error to find the solution that works for you. If none of the above solutions work, you may want to consider creating a new user account or reinstalling Ubuntu 22.04 to see if the issue persists or not.

Also Read:

Conclusion

In conclusion, if you’re experiencing a black screen on Ubuntu 22.04 randomly, there are several steps you can try to troubleshoot the issue. These include checking the system logs, checking for hardware issues, updating your graphics driver, checking for problems with the Xorg server, checking the power settings, checking the GPU, reinstalling the gnome-shell and resetting your settings. It’s worth noting that this issue could be caused by a variety of factors, so it may take some trial and error to find the solution that works for you. If none of the above solutions work, you may want to consider creating a new user account or reinstalling Ubuntu 22.04 to see if the issue persists or not. It’s always a good idea to backup your important files before attempting any of these steps.

Источник

Ubuntu Desktop does not load [duplicate]

Desktop

If I login on my Ubuntu 14.04, I get the following desktop: This weird behavior appeared after I executed sudo apt-get update && sudo apt-get upgrade and restarted my computer. Don’t know why though. To my Ubuntu I have tried the following (nothing seems to work so far) Fix any broken packages:

sudo apt-get update sudo apt-get autoclean sudo apt-get clean sudo apt-get autoremove 
sudo apt-get install debsums sudo apt-get clean sudo debsums_init sudo debsums -cs sudo apt-get install --reinstall $(sudo dpkg -S $(sudo debsums -c) | cut -d : -f 1 | sort -u) 
rm -r ~/.cache/compizconfig-1 rm -r ~/.compiz 
sudo apt-get install --reinstall ubuntu-desktop sudo apt-get install unity sudo apt-get purge nvidia* bumblebee* sudo apt-get install nvidia-prime sudo shutdown -r now 
sudo apt-get install compizconfig-settings-manager export DISPLAY=:0 ccsm // Back to UI and enablement of Unity Plugin 
dconf reset -f /org/compiz/ unity --reset-icons &disown 
error: Cannot autolaunch D-Bus without X11 $DISPLAY 
  • Intel® Core™ i7-3770
  • ASUS GTX660TI-DC2-OG-2GD5 (NVIDIA driver is/was installed)
  • ASUS P8Z77-V LX
  • Corsair DIMM 8 GB DDR3-1600 Kit
  • Samsung 830series 2,5″ 256 GB (Windows is installed here)
  • Seagate ST31000524AS 1 TB (3/4 are reserved for files; 1/4 is for Ubuntu (16GB swap included))

Источник

Оцените статью
Adblock
detector