Linux Mint GUI stays black after login

xet*_*a11 6 login boot linux-mint

Suddenly this happens: When I boot my noteback linux mint boots to the login screen. Then after I logged in the mouse cursor is visible centered on a black background. And thats where nothing more happens. I tried to use startx but same problem there...stays black.

One thing. I removed wpasupplicant package before this happened. I'm sure I saw some "cinnamon" removing while the removal processed. Might it be that my cinnamon - which is the GUI isn't it? - has been removed aswell?

I'd like to give you more debug log / informations - but I'm not familiar in doing so. I'm used to work in Terminal for coding but something need to get into GUI for browsing.

EDIT: When trying to switch cinnamon on the login screen (the lambda symbol) this error message appears

Xsession: unable to launch "gnome-session-cinnamon" Xsession…."gnome-session-cinnamon" not found: falling back to default session.
Run Code Online (Sandbox Code Playgroud)

Might it be that there really is an issue with cinnamon after the removal of wpasupplicant package?

EDIT2:我找到了一个描述上述错误消息的链接:https ://forums.linuxmint.com/viewtopic.php?t=156684 他们告诉sudo apt-get install --reinstall cinnamon. 有趣的是,如果没有 GUI,我无法连接到 WIFI。终端需要wpasupplicant我最近删除的包;) 是的!

Dmi*_*yev 0

好吧,cinnamon取决于network-manager又取决于wpasupplicant,这就是为什么删除后者也删除了前者。为了避免从系统中擦除重要内容,建议的操作过程是

apt-mark auto wpasupplicant # mark the package as "auto", i.e. not needed by the user
apt-get autoremove          # remove unneeded packages
Run Code Online (Sandbox Code Playgroud)

这样,wpasupplicant就不会被删除,因为其他包需要它,即使您告诉系统您不需要它。