Jump to content

How do I start the GNOME service for arch linux?

Go to solution Solved by Nayr438,

Its looks like you didnt make a grub config or didn't install the kernel. 

I would boot your install media again

  • fdisk -l
  • mount /dev/devicepartition /mnt
  • arch-chroot /mnt
  • pacman -Sy linux
  • grub-mkconfig -o /boot/grub/grub.cfg
  • exit
  • reboot

I have been trying to install Arch for a few days now but nothing works. Finally I found a guide that worked pretty well, but it doesn't show how to install a graphical interface, which is what I want. So then after installing the grub bootloader, i jumped to a different guide that actually showed how to install GNOME and Xorg. After a successful installation, i tried to start the service but it gave me an error that I was in chroot. Does anyone know what to do? i tried installing xorg and GNOME outside of chroot but it would give me a long list of never ending errors, effectively soft locking the vm and forcing me to restart the installation process. Could someone reply with a guide that they know is working or tell me how to install GNOME and Xorg and how to start it? Many thanks.

PC specs:

Ryzen 9 3900X overclocked to 4.3-4.4 GHz

Corsair H100i platinum

32 GB Trident Z RGB 3200 MHz 14-14-14-34

RTX 2060

MSI MPG X570 Gaming Edge wifi

NZXT H510

Samsung 860 EVO 500GB

2 TB WD hard drive

Corsair RM 750 Watt

ASUS ROG PG248Q 

Razer Ornata Chroma

Razer Firefly 

Razer Deathadder 2013

Logitech G935 Wireless

Link to comment
Share on other sites

Link to post
Share on other sites

Once upon a time it was type command: “gnome” That was a long time ago though.  There might have been flags.  I don’t recall.

 

Less than useful most likely :/ i just had to reply because the idea of starting gnome service just amused me too much.  Kind of like “white glove” service except gnomes.

Not a pro, not even very good.  I’m just old and have time currently.  Assuming I know a lot about computers can be a mistake.

 

Life is like a bowl of chocolates: there are all these little crinkly paper cups everywhere.

Link to comment
Share on other sites

Link to post
Share on other sites

You have it installed already? 

Have you looked at the wiki on how to start it?

 

If you want GNOME to start at boot, you should be enabling GDM, not gnome itself.

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
Share on other sites

Link to post
Share on other sites

24 minutes ago, igormp said:

You have it installed already? 

Have you looked at the wiki on how to start it?

 

If you want GNOME to start at boot, you should be enabling GDM, not gnome itself.

That vaguely rings for me.  When I was playing with gnome it was still beta.

Not a pro, not even very good.  I’m just old and have time currently.  Assuming I know a lot about computers can be a mistake.

 

Life is like a bowl of chocolates: there are all these little crinkly paper cups everywhere.

Link to comment
Share on other sites

Link to post
Share on other sites

if your in chroot, then your booted from the install media, you need to boot to your actual installation to actually start any services.

Also the default display manager for gnome is gdm, so you probably need to enable that. "systemctl enable --now gdm"

 

Link to comment
Share on other sites

Link to post
Share on other sites

33 minutes ago, igormp said:

You have it installed already? 

Have you looked at the wiki on how to start it?

 

If you want GNOME to start at boot, you should be enabling GDM, not gnome itself.

ah yes i meant this. so in this article: https://itsfoss.com/install-arch-linux/

they say to run this:

systemctl start gdm.service
systemctl enable gdm.service
systemctl enable NetworkManager.service

because this is a vm i dont think i need networkmanager. is this guide incorrect or is there something I am missing?

and to clarify, I CAN enable gdm but i just can't start it

PC specs:

Ryzen 9 3900X overclocked to 4.3-4.4 GHz

Corsair H100i platinum

32 GB Trident Z RGB 3200 MHz 14-14-14-34

RTX 2060

MSI MPG X570 Gaming Edge wifi

NZXT H510

Samsung 860 EVO 500GB

2 TB WD hard drive

Corsair RM 750 Watt

ASUS ROG PG248Q 

Razer Ornata Chroma

Razer Firefly 

Razer Deathadder 2013

Logitech G935 Wireless

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Nayr438 said:

if your in chroot, then your booted from the install media, you need to boot to your actual installation to actually start any services.

Also the default display manager for gnome is gdm, so you probably need to enable that. "systemctl enable --now gdm"

 

yes. Sorry i didn't clarify it in op but i just did after you posted. I can enable the service but I am unable to start it

PC specs:

Ryzen 9 3900X overclocked to 4.3-4.4 GHz

Corsair H100i platinum

32 GB Trident Z RGB 3200 MHz 14-14-14-34

RTX 2060

MSI MPG X570 Gaming Edge wifi

NZXT H510

Samsung 860 EVO 500GB

2 TB WD hard drive

Corsair RM 750 Watt

ASUS ROG PG248Q 

Razer Ornata Chroma

Razer Firefly 

Razer Deathadder 2013

Logitech G935 Wireless

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, eeeee1 said:

ah yes i meant this. so in this article: https://itsfoss.com/install-arch-linux/

they say to run this:


systemctl start gdm.service
systemctl enable gdm.service
systemctl enable NetworkManager.service

because this is a vm i dont think i need networkmanager. is this guide incorrect or is there something I am missing?

and to clarify, I CAN enable gdm but i just can't start it

If you want the VM to access the internet, installing network manager is a good idea.

 

What errors do you get when you try to start it?

FX6300 @ 4.2GHz | Gigabyte GA-78LMT-USB3 R2 | Hyper 212x | 3x 8GB + 1x 4GB @ 1600MHz | Gigabyte 2060 Super | Corsair CX650M | LG 43UK6520PSA
ASUS X550LN | i5 4210u | 12GB
Lenovo N23 Yoga

Link to comment
Share on other sites

Link to post
Share on other sites

5 hours ago, igormp said:

If you want the VM to access the internet, installing network manager is a good idea.

 

What errors do you get when you try to start it?

it says that i am trying to run this command inside of chroot at it is ignoring the start command. I am going to see if I can get a screenshot

PC specs:

Ryzen 9 3900X overclocked to 4.3-4.4 GHz

Corsair H100i platinum

32 GB Trident Z RGB 3200 MHz 14-14-14-34

RTX 2060

MSI MPG X570 Gaming Edge wifi

NZXT H510

Samsung 860 EVO 500GB

2 TB WD hard drive

Corsair RM 750 Watt

ASUS ROG PG248Q 

Razer Ornata Chroma

Razer Firefly 

Razer Deathadder 2013

Logitech G935 Wireless

Link to comment
Share on other sites

Link to post
Share on other sites

11 hours ago, eeeee1 said:

yes. Sorry i didn't clarify it in op but i just did after you posted. I can enable the service but I am unable to start it

6 hours ago, eeeee1 said:

it says that i am trying to run this command inside of chroot at it is ignoring the start command. I am going to see if I can get a screenshot

You can't start services or a graphical environment in a chroot...

Restart your system, after you land at the terminal and login, enable the services as stated above. If

you get errors, post them here....

Link to comment
Share on other sites

Link to post
Share on other sites

10 hours ago, Nayr438 said:

You can't start services or a graphical environment in a chroot...

Restart your system, after you land at the terminal and login, enable the services as stated above. If

you get errors, post them here....

so i followed these two guides:

https://itsfoss.com/install-arch-linux/ (to install the GUI)

https://linuxhint.com/install-arch-linux-virtualbox/ (to install every thing else grub, the base system, etc)

after what seemed like a proper installation, i enabled networkmanager and gnome. after i reboot, I am greeted by this:

image.png.b01f3046a722b766646f7e39fb309d0b.png

what do I do here? does this indicate a successful installation?

PC specs:

Ryzen 9 3900X overclocked to 4.3-4.4 GHz

Corsair H100i platinum

32 GB Trident Z RGB 3200 MHz 14-14-14-34

RTX 2060

MSI MPG X570 Gaming Edge wifi

NZXT H510

Samsung 860 EVO 500GB

2 TB WD hard drive

Corsair RM 750 Watt

ASUS ROG PG248Q 

Razer Ornata Chroma

Razer Firefly 

Razer Deathadder 2013

Logitech G935 Wireless

Link to comment
Share on other sites

Link to post
Share on other sites

Its looks like you didnt make a grub config or didn't install the kernel. 

I would boot your install media again

  • fdisk -l
  • mount /dev/devicepartition /mnt
  • arch-chroot /mnt
  • pacman -Sy linux
  • grub-mkconfig -o /boot/grub/grub.cfg
  • exit
  • reboot
Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Nayr438 said:

Its looks like you didnt make a grub config or didn't install the kernel. 

I would boot your install media again

  • fdisk -l
  • mount /dev/devicepartition /mnt
  • arch-chroot /mnt
  • pacman -Sy linux
  • grub-mkconfig -o /boot/grub/grub.cfg
  • exit
  • reboot

thanks for the quick response! i will be trying this out soon

PC specs:

Ryzen 9 3900X overclocked to 4.3-4.4 GHz

Corsair H100i platinum

32 GB Trident Z RGB 3200 MHz 14-14-14-34

RTX 2060

MSI MPG X570 Gaming Edge wifi

NZXT H510

Samsung 860 EVO 500GB

2 TB WD hard drive

Corsair RM 750 Watt

ASUS ROG PG248Q 

Razer Ornata Chroma

Razer Firefly 

Razer Deathadder 2013

Logitech G935 Wireless

Link to comment
Share on other sites

Link to post
Share on other sites

Also neither of those guides mention creating a user. Don't forget to make one unless you plan on just being root. You can do this while your in chroot.

 

useradd -mg users -G wheel,storage,power -s /bin/bash your_new_user

passwd your_new_user

 

and if you want to be able to use sudo

  • nano /etc/sudoers
  • uncomment 
    • %wheel ALL=(ALL) ALL
  • ctrl + x
  • y
  • ENTER
     
Link to comment
Share on other sites

Link to post
Share on other sites

33 minutes ago, Nayr438 said:

Also neither of those guides mention creating a user. Don't forget to make one unless you plan on just being root. You can do this while your in chroot.

 

useradd -mg users -G wheel,storage,power -s /bin/bash your_new_user

passwd your_new_user

 

and if you want to be able to use sudo

  • nano /etc/sudoers
  • uncomment 
    • %wheel ALL=(ALL) ALL
  • ctrl + x
  • y
  • ENTER
     

thanks a bunch! i can finally boot to arch! thanks for your time and instructions!

PC specs:

Ryzen 9 3900X overclocked to 4.3-4.4 GHz

Corsair H100i platinum

32 GB Trident Z RGB 3200 MHz 14-14-14-34

RTX 2060

MSI MPG X570 Gaming Edge wifi

NZXT H510

Samsung 860 EVO 500GB

2 TB WD hard drive

Corsair RM 750 Watt

ASUS ROG PG248Q 

Razer Ornata Chroma

Razer Firefly 

Razer Deathadder 2013

Logitech G935 Wireless

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×