Ubuntu desktop slows down





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















At once I will say that I am new to using linux. I use Ubuntu 18.04.2 LTS. And I had a problem with the desktop. The desktop sometimes slows down and folders do not always drag to another location and freezing. What could be the problem?



For @Marmayogi request



free --giga
total used free shared buff/cache available
Mem: 8 1 5 0 1 5
Swap: 2 0 2


sudo lshw -short -class memory
H/W path Device Class Description
====================================================
/0/0 memory 64KiB BIOS
/0/8 memory 8GiB System Memory
/0/8/0 memory 8GiB SODIMM DDR4 Synchronous 2400 MHz (0,
/0/8/1 memory [empty]
/0/8/2 memory [empty]
/0/8/3 memory [empty]
/0/e memory 128KiB L1 cache
/0/f memory 512KiB L2 cache
/0/10 memory 4MiB L3 cache
/0/100/1f.2 memory Memory controller


For @heynnema request



ls -al ~/.local/share/gnome-shell/extensions
total 12
drwxrwxr-x 3 zuodion zuodion 4096 apr 6 10:25 .
drwx------ 3 zuodion zuodion 4096 apr 6 19:10 ..
drwxrwxr-x 3 zuodion zuodion 4096 apr 6 10:25 user-theme@gnome-shell-extensions.gcampax.github.com









share|improve this question

























  • Comments are not for extended discussion; this conversation has been moved to chat.

    – terdon
    Apr 7 at 14:09











  • @zuodion are you opening up and using multiple applications on your ubuntu system concurrently? What about your browser activities? Are you a heavy internet surfer? Are you often keeping up multiple web pages on your browser concurrently?

    – Marmayogi
    Apr 7 at 15:21











  • @Marmayogi This problem occurs even if applications or browsers are not running.

    – zuodion
    Apr 7 at 16:13











  • @zuodion you have a 2 GB swap already. You can have multiple swap files under Ubuntu. Why don't you create an additional 4 GB swap file and verify the problem is solved or not. Later, it is found that this does not yield desired results, then you can always delete it! No harm done! To create a swap file, refer How to create a SWAP file. Please give a try!

    – Marmayogi
    Apr 7 at 16:31













  • @zuodion I just got caught up with the chat... and it sounds like 18.10 worked for you, yes?

    – heynnema
    Apr 7 at 17:13


















1















At once I will say that I am new to using linux. I use Ubuntu 18.04.2 LTS. And I had a problem with the desktop. The desktop sometimes slows down and folders do not always drag to another location and freezing. What could be the problem?



For @Marmayogi request



free --giga
total used free shared buff/cache available
Mem: 8 1 5 0 1 5
Swap: 2 0 2


sudo lshw -short -class memory
H/W path Device Class Description
====================================================
/0/0 memory 64KiB BIOS
/0/8 memory 8GiB System Memory
/0/8/0 memory 8GiB SODIMM DDR4 Synchronous 2400 MHz (0,
/0/8/1 memory [empty]
/0/8/2 memory [empty]
/0/8/3 memory [empty]
/0/e memory 128KiB L1 cache
/0/f memory 512KiB L2 cache
/0/10 memory 4MiB L3 cache
/0/100/1f.2 memory Memory controller


For @heynnema request



ls -al ~/.local/share/gnome-shell/extensions
total 12
drwxrwxr-x 3 zuodion zuodion 4096 apr 6 10:25 .
drwx------ 3 zuodion zuodion 4096 apr 6 19:10 ..
drwxrwxr-x 3 zuodion zuodion 4096 apr 6 10:25 user-theme@gnome-shell-extensions.gcampax.github.com









share|improve this question

























  • Comments are not for extended discussion; this conversation has been moved to chat.

    – terdon
    Apr 7 at 14:09











  • @zuodion are you opening up and using multiple applications on your ubuntu system concurrently? What about your browser activities? Are you a heavy internet surfer? Are you often keeping up multiple web pages on your browser concurrently?

    – Marmayogi
    Apr 7 at 15:21











  • @Marmayogi This problem occurs even if applications or browsers are not running.

    – zuodion
    Apr 7 at 16:13











  • @zuodion you have a 2 GB swap already. You can have multiple swap files under Ubuntu. Why don't you create an additional 4 GB swap file and verify the problem is solved or not. Later, it is found that this does not yield desired results, then you can always delete it! No harm done! To create a swap file, refer How to create a SWAP file. Please give a try!

    – Marmayogi
    Apr 7 at 16:31













  • @zuodion I just got caught up with the chat... and it sounds like 18.10 worked for you, yes?

    – heynnema
    Apr 7 at 17:13














1












1








1








At once I will say that I am new to using linux. I use Ubuntu 18.04.2 LTS. And I had a problem with the desktop. The desktop sometimes slows down and folders do not always drag to another location and freezing. What could be the problem?



For @Marmayogi request



free --giga
total used free shared buff/cache available
Mem: 8 1 5 0 1 5
Swap: 2 0 2


sudo lshw -short -class memory
H/W path Device Class Description
====================================================
/0/0 memory 64KiB BIOS
/0/8 memory 8GiB System Memory
/0/8/0 memory 8GiB SODIMM DDR4 Synchronous 2400 MHz (0,
/0/8/1 memory [empty]
/0/8/2 memory [empty]
/0/8/3 memory [empty]
/0/e memory 128KiB L1 cache
/0/f memory 512KiB L2 cache
/0/10 memory 4MiB L3 cache
/0/100/1f.2 memory Memory controller


For @heynnema request



ls -al ~/.local/share/gnome-shell/extensions
total 12
drwxrwxr-x 3 zuodion zuodion 4096 apr 6 10:25 .
drwx------ 3 zuodion zuodion 4096 apr 6 19:10 ..
drwxrwxr-x 3 zuodion zuodion 4096 apr 6 10:25 user-theme@gnome-shell-extensions.gcampax.github.com









share|improve this question
















At once I will say that I am new to using linux. I use Ubuntu 18.04.2 LTS. And I had a problem with the desktop. The desktop sometimes slows down and folders do not always drag to another location and freezing. What could be the problem?



For @Marmayogi request



free --giga
total used free shared buff/cache available
Mem: 8 1 5 0 1 5
Swap: 2 0 2


sudo lshw -short -class memory
H/W path Device Class Description
====================================================
/0/0 memory 64KiB BIOS
/0/8 memory 8GiB System Memory
/0/8/0 memory 8GiB SODIMM DDR4 Synchronous 2400 MHz (0,
/0/8/1 memory [empty]
/0/8/2 memory [empty]
/0/8/3 memory [empty]
/0/e memory 128KiB L1 cache
/0/f memory 512KiB L2 cache
/0/10 memory 4MiB L3 cache
/0/100/1f.2 memory Memory controller


For @heynnema request



ls -al ~/.local/share/gnome-shell/extensions
total 12
drwxrwxr-x 3 zuodion zuodion 4096 apr 6 10:25 .
drwx------ 3 zuodion zuodion 4096 apr 6 19:10 ..
drwxrwxr-x 3 zuodion zuodion 4096 apr 6 10:25 user-theme@gnome-shell-extensions.gcampax.github.com






gnome ram






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 7 at 20:55









SurvivalMachine

1,4783920




1,4783920










asked Apr 6 at 11:27









zuodionzuodion

85




85













  • Comments are not for extended discussion; this conversation has been moved to chat.

    – terdon
    Apr 7 at 14:09











  • @zuodion are you opening up and using multiple applications on your ubuntu system concurrently? What about your browser activities? Are you a heavy internet surfer? Are you often keeping up multiple web pages on your browser concurrently?

    – Marmayogi
    Apr 7 at 15:21











  • @Marmayogi This problem occurs even if applications or browsers are not running.

    – zuodion
    Apr 7 at 16:13











  • @zuodion you have a 2 GB swap already. You can have multiple swap files under Ubuntu. Why don't you create an additional 4 GB swap file and verify the problem is solved or not. Later, it is found that this does not yield desired results, then you can always delete it! No harm done! To create a swap file, refer How to create a SWAP file. Please give a try!

    – Marmayogi
    Apr 7 at 16:31













  • @zuodion I just got caught up with the chat... and it sounds like 18.10 worked for you, yes?

    – heynnema
    Apr 7 at 17:13



















  • Comments are not for extended discussion; this conversation has been moved to chat.

    – terdon
    Apr 7 at 14:09











  • @zuodion are you opening up and using multiple applications on your ubuntu system concurrently? What about your browser activities? Are you a heavy internet surfer? Are you often keeping up multiple web pages on your browser concurrently?

    – Marmayogi
    Apr 7 at 15:21











  • @Marmayogi This problem occurs even if applications or browsers are not running.

    – zuodion
    Apr 7 at 16:13











  • @zuodion you have a 2 GB swap already. You can have multiple swap files under Ubuntu. Why don't you create an additional 4 GB swap file and verify the problem is solved or not. Later, it is found that this does not yield desired results, then you can always delete it! No harm done! To create a swap file, refer How to create a SWAP file. Please give a try!

    – Marmayogi
    Apr 7 at 16:31













  • @zuodion I just got caught up with the chat... and it sounds like 18.10 worked for you, yes?

    – heynnema
    Apr 7 at 17:13

















Comments are not for extended discussion; this conversation has been moved to chat.

– terdon
Apr 7 at 14:09





Comments are not for extended discussion; this conversation has been moved to chat.

– terdon
Apr 7 at 14:09













@zuodion are you opening up and using multiple applications on your ubuntu system concurrently? What about your browser activities? Are you a heavy internet surfer? Are you often keeping up multiple web pages on your browser concurrently?

– Marmayogi
Apr 7 at 15:21





@zuodion are you opening up and using multiple applications on your ubuntu system concurrently? What about your browser activities? Are you a heavy internet surfer? Are you often keeping up multiple web pages on your browser concurrently?

– Marmayogi
Apr 7 at 15:21













@Marmayogi This problem occurs even if applications or browsers are not running.

– zuodion
Apr 7 at 16:13





@Marmayogi This problem occurs even if applications or browsers are not running.

– zuodion
Apr 7 at 16:13













@zuodion you have a 2 GB swap already. You can have multiple swap files under Ubuntu. Why don't you create an additional 4 GB swap file and verify the problem is solved or not. Later, it is found that this does not yield desired results, then you can always delete it! No harm done! To create a swap file, refer How to create a SWAP file. Please give a try!

– Marmayogi
Apr 7 at 16:31







@zuodion you have a 2 GB swap already. You can have multiple swap files under Ubuntu. Why don't you create an additional 4 GB swap file and verify the problem is solved or not. Later, it is found that this does not yield desired results, then you can always delete it! No harm done! To create a swap file, refer How to create a SWAP file. Please give a try!

– Marmayogi
Apr 7 at 16:31















@zuodion I just got caught up with the chat... and it sounds like 18.10 worked for you, yes?

– heynnema
Apr 7 at 17:13





@zuodion I just got caught up with the chat... and it sounds like 18.10 worked for you, yes?

– heynnema
Apr 7 at 17:13










2 Answers
2






active

oldest

votes


















1














Complete these tasks...




  • select "Ubuntu" environment at the login screen cogwheel


  • upgrade the BIOS to 313/314 https://www.asus.com/ph/Laptops/ASUS-Vivobook-X556UQ/HelpDesk_BIOS/


  • run memtest from a Ubuntu Live DVD/USB (complete 4/4 passes, if you have the time)


  • disable the discrete video card, as it's broken (disable the driver, or in the BIOS)


  • disable wayland, like so...





You may have a problem with an older computer, with an older GPU. Try this...




  • boot to recovery mode

  • choose root access


type:



sudo mount -o remount,rw /      # to remount the disk r/w

sudo pico /etc/gdm3/custom.conf # edit this file


change:



#WaylandEnable=false


to:



WaylandEnable=false


Then reboot.



Update #1:



We booted to a Ubuntu Live 18.10 USB, and no problems were seen.



Update #2:



Before upgrading to 18.10, to see if that fixes the problem with the desktop, we should do a fsck first to check your file system, then you can use Software Updater to do the upgrade. Of course... having a good backup never hurts... just in case something goes wrong :-)



For 18.04 or newer...




  • boot to a Ubuntu Live DVD/USB

  • open a terminal window

  • type sudo fdisk -l

  • identify the /dev/XXXX device name for your "Linux Filesystem"

  • type sudo fsck -f /dev/XXXX # replacing XXXX with the number you found earlier

  • repeat the fsck command if there were errors

  • type reboot


Update #3:



To eliminate the possibility of bad blocks on your HDD causing your problem, we'll test to find any bad blocks.



First, start the Disks app, select your HDD, then go to the "hamburger" icon, and select SMART Data & Tests. Review the data, pay attention to items that include the word "sector". Then run the tests.



Also, lets check syslog for disk errors... grep -i sda /var/log/syslog*. Copy/paste that output into imgur.com (or paste.ubuntu.com) if they're lengthy.



Note: It's always a good idea to have backup of your important Ubuntu files.



So do this to test for bad blocks... (this may take a while)...



Boot to a Ubuntu Live DVD/USB.



Open terminal...



Use the fdisk method from Update #2 to figure out /dev/sdaX.



sudo e2fsck -fcky /dev/sdaX # read-only test



or



sudo e2fsck -fccky /dev/sdaX # non-destructive read/write test (recommended)



The -k is important, because it saves the previous bad block table, and adds any new bad blocks to that table. Without -k, you loose all of the prior bad block information.



The -fccky parameter...



   -f     Force checking even if the file system seems clean.

-c This option causes e2fsck to use badblocks(8) program to do a
read-only scan of the device in order to find any bad blocks.
If any bad blocks are found, they are added to the bad block
inode to prevent them from being allocated to a file or direc‐
tory. If this option is specified twice, then the bad block
scan will be done using a non-destructive read-write test.

-k When combined with the -c option, any existing bad blocks in the
bad blocks list are preserved, and any new bad blocks found by
running badblocks(8) will be added to the existing bad blocks
list.

-y Assume an answer of `yes' to all questions; allows e2fsck to be
used non-interactively. This option may not be specified at the
same time as the -n or -p options.


Update #4:



During/after the bad block scan, the drive died. Will require replacement.






share|improve this answer

































    0














    If that problem occurs in a virtual machine, I had a similar problem. In vmbox, the problem can be resolved by changing the number of processors to 2 (or more depending on your system) from Settings>System>Processors.






    share|improve this answer
























    • I use Ubuntu as main OS without VM

      – zuodion
      Apr 6 at 12:15












    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    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%2faskubuntu.com%2fquestions%2f1131651%2fubuntu-desktop-slows-down%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    Complete these tasks...




    • select "Ubuntu" environment at the login screen cogwheel


    • upgrade the BIOS to 313/314 https://www.asus.com/ph/Laptops/ASUS-Vivobook-X556UQ/HelpDesk_BIOS/


    • run memtest from a Ubuntu Live DVD/USB (complete 4/4 passes, if you have the time)


    • disable the discrete video card, as it's broken (disable the driver, or in the BIOS)


    • disable wayland, like so...





    You may have a problem with an older computer, with an older GPU. Try this...




    • boot to recovery mode

    • choose root access


    type:



    sudo mount -o remount,rw /      # to remount the disk r/w

    sudo pico /etc/gdm3/custom.conf # edit this file


    change:



    #WaylandEnable=false


    to:



    WaylandEnable=false


    Then reboot.



    Update #1:



    We booted to a Ubuntu Live 18.10 USB, and no problems were seen.



    Update #2:



    Before upgrading to 18.10, to see if that fixes the problem with the desktop, we should do a fsck first to check your file system, then you can use Software Updater to do the upgrade. Of course... having a good backup never hurts... just in case something goes wrong :-)



    For 18.04 or newer...




    • boot to a Ubuntu Live DVD/USB

    • open a terminal window

    • type sudo fdisk -l

    • identify the /dev/XXXX device name for your "Linux Filesystem"

    • type sudo fsck -f /dev/XXXX # replacing XXXX with the number you found earlier

    • repeat the fsck command if there were errors

    • type reboot


    Update #3:



    To eliminate the possibility of bad blocks on your HDD causing your problem, we'll test to find any bad blocks.



    First, start the Disks app, select your HDD, then go to the "hamburger" icon, and select SMART Data & Tests. Review the data, pay attention to items that include the word "sector". Then run the tests.



    Also, lets check syslog for disk errors... grep -i sda /var/log/syslog*. Copy/paste that output into imgur.com (or paste.ubuntu.com) if they're lengthy.



    Note: It's always a good idea to have backup of your important Ubuntu files.



    So do this to test for bad blocks... (this may take a while)...



    Boot to a Ubuntu Live DVD/USB.



    Open terminal...



    Use the fdisk method from Update #2 to figure out /dev/sdaX.



    sudo e2fsck -fcky /dev/sdaX # read-only test



    or



    sudo e2fsck -fccky /dev/sdaX # non-destructive read/write test (recommended)



    The -k is important, because it saves the previous bad block table, and adds any new bad blocks to that table. Without -k, you loose all of the prior bad block information.



    The -fccky parameter...



       -f     Force checking even if the file system seems clean.

    -c This option causes e2fsck to use badblocks(8) program to do a
    read-only scan of the device in order to find any bad blocks.
    If any bad blocks are found, they are added to the bad block
    inode to prevent them from being allocated to a file or direc‐
    tory. If this option is specified twice, then the bad block
    scan will be done using a non-destructive read-write test.

    -k When combined with the -c option, any existing bad blocks in the
    bad blocks list are preserved, and any new bad blocks found by
    running badblocks(8) will be added to the existing bad blocks
    list.

    -y Assume an answer of `yes' to all questions; allows e2fsck to be
    used non-interactively. This option may not be specified at the
    same time as the -n or -p options.


    Update #4:



    During/after the bad block scan, the drive died. Will require replacement.






    share|improve this answer






























      1














      Complete these tasks...




      • select "Ubuntu" environment at the login screen cogwheel


      • upgrade the BIOS to 313/314 https://www.asus.com/ph/Laptops/ASUS-Vivobook-X556UQ/HelpDesk_BIOS/


      • run memtest from a Ubuntu Live DVD/USB (complete 4/4 passes, if you have the time)


      • disable the discrete video card, as it's broken (disable the driver, or in the BIOS)


      • disable wayland, like so...





      You may have a problem with an older computer, with an older GPU. Try this...




      • boot to recovery mode

      • choose root access


      type:



      sudo mount -o remount,rw /      # to remount the disk r/w

      sudo pico /etc/gdm3/custom.conf # edit this file


      change:



      #WaylandEnable=false


      to:



      WaylandEnable=false


      Then reboot.



      Update #1:



      We booted to a Ubuntu Live 18.10 USB, and no problems were seen.



      Update #2:



      Before upgrading to 18.10, to see if that fixes the problem with the desktop, we should do a fsck first to check your file system, then you can use Software Updater to do the upgrade. Of course... having a good backup never hurts... just in case something goes wrong :-)



      For 18.04 or newer...




      • boot to a Ubuntu Live DVD/USB

      • open a terminal window

      • type sudo fdisk -l

      • identify the /dev/XXXX device name for your "Linux Filesystem"

      • type sudo fsck -f /dev/XXXX # replacing XXXX with the number you found earlier

      • repeat the fsck command if there were errors

      • type reboot


      Update #3:



      To eliminate the possibility of bad blocks on your HDD causing your problem, we'll test to find any bad blocks.



      First, start the Disks app, select your HDD, then go to the "hamburger" icon, and select SMART Data & Tests. Review the data, pay attention to items that include the word "sector". Then run the tests.



      Also, lets check syslog for disk errors... grep -i sda /var/log/syslog*. Copy/paste that output into imgur.com (or paste.ubuntu.com) if they're lengthy.



      Note: It's always a good idea to have backup of your important Ubuntu files.



      So do this to test for bad blocks... (this may take a while)...



      Boot to a Ubuntu Live DVD/USB.



      Open terminal...



      Use the fdisk method from Update #2 to figure out /dev/sdaX.



      sudo e2fsck -fcky /dev/sdaX # read-only test



      or



      sudo e2fsck -fccky /dev/sdaX # non-destructive read/write test (recommended)



      The -k is important, because it saves the previous bad block table, and adds any new bad blocks to that table. Without -k, you loose all of the prior bad block information.



      The -fccky parameter...



         -f     Force checking even if the file system seems clean.

      -c This option causes e2fsck to use badblocks(8) program to do a
      read-only scan of the device in order to find any bad blocks.
      If any bad blocks are found, they are added to the bad block
      inode to prevent them from being allocated to a file or direc‐
      tory. If this option is specified twice, then the bad block
      scan will be done using a non-destructive read-write test.

      -k When combined with the -c option, any existing bad blocks in the
      bad blocks list are preserved, and any new bad blocks found by
      running badblocks(8) will be added to the existing bad blocks
      list.

      -y Assume an answer of `yes' to all questions; allows e2fsck to be
      used non-interactively. This option may not be specified at the
      same time as the -n or -p options.


      Update #4:



      During/after the bad block scan, the drive died. Will require replacement.






      share|improve this answer




























        1












        1








        1







        Complete these tasks...




        • select "Ubuntu" environment at the login screen cogwheel


        • upgrade the BIOS to 313/314 https://www.asus.com/ph/Laptops/ASUS-Vivobook-X556UQ/HelpDesk_BIOS/


        • run memtest from a Ubuntu Live DVD/USB (complete 4/4 passes, if you have the time)


        • disable the discrete video card, as it's broken (disable the driver, or in the BIOS)


        • disable wayland, like so...





        You may have a problem with an older computer, with an older GPU. Try this...




        • boot to recovery mode

        • choose root access


        type:



        sudo mount -o remount,rw /      # to remount the disk r/w

        sudo pico /etc/gdm3/custom.conf # edit this file


        change:



        #WaylandEnable=false


        to:



        WaylandEnable=false


        Then reboot.



        Update #1:



        We booted to a Ubuntu Live 18.10 USB, and no problems were seen.



        Update #2:



        Before upgrading to 18.10, to see if that fixes the problem with the desktop, we should do a fsck first to check your file system, then you can use Software Updater to do the upgrade. Of course... having a good backup never hurts... just in case something goes wrong :-)



        For 18.04 or newer...




        • boot to a Ubuntu Live DVD/USB

        • open a terminal window

        • type sudo fdisk -l

        • identify the /dev/XXXX device name for your "Linux Filesystem"

        • type sudo fsck -f /dev/XXXX # replacing XXXX with the number you found earlier

        • repeat the fsck command if there were errors

        • type reboot


        Update #3:



        To eliminate the possibility of bad blocks on your HDD causing your problem, we'll test to find any bad blocks.



        First, start the Disks app, select your HDD, then go to the "hamburger" icon, and select SMART Data & Tests. Review the data, pay attention to items that include the word "sector". Then run the tests.



        Also, lets check syslog for disk errors... grep -i sda /var/log/syslog*. Copy/paste that output into imgur.com (or paste.ubuntu.com) if they're lengthy.



        Note: It's always a good idea to have backup of your important Ubuntu files.



        So do this to test for bad blocks... (this may take a while)...



        Boot to a Ubuntu Live DVD/USB.



        Open terminal...



        Use the fdisk method from Update #2 to figure out /dev/sdaX.



        sudo e2fsck -fcky /dev/sdaX # read-only test



        or



        sudo e2fsck -fccky /dev/sdaX # non-destructive read/write test (recommended)



        The -k is important, because it saves the previous bad block table, and adds any new bad blocks to that table. Without -k, you loose all of the prior bad block information.



        The -fccky parameter...



           -f     Force checking even if the file system seems clean.

        -c This option causes e2fsck to use badblocks(8) program to do a
        read-only scan of the device in order to find any bad blocks.
        If any bad blocks are found, they are added to the bad block
        inode to prevent them from being allocated to a file or direc‐
        tory. If this option is specified twice, then the bad block
        scan will be done using a non-destructive read-write test.

        -k When combined with the -c option, any existing bad blocks in the
        bad blocks list are preserved, and any new bad blocks found by
        running badblocks(8) will be added to the existing bad blocks
        list.

        -y Assume an answer of `yes' to all questions; allows e2fsck to be
        used non-interactively. This option may not be specified at the
        same time as the -n or -p options.


        Update #4:



        During/after the bad block scan, the drive died. Will require replacement.






        share|improve this answer















        Complete these tasks...




        • select "Ubuntu" environment at the login screen cogwheel


        • upgrade the BIOS to 313/314 https://www.asus.com/ph/Laptops/ASUS-Vivobook-X556UQ/HelpDesk_BIOS/


        • run memtest from a Ubuntu Live DVD/USB (complete 4/4 passes, if you have the time)


        • disable the discrete video card, as it's broken (disable the driver, or in the BIOS)


        • disable wayland, like so...





        You may have a problem with an older computer, with an older GPU. Try this...




        • boot to recovery mode

        • choose root access


        type:



        sudo mount -o remount,rw /      # to remount the disk r/w

        sudo pico /etc/gdm3/custom.conf # edit this file


        change:



        #WaylandEnable=false


        to:



        WaylandEnable=false


        Then reboot.



        Update #1:



        We booted to a Ubuntu Live 18.10 USB, and no problems were seen.



        Update #2:



        Before upgrading to 18.10, to see if that fixes the problem with the desktop, we should do a fsck first to check your file system, then you can use Software Updater to do the upgrade. Of course... having a good backup never hurts... just in case something goes wrong :-)



        For 18.04 or newer...




        • boot to a Ubuntu Live DVD/USB

        • open a terminal window

        • type sudo fdisk -l

        • identify the /dev/XXXX device name for your "Linux Filesystem"

        • type sudo fsck -f /dev/XXXX # replacing XXXX with the number you found earlier

        • repeat the fsck command if there were errors

        • type reboot


        Update #3:



        To eliminate the possibility of bad blocks on your HDD causing your problem, we'll test to find any bad blocks.



        First, start the Disks app, select your HDD, then go to the "hamburger" icon, and select SMART Data & Tests. Review the data, pay attention to items that include the word "sector". Then run the tests.



        Also, lets check syslog for disk errors... grep -i sda /var/log/syslog*. Copy/paste that output into imgur.com (or paste.ubuntu.com) if they're lengthy.



        Note: It's always a good idea to have backup of your important Ubuntu files.



        So do this to test for bad blocks... (this may take a while)...



        Boot to a Ubuntu Live DVD/USB.



        Open terminal...



        Use the fdisk method from Update #2 to figure out /dev/sdaX.



        sudo e2fsck -fcky /dev/sdaX # read-only test



        or



        sudo e2fsck -fccky /dev/sdaX # non-destructive read/write test (recommended)



        The -k is important, because it saves the previous bad block table, and adds any new bad blocks to that table. Without -k, you loose all of the prior bad block information.



        The -fccky parameter...



           -f     Force checking even if the file system seems clean.

        -c This option causes e2fsck to use badblocks(8) program to do a
        read-only scan of the device in order to find any bad blocks.
        If any bad blocks are found, they are added to the bad block
        inode to prevent them from being allocated to a file or direc‐
        tory. If this option is specified twice, then the bad block
        scan will be done using a non-destructive read-write test.

        -k When combined with the -c option, any existing bad blocks in the
        bad blocks list are preserved, and any new bad blocks found by
        running badblocks(8) will be added to the existing bad blocks
        list.

        -y Assume an answer of `yes' to all questions; allows e2fsck to be
        used non-interactively. This option may not be specified at the
        same time as the -n or -p options.


        Update #4:



        During/after the bad block scan, the drive died. Will require replacement.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 9 at 19:53

























        answered Apr 6 at 20:15









        heynnemaheynnema

        21.9k32361




        21.9k32361

























            0














            If that problem occurs in a virtual machine, I had a similar problem. In vmbox, the problem can be resolved by changing the number of processors to 2 (or more depending on your system) from Settings>System>Processors.






            share|improve this answer
























            • I use Ubuntu as main OS without VM

              – zuodion
              Apr 6 at 12:15
















            0














            If that problem occurs in a virtual machine, I had a similar problem. In vmbox, the problem can be resolved by changing the number of processors to 2 (or more depending on your system) from Settings>System>Processors.






            share|improve this answer
























            • I use Ubuntu as main OS without VM

              – zuodion
              Apr 6 at 12:15














            0












            0








            0







            If that problem occurs in a virtual machine, I had a similar problem. In vmbox, the problem can be resolved by changing the number of processors to 2 (or more depending on your system) from Settings>System>Processors.






            share|improve this answer













            If that problem occurs in a virtual machine, I had a similar problem. In vmbox, the problem can be resolved by changing the number of processors to 2 (or more depending on your system) from Settings>System>Processors.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Apr 6 at 11:52









            codemonkeycodemonkey

            357




            357













            • I use Ubuntu as main OS without VM

              – zuodion
              Apr 6 at 12:15



















            • I use Ubuntu as main OS without VM

              – zuodion
              Apr 6 at 12:15

















            I use Ubuntu as main OS without VM

            – zuodion
            Apr 6 at 12:15





            I use Ubuntu as main OS without VM

            – zuodion
            Apr 6 at 12:15


















            draft saved

            draft discarded




















































            Thanks for contributing an answer to Ask Ubuntu!


            • 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%2faskubuntu.com%2fquestions%2f1131651%2fubuntu-desktop-slows-down%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 did Captain America manage to do this?

            迪纳利

            南乌拉尔铁路局