You are not logged in.

#1 2025-04-09 17:03:28

jebez
Member
From: France
Registered: 2025-01-15
Posts: 104

Where to put this in the wiki?

Switch between the CLI & GUI

Here not (Ctrl+)Alt+F<number> to switch to a virtual console or GUI https://wiki.archlinux.org/title/Keyboa … nd_Wayland https://wiki.archlinux.org/title/Linux_ … _shortcuts, but like if you installed Arch Linux CLI, no DE.

From GUI to CLI:

sudo systemctl isolate multi-user

From CLI to GUI:

sudo systemctl isolate graphical

Boot to CLI:

sudo systemctl set-default multi-user

Boot to GUI:

sudo systemctl set-default graphical

Check the default:

sudo systemctl get-default

Source: https://www.redhat.com/en/blog/configur … up-targets

Last edited by jebez (2025-04-09 20:43:09)

Offline

#2 2025-04-09 17:56:38

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 12,700
Website

Re: Where to put this in the wiki?


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2025-04-09 17:58:53

mackin_cheese
Member
Registered: 2025-01-07
Posts: 418

Re: Where to put this in the wiki?

It's already in the wiki, you could have searched for it.

Offline

#4 2025-04-09 20:01:28

jebez
Member
From: France
Registered: 2025-01-15
Posts: 104

Re: Where to put this in the wiki?

https://wiki.archlinux.org/index.php?se … v=acrw1_-1 not very clear...

I googled "switch gui cli linux" I found the source link of my 1st post, even "change graphical console" in Search ArchWiki gaves nothing...

But yes there's it.

Last edited by jebez (2025-04-09 21:20:32)

Offline

#5 2025-04-09 20:23:37

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 2,231
Website

Re: Where to put this in the wiki?

The second link WorMzy provided exactly shows how to change the current target.
There is no point in explicitly listing commands for each and every of the plethora of targets available.

[root@srv system]# ls *.target
basic.target                hybrid-sleep.target        nss-user-lookup.target     sound.target
blockdev@.target            initrd-fs.target           paths.target               ssh-access.target
bluetooth.target            initrd-root-device.target  poweroff.target            storage-target-mode.target
boot-complete.target        initrd-root-fs.target      printer.target             suspend-then-hibernate.target
cryptsetup-pre.target       initrd-switch-root.target  reboot.target              suspend.target
cryptsetup.target           initrd-usr-fs.target       remote-cryptsetup.target   swap.target
ctrl-alt-del.target         initrd.target              remote-fs-pre.target       sysinit.target
default.target              integritysetup-pre.target  remote-fs.target           system-update-pre.target
emergency.target            integritysetup.target      remote-veritysetup.target  system-update.target
exit.target                 kexec.target               rescue.target              time-set.target
factory-reset.target        local-fs-pre.target        rpcbind.target             time-sync.target
final.target                local-fs.target            shutdown.target            timers.target
first-boot-complete.target  machines.target            sigpwr.target              tpm2.target
getty-pre.target            multi-user.target          sleep.target               umount.target
getty.target                network-online.target      slices.target              usb-gadget.target
graphical.target            network-pre.target         smartcard.target           veritysetup-pre.target
halt.target                 network.target             sockets.target             veritysetup.target
hibernate.target            nss-lookup.target          soft-reboot.target
[root@srv system]#

Inofficial first vice president of the Rust Evangelism Strike Force

Offline

Board footer

Powered by FluxBB