Tuesday, May 7, 2024
 Popular · Latest · Hot · Upcoming
47
rated 0 times [  47] [ 0]  / answers: 1 / hits: 250471  / 2 Years ago, mon, september 26, 2022, 5:53:50

At the Ubuntu login page I have to hit Ctrl+Alt+F1 to be able to login as an user using the command line.



But how do I get to the command line first and then start the Ubuntu desktop from it?


More From » unity

 Answers
1

To return to the login screen


Press Ctrl+Alt+F7 to return to the login screen. You can exit your terminal session on tty1 by typing exit before you do that.


Doing startx -- :1 will start another X session under terminal tty1, logging you in directly (use :2, etc. for even more displays). Note that logging into multiple sessions as the same user is not recommended and could lead to system instability.




To skip the login screen completely, boot into the console and then start the GUI, you must modify GRUB:



  • sudo nano /etc/default/grub

  • Change line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="text"

  • Ctrl-X, press Y and then Enter to save and exit.

  • sudo update-grub

  • Reboot and you should come up directly in tty1 -- no need to press Ctrl-Alt-F1.

  • Login, and then startx to boot into the default desktop, or

    • unity for Unity

    • unity-2d-shell for Unity 2D

    • gnome-shell for Gnome

    • sudo service lightdm start to get the login screen (if you fix it :)




[#37742] Wednesday, September 28, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
cklaceowne

Total Points: 228
Total Questions: 102
Total Answers: 111

Location: Ivory Coast
Member since Sun, Mar 7, 2021
3 Years ago
cklaceowne questions
Sun, May 28, 23, 01:20, 1 Year ago
Fri, Aug 20, 21, 06:02, 3 Years ago
Thu, Jul 7, 22, 06:47, 2 Years ago
Fri, Jan 21, 22, 19:52, 2 Years ago
;