Ubuntu 18.04: Videos not playing, can only login using “Ubuntu on Wayland”

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












Today I was facing the issue that videos (YouTube and other sites) in Chrome and Firefox won't start playing (I can jump around single frames inside the videos by clicking in the timeline) while it was working fine until earlier today.



I'm running Ubuntu 18.04 on a DELL M3800 (Nvidia GPU).



I tried uninstalling nvidia-340 and now I'm no longer able to login to "Ubuntu" but only "Ubuntu on Wayland" at login screen.



Re-installing nvidia-340 or installing nvidia-390 didn't fix it.



When choosing "Ubuntu" the screen turns black for a second and then returns back to the login screen me being logged out again.



Update: I tried to set nomodeset in GRUB but this didn't fix it.



Update 2: sudo ubuntu-drivers autoinstall didn't fix it neither.



Update 3: uncommenting #WaylandEnable=false and re-commenting it in /etc/gdm3/custom.conf seems to have fixed the login loop. But now I'm now longer able start terminal. Mouse turns into a spinner for a few seconds but terminal is not starting.



Update 4: dbus-launch gnome-terminal launches terminal after I ran sudo chown username.username -R .dbus



Update 5: This answer fixed my broken terminal (and by reading the answer I noticed Nautilus was broken as well).



Update 6: Fix from Update 5 is not permanent.



Update 7: switching back to bash from zsh fixed the terminal/nautilus issues permanently. But I'm still not able to play videos and I'm not able to install any of the Nvidia drivers.



Update 8: Update 7 was not permanent.







share|improve this question


























    up vote
    1
    down vote

    favorite












    Today I was facing the issue that videos (YouTube and other sites) in Chrome and Firefox won't start playing (I can jump around single frames inside the videos by clicking in the timeline) while it was working fine until earlier today.



    I'm running Ubuntu 18.04 on a DELL M3800 (Nvidia GPU).



    I tried uninstalling nvidia-340 and now I'm no longer able to login to "Ubuntu" but only "Ubuntu on Wayland" at login screen.



    Re-installing nvidia-340 or installing nvidia-390 didn't fix it.



    When choosing "Ubuntu" the screen turns black for a second and then returns back to the login screen me being logged out again.



    Update: I tried to set nomodeset in GRUB but this didn't fix it.



    Update 2: sudo ubuntu-drivers autoinstall didn't fix it neither.



    Update 3: uncommenting #WaylandEnable=false and re-commenting it in /etc/gdm3/custom.conf seems to have fixed the login loop. But now I'm now longer able start terminal. Mouse turns into a spinner for a few seconds but terminal is not starting.



    Update 4: dbus-launch gnome-terminal launches terminal after I ran sudo chown username.username -R .dbus



    Update 5: This answer fixed my broken terminal (and by reading the answer I noticed Nautilus was broken as well).



    Update 6: Fix from Update 5 is not permanent.



    Update 7: switching back to bash from zsh fixed the terminal/nautilus issues permanently. But I'm still not able to play videos and I'm not able to install any of the Nvidia drivers.



    Update 8: Update 7 was not permanent.







    share|improve this question
























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      Today I was facing the issue that videos (YouTube and other sites) in Chrome and Firefox won't start playing (I can jump around single frames inside the videos by clicking in the timeline) while it was working fine until earlier today.



      I'm running Ubuntu 18.04 on a DELL M3800 (Nvidia GPU).



      I tried uninstalling nvidia-340 and now I'm no longer able to login to "Ubuntu" but only "Ubuntu on Wayland" at login screen.



      Re-installing nvidia-340 or installing nvidia-390 didn't fix it.



      When choosing "Ubuntu" the screen turns black for a second and then returns back to the login screen me being logged out again.



      Update: I tried to set nomodeset in GRUB but this didn't fix it.



      Update 2: sudo ubuntu-drivers autoinstall didn't fix it neither.



      Update 3: uncommenting #WaylandEnable=false and re-commenting it in /etc/gdm3/custom.conf seems to have fixed the login loop. But now I'm now longer able start terminal. Mouse turns into a spinner for a few seconds but terminal is not starting.



      Update 4: dbus-launch gnome-terminal launches terminal after I ran sudo chown username.username -R .dbus



      Update 5: This answer fixed my broken terminal (and by reading the answer I noticed Nautilus was broken as well).



      Update 6: Fix from Update 5 is not permanent.



      Update 7: switching back to bash from zsh fixed the terminal/nautilus issues permanently. But I'm still not able to play videos and I'm not able to install any of the Nvidia drivers.



      Update 8: Update 7 was not permanent.







      share|improve this question














      Today I was facing the issue that videos (YouTube and other sites) in Chrome and Firefox won't start playing (I can jump around single frames inside the videos by clicking in the timeline) while it was working fine until earlier today.



      I'm running Ubuntu 18.04 on a DELL M3800 (Nvidia GPU).



      I tried uninstalling nvidia-340 and now I'm no longer able to login to "Ubuntu" but only "Ubuntu on Wayland" at login screen.



      Re-installing nvidia-340 or installing nvidia-390 didn't fix it.



      When choosing "Ubuntu" the screen turns black for a second and then returns back to the login screen me being logged out again.



      Update: I tried to set nomodeset in GRUB but this didn't fix it.



      Update 2: sudo ubuntu-drivers autoinstall didn't fix it neither.



      Update 3: uncommenting #WaylandEnable=false and re-commenting it in /etc/gdm3/custom.conf seems to have fixed the login loop. But now I'm now longer able start terminal. Mouse turns into a spinner for a few seconds but terminal is not starting.



      Update 4: dbus-launch gnome-terminal launches terminal after I ran sudo chown username.username -R .dbus



      Update 5: This answer fixed my broken terminal (and by reading the answer I noticed Nautilus was broken as well).



      Update 6: Fix from Update 5 is not permanent.



      Update 7: switching back to bash from zsh fixed the terminal/nautilus issues permanently. But I'm still not able to play videos and I'm not able to install any of the Nvidia drivers.



      Update 8: Update 7 was not permanent.









      share|improve this question













      share|improve this question




      share|improve this question








      edited May 15 at 7:12

























      asked May 13 at 23:58









      Alexander Zeitler

      4452522




      4452522




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          I partially solved the issue doing this:




          1. dpkg-divert --list | grep nvidia-340 to show all nvidia-340 dependecies

          2. For all of them I did dpkg-divert --remove *path*

          3. apt --fix-broken install

          4. apt update

          5. apt upgrade

          6. ubuntu-drivers devices


          7. ubuntu-drivers autoinstall
            Then reboot.
            In case the screen resolution is lower than possible follow this tutorial

          Hope you'll solve.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            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',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1035891%2fubuntu-18-04-videos-not-playing-can-only-login-using-ubuntu-on-wayland%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            I partially solved the issue doing this:




            1. dpkg-divert --list | grep nvidia-340 to show all nvidia-340 dependecies

            2. For all of them I did dpkg-divert --remove *path*

            3. apt --fix-broken install

            4. apt update

            5. apt upgrade

            6. ubuntu-drivers devices


            7. ubuntu-drivers autoinstall
              Then reboot.
              In case the screen resolution is lower than possible follow this tutorial

            Hope you'll solve.






            share|improve this answer
























              up vote
              0
              down vote













              I partially solved the issue doing this:




              1. dpkg-divert --list | grep nvidia-340 to show all nvidia-340 dependecies

              2. For all of them I did dpkg-divert --remove *path*

              3. apt --fix-broken install

              4. apt update

              5. apt upgrade

              6. ubuntu-drivers devices


              7. ubuntu-drivers autoinstall
                Then reboot.
                In case the screen resolution is lower than possible follow this tutorial

              Hope you'll solve.






              share|improve this answer






















                up vote
                0
                down vote










                up vote
                0
                down vote









                I partially solved the issue doing this:




                1. dpkg-divert --list | grep nvidia-340 to show all nvidia-340 dependecies

                2. For all of them I did dpkg-divert --remove *path*

                3. apt --fix-broken install

                4. apt update

                5. apt upgrade

                6. ubuntu-drivers devices


                7. ubuntu-drivers autoinstall
                  Then reboot.
                  In case the screen resolution is lower than possible follow this tutorial

                Hope you'll solve.






                share|improve this answer












                I partially solved the issue doing this:




                1. dpkg-divert --list | grep nvidia-340 to show all nvidia-340 dependecies

                2. For all of them I did dpkg-divert --remove *path*

                3. apt --fix-broken install

                4. apt update

                5. apt upgrade

                6. ubuntu-drivers devices


                7. ubuntu-drivers autoinstall
                  Then reboot.
                  In case the screen resolution is lower than possible follow this tutorial

                Hope you'll solve.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 10 at 14:41









                Sara Caruso

                2316




                2316






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1035891%2fubuntu-18-04-videos-not-playing-can-only-login-using-ubuntu-on-wayland%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                    Trouble downloading packages list due to a “Hash sum mismatch” error

                    How do I move numbers in filenames, in a batch renaming operation?