Arch Linux, “hang” on “Reached target Graphical Interface”












2















EDIT: I just tried gnome and gdm and it worked flawlessly. So something with the virtualbox packages and the SDDM package seems to not work.



At first this question looks like this one (Arch Linux stuck at boot (reached target Graphical Interface)), however, I can still change to a different TTY.



Anyways, the following used to work before, but results in a core dump of sddm since recently. Interestingly enough, systems I simply update, which used this install method, do still work, but new installations lead to the issues below.



When installing Arch Linux in VirtualBox with Windows 10 as host system, I use this minimum [non]working example that is based on the official Arch Installer guide and used to work:



parted

mklabel GPT
mkpart ESP fat32 1MiB 513MiB
mkpart primary ext4 513MiB 100%
set 1 boot on
quit

mkfs.ext4 /dev/sda2
mkfs.fat -F32 /dev/sda1

mount /dev/sda2 /mnt

mkdir -p /mnt/boot
mount /dev/sda1 /mnt/boot

pacstrap /mnt base base-devel
virtualbox-guest-modules-arch
virtualbox-guest-utils
sddm plasma

arch-chroot /mnt bootctl --path=/boot install

cat <<-END > /mnt/boot/loader/entries/arch.conf
title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=PARTUUID=$( blkid -s PARTUUID -o value /dev/sda2 ) rw
END

cat <<-END > /mnt/boot/loader/loader.conf
default arch
timeout 4
editor 0
END

genfstab -pU /mnt >> /mnt/etc/fstab

arch-chroot /mnt systemctl enable sddm

arch-chroot /mnt useradd -m -G wheel -s /bin/bash bob


It hangs on "reached target Graphical interface" but I can still use ctrl+alt+F2 in contrast to this question (Arch Linux stuck at boot (reached target Graphical Interface)) and calling journalctl -b -p err yields:



enter image description hereenter image description here



And here with more info:
enter image description hereenter image description here










share|improve this question




















  • 2





    unfortunately my VBox currently produces the same error...

    – GPMueller
    Dec 19 '16 at 19:55
















2















EDIT: I just tried gnome and gdm and it worked flawlessly. So something with the virtualbox packages and the SDDM package seems to not work.



At first this question looks like this one (Arch Linux stuck at boot (reached target Graphical Interface)), however, I can still change to a different TTY.



Anyways, the following used to work before, but results in a core dump of sddm since recently. Interestingly enough, systems I simply update, which used this install method, do still work, but new installations lead to the issues below.



When installing Arch Linux in VirtualBox with Windows 10 as host system, I use this minimum [non]working example that is based on the official Arch Installer guide and used to work:



parted

mklabel GPT
mkpart ESP fat32 1MiB 513MiB
mkpart primary ext4 513MiB 100%
set 1 boot on
quit

mkfs.ext4 /dev/sda2
mkfs.fat -F32 /dev/sda1

mount /dev/sda2 /mnt

mkdir -p /mnt/boot
mount /dev/sda1 /mnt/boot

pacstrap /mnt base base-devel
virtualbox-guest-modules-arch
virtualbox-guest-utils
sddm plasma

arch-chroot /mnt bootctl --path=/boot install

cat <<-END > /mnt/boot/loader/entries/arch.conf
title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=PARTUUID=$( blkid -s PARTUUID -o value /dev/sda2 ) rw
END

cat <<-END > /mnt/boot/loader/loader.conf
default arch
timeout 4
editor 0
END

genfstab -pU /mnt >> /mnt/etc/fstab

arch-chroot /mnt systemctl enable sddm

arch-chroot /mnt useradd -m -G wheel -s /bin/bash bob


It hangs on "reached target Graphical interface" but I can still use ctrl+alt+F2 in contrast to this question (Arch Linux stuck at boot (reached target Graphical Interface)) and calling journalctl -b -p err yields:



enter image description hereenter image description here



And here with more info:
enter image description hereenter image description here










share|improve this question




















  • 2





    unfortunately my VBox currently produces the same error...

    – GPMueller
    Dec 19 '16 at 19:55














2












2








2








EDIT: I just tried gnome and gdm and it worked flawlessly. So something with the virtualbox packages and the SDDM package seems to not work.



At first this question looks like this one (Arch Linux stuck at boot (reached target Graphical Interface)), however, I can still change to a different TTY.



Anyways, the following used to work before, but results in a core dump of sddm since recently. Interestingly enough, systems I simply update, which used this install method, do still work, but new installations lead to the issues below.



When installing Arch Linux in VirtualBox with Windows 10 as host system, I use this minimum [non]working example that is based on the official Arch Installer guide and used to work:



parted

mklabel GPT
mkpart ESP fat32 1MiB 513MiB
mkpart primary ext4 513MiB 100%
set 1 boot on
quit

mkfs.ext4 /dev/sda2
mkfs.fat -F32 /dev/sda1

mount /dev/sda2 /mnt

mkdir -p /mnt/boot
mount /dev/sda1 /mnt/boot

pacstrap /mnt base base-devel
virtualbox-guest-modules-arch
virtualbox-guest-utils
sddm plasma

arch-chroot /mnt bootctl --path=/boot install

cat <<-END > /mnt/boot/loader/entries/arch.conf
title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=PARTUUID=$( blkid -s PARTUUID -o value /dev/sda2 ) rw
END

cat <<-END > /mnt/boot/loader/loader.conf
default arch
timeout 4
editor 0
END

genfstab -pU /mnt >> /mnt/etc/fstab

arch-chroot /mnt systemctl enable sddm

arch-chroot /mnt useradd -m -G wheel -s /bin/bash bob


It hangs on "reached target Graphical interface" but I can still use ctrl+alt+F2 in contrast to this question (Arch Linux stuck at boot (reached target Graphical Interface)) and calling journalctl -b -p err yields:



enter image description hereenter image description here



And here with more info:
enter image description hereenter image description here










share|improve this question
















EDIT: I just tried gnome and gdm and it worked flawlessly. So something with the virtualbox packages and the SDDM package seems to not work.



At first this question looks like this one (Arch Linux stuck at boot (reached target Graphical Interface)), however, I can still change to a different TTY.



Anyways, the following used to work before, but results in a core dump of sddm since recently. Interestingly enough, systems I simply update, which used this install method, do still work, but new installations lead to the issues below.



When installing Arch Linux in VirtualBox with Windows 10 as host system, I use this minimum [non]working example that is based on the official Arch Installer guide and used to work:



parted

mklabel GPT
mkpart ESP fat32 1MiB 513MiB
mkpart primary ext4 513MiB 100%
set 1 boot on
quit

mkfs.ext4 /dev/sda2
mkfs.fat -F32 /dev/sda1

mount /dev/sda2 /mnt

mkdir -p /mnt/boot
mount /dev/sda1 /mnt/boot

pacstrap /mnt base base-devel
virtualbox-guest-modules-arch
virtualbox-guest-utils
sddm plasma

arch-chroot /mnt bootctl --path=/boot install

cat <<-END > /mnt/boot/loader/entries/arch.conf
title Arch Linux
linux /vmlinuz-linux
initrd /initramfs-linux.img
options root=PARTUUID=$( blkid -s PARTUUID -o value /dev/sda2 ) rw
END

cat <<-END > /mnt/boot/loader/loader.conf
default arch
timeout 4
editor 0
END

genfstab -pU /mnt >> /mnt/etc/fstab

arch-chroot /mnt systemctl enable sddm

arch-chroot /mnt useradd -m -G wheel -s /bin/bash bob


It hangs on "reached target Graphical interface" but I can still use ctrl+alt+F2 in contrast to this question (Arch Linux stuck at boot (reached target Graphical Interface)) and calling journalctl -b -p err yields:



enter image description hereenter image description here



And here with more info:
enter image description hereenter image description here







arch-linux desktop display-manager






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 13 '17 at 12:36









Community

1




1










asked Dec 18 '16 at 15:12









NOhsNOhs

13319




13319








  • 2





    unfortunately my VBox currently produces the same error...

    – GPMueller
    Dec 19 '16 at 19:55














  • 2





    unfortunately my VBox currently produces the same error...

    – GPMueller
    Dec 19 '16 at 19:55








2




2





unfortunately my VBox currently produces the same error...

– GPMueller
Dec 19 '16 at 19:55





unfortunately my VBox currently produces the same error...

– GPMueller
Dec 19 '16 at 19:55










3 Answers
3






active

oldest

votes


















2














It seems that SDDM/KDE no longer pulls xorg-server packages automatically. So if one adds the xorg-server package it works.



Found solution here: https://github.com/sddm/sddm/issues/605#issuecomment-275938076






share|improve this answer































    0














    I had the same (or a very similar issue). It would stop at reached target graphical interface and I could switch tty. Fom there I could restart gdm and after a couple of tries it would start.



    If you are using the proprietary nvidia graphics drivers with xorg you can use this solution. To fix this, open /etc/gdm/custom.conf and uncomment #WaylandEnable=false.






    share|improve this answer































      0














      I had an issue with similar symptoms after migrating some disks to new hardware, but could see nothing fishy in the logs after enabling debug logging. The machine also had no dm software installed. I also noticed that some services weren't starting.



      It turns out some of the target files under /etc (eg /etc/systemd/system/multi-user.target.wants/sshd.service were not symlinks as they are meant to be, and may have just had stale code in them. I fixed my issue by removing all non-symlink target files and recreating them with systemctl enable or just manually linking to the appropriate target under /usr/lib/systemd/ - The specific target that was causing my failure was a stale /etc/systemd/system/getty.target.wants/getty@tty1.service






      share|improve this answer























        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "106"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });














        draft saved

        draft discarded


















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f331233%2farch-linux-hang-on-reached-target-graphical-interface%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        2














        It seems that SDDM/KDE no longer pulls xorg-server packages automatically. So if one adds the xorg-server package it works.



        Found solution here: https://github.com/sddm/sddm/issues/605#issuecomment-275938076






        share|improve this answer




























          2














          It seems that SDDM/KDE no longer pulls xorg-server packages automatically. So if one adds the xorg-server package it works.



          Found solution here: https://github.com/sddm/sddm/issues/605#issuecomment-275938076






          share|improve this answer


























            2












            2








            2







            It seems that SDDM/KDE no longer pulls xorg-server packages automatically. So if one adds the xorg-server package it works.



            Found solution here: https://github.com/sddm/sddm/issues/605#issuecomment-275938076






            share|improve this answer













            It seems that SDDM/KDE no longer pulls xorg-server packages automatically. So if one adds the xorg-server package it works.



            Found solution here: https://github.com/sddm/sddm/issues/605#issuecomment-275938076







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 30 '17 at 20:20









            NOhsNOhs

            13319




            13319

























                0














                I had the same (or a very similar issue). It would stop at reached target graphical interface and I could switch tty. Fom there I could restart gdm and after a couple of tries it would start.



                If you are using the proprietary nvidia graphics drivers with xorg you can use this solution. To fix this, open /etc/gdm/custom.conf and uncomment #WaylandEnable=false.






                share|improve this answer




























                  0














                  I had the same (or a very similar issue). It would stop at reached target graphical interface and I could switch tty. Fom there I could restart gdm and after a couple of tries it would start.



                  If you are using the proprietary nvidia graphics drivers with xorg you can use this solution. To fix this, open /etc/gdm/custom.conf and uncomment #WaylandEnable=false.






                  share|improve this answer


























                    0












                    0








                    0







                    I had the same (or a very similar issue). It would stop at reached target graphical interface and I could switch tty. Fom there I could restart gdm and after a couple of tries it would start.



                    If you are using the proprietary nvidia graphics drivers with xorg you can use this solution. To fix this, open /etc/gdm/custom.conf and uncomment #WaylandEnable=false.






                    share|improve this answer













                    I had the same (or a very similar issue). It would stop at reached target graphical interface and I could switch tty. Fom there I could restart gdm and after a couple of tries it would start.



                    If you are using the proprietary nvidia graphics drivers with xorg you can use this solution. To fix this, open /etc/gdm/custom.conf and uncomment #WaylandEnable=false.







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Aug 31 '18 at 14:59









                    FlorensFlorens

                    11




                    11























                        0














                        I had an issue with similar symptoms after migrating some disks to new hardware, but could see nothing fishy in the logs after enabling debug logging. The machine also had no dm software installed. I also noticed that some services weren't starting.



                        It turns out some of the target files under /etc (eg /etc/systemd/system/multi-user.target.wants/sshd.service were not symlinks as they are meant to be, and may have just had stale code in them. I fixed my issue by removing all non-symlink target files and recreating them with systemctl enable or just manually linking to the appropriate target under /usr/lib/systemd/ - The specific target that was causing my failure was a stale /etc/systemd/system/getty.target.wants/getty@tty1.service






                        share|improve this answer




























                          0














                          I had an issue with similar symptoms after migrating some disks to new hardware, but could see nothing fishy in the logs after enabling debug logging. The machine also had no dm software installed. I also noticed that some services weren't starting.



                          It turns out some of the target files under /etc (eg /etc/systemd/system/multi-user.target.wants/sshd.service were not symlinks as they are meant to be, and may have just had stale code in them. I fixed my issue by removing all non-symlink target files and recreating them with systemctl enable or just manually linking to the appropriate target under /usr/lib/systemd/ - The specific target that was causing my failure was a stale /etc/systemd/system/getty.target.wants/getty@tty1.service






                          share|improve this answer


























                            0












                            0








                            0







                            I had an issue with similar symptoms after migrating some disks to new hardware, but could see nothing fishy in the logs after enabling debug logging. The machine also had no dm software installed. I also noticed that some services weren't starting.



                            It turns out some of the target files under /etc (eg /etc/systemd/system/multi-user.target.wants/sshd.service were not symlinks as they are meant to be, and may have just had stale code in them. I fixed my issue by removing all non-symlink target files and recreating them with systemctl enable or just manually linking to the appropriate target under /usr/lib/systemd/ - The specific target that was causing my failure was a stale /etc/systemd/system/getty.target.wants/getty@tty1.service






                            share|improve this answer













                            I had an issue with similar symptoms after migrating some disks to new hardware, but could see nothing fishy in the logs after enabling debug logging. The machine also had no dm software installed. I also noticed that some services weren't starting.



                            It turns out some of the target files under /etc (eg /etc/systemd/system/multi-user.target.wants/sshd.service were not symlinks as they are meant to be, and may have just had stale code in them. I fixed my issue by removing all non-symlink target files and recreating them with systemctl enable or just manually linking to the appropriate target under /usr/lib/systemd/ - The specific target that was causing my failure was a stale /etc/systemd/system/getty.target.wants/getty@tty1.service







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Feb 21 at 14:14









                            ShawnShawn

                            1714




                            1714






























                                draft saved

                                draft discarded




















































                                Thanks for contributing an answer to Unix & Linux Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f331233%2farch-linux-hang-on-reached-target-graphical-interface%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                How to make a Squid Proxy server?

                                第一次世界大戦

                                Touch on Surface Book