LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Help me: my log in screen turned into a shell or terminal. Now I can't change desktop environments, nor do I know how to revert it back. (https://www.linuxquestions.org/questions/linux-newbie-8/help-me-my-log-in-screen-turned-into-a-shell-or-terminal-now-i-can%27t-change-desktop-environments-nor-do-i-know-how-to-revert-it-back-4175715654/)

Fx317 08-14-2022 03:06 AM

Help me: my log in screen turned into a shell or terminal. Now I can't change desktop environments, nor do I know how to revert it back.
 
While I was installing chicagofier, I checked the zhs prompt option. Now when it rebooted my computer, the whole thing was a terminal. It asked for my username and password. Then it just asked me to input commands.

My friend taught me that I could just enter the desktop by typing in startx.

I need help to revert the log in screen into a normal one again. Because I can't choose desktop environments anymore.

The distro I use is cutefishOS.
I tried to use chicagofier with the xfce DE. What should I do to fix my situation.

rtmistler 08-14-2022 09:52 AM

Seems like xfce didn't get set as the default XDM.

First you may wish to reboot if you actually haven't done that after installing.

Check /etc/X11/default-display-manager and make sure it points to xfce.
Possibly /usr/sbin/xfce, but I'm not sure I do not use the DM myself.

DavidMcCann 08-15-2022 07:48 AM

It's difficult to help without knowing the details of Cutefish, like which program handles the log-in. The distro is still at beta-test stage, so breakages are inevitable. In fact, the whole project may be about to collapse: https://linuxiac.com/what-happens-to-cutefishos/

Fx317 08-15-2022 09:13 AM

Quote:

Originally Posted by rtmistler (Post 6373671)
Seems like xfce didn't get set as the default XDM.

First you may wish to reboot if you actually haven't done that after installing.

Check /etc/X11/default-display-manager and make sure it points to xfce.
Possibly /usr/sbin/xfce, but I'm not sure I do not use the DM myself.


So I'm not really good with commands. What commands should I do in order to do that?

jmgibson1981 08-15-2022 09:42 AM

If I may, before you go chasing problems. Did you accidentally switch the tty? Ctrl-Alt-F{1-7} will each land you on a different tty. The GUI typically starts on one of those. Work through them to make sure you didn't just change it from where it's already running?

rtmistler 08-15-2022 09:44 AM

Quote:

Originally Posted by Fx317 (Post 6373840)
So I'm not really good with commands. What commands should I do in order to do that?

The "reboot" command reboots the system, or also "shutdown -r now" will reboot. You may need to use sudo, as in "sudo reboot" or "sudo shutdown -r now"

To find xfce, try "which xfce" and that should be in the /etc/X11/default-display-manager file.

DavidMcCann 08-16-2022 12:04 PM

Try this command after log in, and then reboot:
Code:

sudo systemctl set-default graphical.target
Incidentally, the Cutefish OS site says that its desktop is "built using Qt Quick and some KDE basic frameworks." — nothing to do with Xfce.


All times are GMT -5. The time now is 11:59 AM.