Best way to switch between GUI and terminal?

I have the latest Leap version installed on my Dell Latitude E7440. Everything is working fine and I have it setup to boot into the GUI and would like to revert back to the terminal so I enter “init 3” which takes it back to a point where I can hit CTRL + F2. From here I can login to the terminal, but I have no WiFi access. I tried to setup wpa_supplicant.conf, but when it errors out with invalid arguments and “Device or resource busy”

I want it to continue to boot to the GUI, but sometimes I would like to temporarily get to the terminal with no GUI access (trying to learn Linux w/o depending on the GUI too much.)
What’s the best way to do this?

You can access a virtual console with CTRL+ALT+F1 (or F2, F3, F4, F5, F6 not sure how many there are). CTRL+ALT+F7 takes you back to the one that has your gui running. BTW, these days you might want to get accustomed to systemd syntax. ‘init 3’ is now linked to ‘systemctl isolate multi-user.target’. You can read more on it here https://doc.opensuse.org/documentation/leap/reference/html/book.opensuse.reference/cha.systemd.html#sec.boot.systemd.targets

Hi
A bit different with systemd in play :wink:

So if you switch to a VT eg ctrl+alt+F2 login as root user;


Switch to runlevel 3 (init 3)
systemctl isolate multi-user.target

Switch to runlevel 5 (init 5)
systemctl isolate graphical.target

Set system to boot to runlevel 3;
systemctl set-default multi-user.target

Set system to boot to runlevel 5 (graphical)
systemctl set-default graphical.target

Look at switching to use wicked rather than NetworkManager, or use nmcli command.

By default NM is set for one user at a time. There is a setting to allow all users in the NM settings section. This causes MN to start early and be available to all users. Or use Wicked

The best is as you’ve been told above. The funnier is using a cool graphical terminal emulator in full screen, so you don’t “see” the GUI. I do like cool-retro-term from the OS repo (42.2 and 42.3), or you could use the GUI terminal emulator - that way I suppose you won’t have network issues - but the thing is the “cool” factor lol!. There’s a ton of presets and it is highly configurable - highly. I remember working in a 1980’s IBM terminal when the world was young, the emulation pretty much nails it. Fun!

Hi
I use twin on my raspberry pi’s…

There is no difference. “init 3”, “init 5” continue to work and are aliases to “systemctl isolate multi-user.target” or “graphical,target”.

Lots of great comments. It’s good to see such an active forum. I guess I was making this too complicated. CTL + ALT + F1 works fine. Thanks Merk!