Hello!
As I've written in the title I'm running into the following problem: my desktop environment disappeared some hours ago.
I installed Debian 9.6.0 this morning on my laptop. At the moment I have Windows 10 in my main SSD and a partition of my HDD with Debian "9.6.0". The whole OS was running just fine this morning but after some restarts at one point when I click on Debian in the bootloader it doesen't start with my actual desktop environment, that is Cinnamon, and it only launches the bash interface. My main user and the root user have the same password that I've set during the installation process and even the domain of the system. So think that the system itself it's still integer but I don't know how it doesn't manage to load Cinnamon. Moreover if I remember correctly this problem happened after I've started Windows 10 for the first time after the installation, this could be related.
Help this newbie guys ahaha
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
The desktop environment has disappeared
The desktop environment has disappeared
Last edited by deb-ian on 2018-12-23 15:03, edited 1 time in total.
Re: The desktop environment disappeared
Perhaps a problem with the display-manager
(that thing which usually is seen after boot, just like the tty you see now, a username and a password to login and run X ).
Been ages i ran a display-manager, and things have changed since systemd (which i don't use either).
A good start to troubleshoot the problem would be to log in and run "startx"
iirc back in the days you had to first "service stop lightdm/whatyouhave", but with systemd things have changed. Try a simple "startx" first of all, perhaps it will already give a hint what might be wrong.
If no one jumps in you might try: and reboot, then login and run "startx"
also something like:
dpkg -l | grep cinnamon
or: apt-cache policy cinnamon
or such. Probably superfluous, as you would have realized if it was removed.
~/.xsession-errors (~ = /home/username) or
/var/log/Xorg.0.log
might have hints too.
(that thing which usually is seen after boot, just like the tty you see now, a username and a password to login and run X ).
Been ages i ran a display-manager, and things have changed since systemd (which i don't use either).
A good start to troubleshoot the problem would be to log in and run "startx"
iirc back in the days you had to first "service stop lightdm/whatyouhave", but with systemd things have changed. Try a simple "startx" first of all, perhaps it will already give a hint what might be wrong.
If no one jumps in you might try:
Code: Select all
echo false >/etc/X11/default-display-manager" will also disable the DM,
also something like:
dpkg -l | grep cinnamon
or: apt-cache policy cinnamon
or such. Probably superfluous, as you would have realized if it was removed.
~/.xsession-errors (~ = /home/username) or
/var/log/Xorg.0.log
might have hints too.
Re: The desktop environment disappeared
Thank you!!xepan wrote:Perhaps a problem with the display-manager
(that thing which usually is seen after boot, just like the tty you see now, a username and a password to login and run X ).
Been ages i ran a display-manager, and things have changed since systemd (which i don't use either).
A good start to troubleshoot the problem would be to log in and run "startx"
iirc back in the days you had to first "service stop lightdm/whatyouhave", but with systemd things have changed. Try a simple "startx" first of all, perhaps it will already give a hint what might be wrong.
If no one jumps in you might try:and reboot, then login and run "startx"Code: Select all
echo false >/etc/X11/default-display-manager" will also disable the DM,
also something like:
dpkg -l | grep cinnamon
or: apt-cache policy cinnamon
or such. Probably superfluous, as you would have realized if it was removed.
~/.xsession-errors (~ = /home/username) or
/var/log/Xorg.0.log
might have hints too.
I'll try it lately I'll let you know with a post
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 72 times
Re: The desktop environment has disappeared
You could also log in in the terminal interface and look at your apt history log
(most recent changes at the end of the file)
to see if any recent updates or removals could be to blame.
Code: Select all
cat /var/log/apt/history.log | more
to see if any recent updates or removals could be to blame.
MX Linux packager and developer
Re: The desktop environment disappeared
Thank you!xepan wrote:Perhaps a problem with the display-manager
(that thing which usually is seen after boot, just like the tty you see now, a username and a password to login and run X ).
Been ages i ran a display-manager, and things have changed since systemd (which i don't use either).
A good start to troubleshoot the problem would be to log in and run "startx"
iirc back in the days you had to first "service stop lightdm/whatyouhave", but with systemd things have changed. Try a simple "startx" first of all, perhaps it will already give a hint what might be wrong.
If no one jumps in you might try:and reboot, then login and run "startx"Code: Select all
echo false >/etc/X11/default-display-manager" will also disable the DM,
also something like:
dpkg -l | grep cinnamon
or: apt-cache policy cinnamon
or such. Probably superfluous, as you would have realized if it was removed.
~/.xsession-errors (~ = /home/username) or
/var/log/Xorg.0.log
might have hints too.
I've tried writing the command "startx" at the begging, but the OS tells me that it was waiting for an X server to begin accepting the connection. What is that? And about what server is it writing about?
Then I've entered the code that you've suggested me:
Code: Select all
echo false >/etc/X11/default-display-manager
- None1975
- df -h | participant
- Posts: 1404
- Joined: 2015-11-29 18:23
- Location: Russia, Kaliningrad
- Has thanked: 46 times
- Been thanked: 70 times
Re: The desktop environment has disappeared
For pictures use thumbnail links. Also, try as root or sudo.
Code: Select all
dpkg-reconfigure lightdm
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github
Debian Wiki | DontBreakDebian, My config files on github
Re: The desktop environment has disappeared
A display-manager is just a piece of software which helps you to log in and (usually) start a graphical environment.
lightdm is one display-manager, but there are several (gdm is another one, slim another one, ssdm too ).
Usually desktop-environments have a default display manager (say gnome uses gdm), but it is not a hard requisite.
The other option is to not use a display-manager, but boot to tty, log in, and, if wanted, start a graphical environment with the command startx.
I wouldn't worry too much about the details. It will come with time.
There might be some people who switch back and forth, but most pick one way to log in and stick to it. No need to know that much about other solutions. imho, of course.
lightdm is one display-manager, but there are several (gdm is another one, slim another one, ssdm too ).
Usually desktop-environments have a default display manager (say gnome uses gdm), but it is not a hard requisite.
The other option is to not use a display-manager, but boot to tty, log in, and, if wanted, start a graphical environment with the command startx.
I wouldn't worry too much about the details. It will come with time.
There might be some people who switch back and forth, but most pick one way to log in and stick to it. No need to know that much about other solutions. imho, of course.
Re: The desktop environment has disappeared
We run across problems like this often in Devuan because of how the systemd/policykit stuff interacts with various WM. If you are using sysvinit rather than systemd that could possibly be the source of your issue. There could be a hard systemd dependency in there that is preventing X from launching. Just a guess. You can read how we deal with session management HERE.
May the FORK be with you!