I accidentally paused the Linux display process

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











up vote
8
down vote

favorite
3












After installing Linux Mint 19 I wanted to check how vsinc affects fps in Linux, so I typed this command: CLUTTER_SHOW_FPS=1 cinnamon --replace



After some time I accidentally pressed Ctrl+Z and paused that process. Immediately my Bash shell and everything except the mouse cursor froze, so I can't type the fg command.



Is there a way to unpause that process without rebooting and should I use Ctrl+C next time to properly exit that process?







share|improve this question


















  • 1




    Next time, run it with CLUTTER_SHOW_FPS=1 cinnamon --replace & to start it in the background. Replacing it again with a process with a process started without CLUTTER_SHOW_FPS should do what you want. Or yeah you can control-C it; X11 works with no window manager; your terminal emulator should still be visible for you to start another window manager.
    – Peter Cordes
    Aug 14 at 10:06











  • i suggest always having SSH access to a machine you don't want to hard reset, but this should not be your primary fix for this issue
    – pcnate
    Aug 14 at 19:47














up vote
8
down vote

favorite
3












After installing Linux Mint 19 I wanted to check how vsinc affects fps in Linux, so I typed this command: CLUTTER_SHOW_FPS=1 cinnamon --replace



After some time I accidentally pressed Ctrl+Z and paused that process. Immediately my Bash shell and everything except the mouse cursor froze, so I can't type the fg command.



Is there a way to unpause that process without rebooting and should I use Ctrl+C next time to properly exit that process?







share|improve this question


















  • 1




    Next time, run it with CLUTTER_SHOW_FPS=1 cinnamon --replace & to start it in the background. Replacing it again with a process with a process started without CLUTTER_SHOW_FPS should do what you want. Or yeah you can control-C it; X11 works with no window manager; your terminal emulator should still be visible for you to start another window manager.
    – Peter Cordes
    Aug 14 at 10:06











  • i suggest always having SSH access to a machine you don't want to hard reset, but this should not be your primary fix for this issue
    – pcnate
    Aug 14 at 19:47












up vote
8
down vote

favorite
3









up vote
8
down vote

favorite
3






3





After installing Linux Mint 19 I wanted to check how vsinc affects fps in Linux, so I typed this command: CLUTTER_SHOW_FPS=1 cinnamon --replace



After some time I accidentally pressed Ctrl+Z and paused that process. Immediately my Bash shell and everything except the mouse cursor froze, so I can't type the fg command.



Is there a way to unpause that process without rebooting and should I use Ctrl+C next time to properly exit that process?







share|improve this question














After installing Linux Mint 19 I wanted to check how vsinc affects fps in Linux, so I typed this command: CLUTTER_SHOW_FPS=1 cinnamon --replace



After some time I accidentally pressed Ctrl+Z and paused that process. Immediately my Bash shell and everything except the mouse cursor froze, so I can't type the fg command.



Is there a way to unpause that process without rebooting and should I use Ctrl+C next time to properly exit that process?









share|improve this question













share|improve this question




share|improve this question








edited Aug 16 at 21:10









Peter Mortensen

79148




79148










asked Aug 14 at 2:30









Tomislav

4314




4314







  • 1




    Next time, run it with CLUTTER_SHOW_FPS=1 cinnamon --replace & to start it in the background. Replacing it again with a process with a process started without CLUTTER_SHOW_FPS should do what you want. Or yeah you can control-C it; X11 works with no window manager; your terminal emulator should still be visible for you to start another window manager.
    – Peter Cordes
    Aug 14 at 10:06











  • i suggest always having SSH access to a machine you don't want to hard reset, but this should not be your primary fix for this issue
    – pcnate
    Aug 14 at 19:47












  • 1




    Next time, run it with CLUTTER_SHOW_FPS=1 cinnamon --replace & to start it in the background. Replacing it again with a process with a process started without CLUTTER_SHOW_FPS should do what you want. Or yeah you can control-C it; X11 works with no window manager; your terminal emulator should still be visible for you to start another window manager.
    – Peter Cordes
    Aug 14 at 10:06











  • i suggest always having SSH access to a machine you don't want to hard reset, but this should not be your primary fix for this issue
    – pcnate
    Aug 14 at 19:47







1




1




Next time, run it with CLUTTER_SHOW_FPS=1 cinnamon --replace & to start it in the background. Replacing it again with a process with a process started without CLUTTER_SHOW_FPS should do what you want. Or yeah you can control-C it; X11 works with no window manager; your terminal emulator should still be visible for you to start another window manager.
– Peter Cordes
Aug 14 at 10:06





Next time, run it with CLUTTER_SHOW_FPS=1 cinnamon --replace & to start it in the background. Replacing it again with a process with a process started without CLUTTER_SHOW_FPS should do what you want. Or yeah you can control-C it; X11 works with no window manager; your terminal emulator should still be visible for you to start another window manager.
– Peter Cordes
Aug 14 at 10:06













i suggest always having SSH access to a machine you don't want to hard reset, but this should not be your primary fix for this issue
– pcnate
Aug 14 at 19:47




i suggest always having SSH access to a machine you don't want to hard reset, but this should not be your primary fix for this issue
– pcnate
Aug 14 at 19:47










2 Answers
2






active

oldest

votes

















up vote
26
down vote



accepted










  1. Switch to a new TTY. See How to switch between tty and xorg session? for tips on how to switch TTYs.

  2. Determine the PID of the cinnamon process
    ps -e | grep cinnamon


  3. Send this process the SIGCONT signal with kill -SIGCONT [pid]





share|improve this answer


















  • 6




    +1. Clarification on the statement "kill [...] process with the signal" would be good. The naming of the kill utility is unfortunate, given that most of the signals one can send are not used to 'kill' a process in the sense of mortality. kill -SIGCONT 9999 will send the continue signal to the pid 9999.
    – Eli Heady
    Aug 14 at 4:42






  • 1




    pgrep is useful for finding processes
    – CameronNemo
    Aug 14 at 11:28










  • Why does my desktop on tty7 gets distorted - all black and without linux start menu? Is there a way to fix it ?
    – Tomislav
    Aug 14 at 12:51






  • 1




    @Tomislav can you clarify what you mean by distorted? It sounds a bit like your tty7 just has a regular (GUI-less) shell rendering.
    – Jules
    Aug 14 at 15:11










  • It looks like normal desktop after booting but without start menu panel (icons on desktop are also visible).
    – Tomislav
    Aug 14 at 23:01

















up vote
9
down vote













Short, concrete version of CameronNemo's answer:




ctrlaltF1 # Switch to TTY1
user name↲ # Log in on this terminal
password↲
killall -SIGCONT cinnamon↲ # Send the continue signal to the process
ctrld # Log out on TTY1
ctrlaltF7 # Switch back to the graphical environment




F1 and F7 here assume that you have X running on TTY7, as is standard on Ubuntu and, I assume, also on Mint.






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',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f462416%2fi-accidentally-paused-the-linux-display-process%23new-answer', 'question_page');

    );

    Post as a guest






























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    26
    down vote



    accepted










    1. Switch to a new TTY. See How to switch between tty and xorg session? for tips on how to switch TTYs.

    2. Determine the PID of the cinnamon process
      ps -e | grep cinnamon


    3. Send this process the SIGCONT signal with kill -SIGCONT [pid]





    share|improve this answer


















    • 6




      +1. Clarification on the statement "kill [...] process with the signal" would be good. The naming of the kill utility is unfortunate, given that most of the signals one can send are not used to 'kill' a process in the sense of mortality. kill -SIGCONT 9999 will send the continue signal to the pid 9999.
      – Eli Heady
      Aug 14 at 4:42






    • 1




      pgrep is useful for finding processes
      – CameronNemo
      Aug 14 at 11:28










    • Why does my desktop on tty7 gets distorted - all black and without linux start menu? Is there a way to fix it ?
      – Tomislav
      Aug 14 at 12:51






    • 1




      @Tomislav can you clarify what you mean by distorted? It sounds a bit like your tty7 just has a regular (GUI-less) shell rendering.
      – Jules
      Aug 14 at 15:11










    • It looks like normal desktop after booting but without start menu panel (icons on desktop are also visible).
      – Tomislav
      Aug 14 at 23:01














    up vote
    26
    down vote



    accepted










    1. Switch to a new TTY. See How to switch between tty and xorg session? for tips on how to switch TTYs.

    2. Determine the PID of the cinnamon process
      ps -e | grep cinnamon


    3. Send this process the SIGCONT signal with kill -SIGCONT [pid]





    share|improve this answer


















    • 6




      +1. Clarification on the statement "kill [...] process with the signal" would be good. The naming of the kill utility is unfortunate, given that most of the signals one can send are not used to 'kill' a process in the sense of mortality. kill -SIGCONT 9999 will send the continue signal to the pid 9999.
      – Eli Heady
      Aug 14 at 4:42






    • 1




      pgrep is useful for finding processes
      – CameronNemo
      Aug 14 at 11:28










    • Why does my desktop on tty7 gets distorted - all black and without linux start menu? Is there a way to fix it ?
      – Tomislav
      Aug 14 at 12:51






    • 1




      @Tomislav can you clarify what you mean by distorted? It sounds a bit like your tty7 just has a regular (GUI-less) shell rendering.
      – Jules
      Aug 14 at 15:11










    • It looks like normal desktop after booting but without start menu panel (icons on desktop are also visible).
      – Tomislav
      Aug 14 at 23:01












    up vote
    26
    down vote



    accepted







    up vote
    26
    down vote



    accepted






    1. Switch to a new TTY. See How to switch between tty and xorg session? for tips on how to switch TTYs.

    2. Determine the PID of the cinnamon process
      ps -e | grep cinnamon


    3. Send this process the SIGCONT signal with kill -SIGCONT [pid]





    share|improve this answer














    1. Switch to a new TTY. See How to switch between tty and xorg session? for tips on how to switch TTYs.

    2. Determine the PID of the cinnamon process
      ps -e | grep cinnamon


    3. Send this process the SIGCONT signal with kill -SIGCONT [pid]






    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Aug 14 at 12:21

























    answered Aug 14 at 2:53









    CameronNemo

    1,022711




    1,022711







    • 6




      +1. Clarification on the statement "kill [...] process with the signal" would be good. The naming of the kill utility is unfortunate, given that most of the signals one can send are not used to 'kill' a process in the sense of mortality. kill -SIGCONT 9999 will send the continue signal to the pid 9999.
      – Eli Heady
      Aug 14 at 4:42






    • 1




      pgrep is useful for finding processes
      – CameronNemo
      Aug 14 at 11:28










    • Why does my desktop on tty7 gets distorted - all black and without linux start menu? Is there a way to fix it ?
      – Tomislav
      Aug 14 at 12:51






    • 1




      @Tomislav can you clarify what you mean by distorted? It sounds a bit like your tty7 just has a regular (GUI-less) shell rendering.
      – Jules
      Aug 14 at 15:11










    • It looks like normal desktop after booting but without start menu panel (icons on desktop are also visible).
      – Tomislav
      Aug 14 at 23:01












    • 6




      +1. Clarification on the statement "kill [...] process with the signal" would be good. The naming of the kill utility is unfortunate, given that most of the signals one can send are not used to 'kill' a process in the sense of mortality. kill -SIGCONT 9999 will send the continue signal to the pid 9999.
      – Eli Heady
      Aug 14 at 4:42






    • 1




      pgrep is useful for finding processes
      – CameronNemo
      Aug 14 at 11:28










    • Why does my desktop on tty7 gets distorted - all black and without linux start menu? Is there a way to fix it ?
      – Tomislav
      Aug 14 at 12:51






    • 1




      @Tomislav can you clarify what you mean by distorted? It sounds a bit like your tty7 just has a regular (GUI-less) shell rendering.
      – Jules
      Aug 14 at 15:11










    • It looks like normal desktop after booting but without start menu panel (icons on desktop are also visible).
      – Tomislav
      Aug 14 at 23:01







    6




    6




    +1. Clarification on the statement "kill [...] process with the signal" would be good. The naming of the kill utility is unfortunate, given that most of the signals one can send are not used to 'kill' a process in the sense of mortality. kill -SIGCONT 9999 will send the continue signal to the pid 9999.
    – Eli Heady
    Aug 14 at 4:42




    +1. Clarification on the statement "kill [...] process with the signal" would be good. The naming of the kill utility is unfortunate, given that most of the signals one can send are not used to 'kill' a process in the sense of mortality. kill -SIGCONT 9999 will send the continue signal to the pid 9999.
    – Eli Heady
    Aug 14 at 4:42




    1




    1




    pgrep is useful for finding processes
    – CameronNemo
    Aug 14 at 11:28




    pgrep is useful for finding processes
    – CameronNemo
    Aug 14 at 11:28












    Why does my desktop on tty7 gets distorted - all black and without linux start menu? Is there a way to fix it ?
    – Tomislav
    Aug 14 at 12:51




    Why does my desktop on tty7 gets distorted - all black and without linux start menu? Is there a way to fix it ?
    – Tomislav
    Aug 14 at 12:51




    1




    1




    @Tomislav can you clarify what you mean by distorted? It sounds a bit like your tty7 just has a regular (GUI-less) shell rendering.
    – Jules
    Aug 14 at 15:11




    @Tomislav can you clarify what you mean by distorted? It sounds a bit like your tty7 just has a regular (GUI-less) shell rendering.
    – Jules
    Aug 14 at 15:11












    It looks like normal desktop after booting but without start menu panel (icons on desktop are also visible).
    – Tomislav
    Aug 14 at 23:01




    It looks like normal desktop after booting but without start menu panel (icons on desktop are also visible).
    – Tomislav
    Aug 14 at 23:01












    up vote
    9
    down vote













    Short, concrete version of CameronNemo's answer:




    ctrlaltF1 # Switch to TTY1
    user name↲ # Log in on this terminal
    password↲
    killall -SIGCONT cinnamon↲ # Send the continue signal to the process
    ctrld # Log out on TTY1
    ctrlaltF7 # Switch back to the graphical environment




    F1 and F7 here assume that you have X running on TTY7, as is standard on Ubuntu and, I assume, also on Mint.






    share|improve this answer


























      up vote
      9
      down vote













      Short, concrete version of CameronNemo's answer:




      ctrlaltF1 # Switch to TTY1
      user name↲ # Log in on this terminal
      password↲
      killall -SIGCONT cinnamon↲ # Send the continue signal to the process
      ctrld # Log out on TTY1
      ctrlaltF7 # Switch back to the graphical environment




      F1 and F7 here assume that you have X running on TTY7, as is standard on Ubuntu and, I assume, also on Mint.






      share|improve this answer
























        up vote
        9
        down vote










        up vote
        9
        down vote









        Short, concrete version of CameronNemo's answer:




        ctrlaltF1 # Switch to TTY1
        user name↲ # Log in on this terminal
        password↲
        killall -SIGCONT cinnamon↲ # Send the continue signal to the process
        ctrld # Log out on TTY1
        ctrlaltF7 # Switch back to the graphical environment




        F1 and F7 here assume that you have X running on TTY7, as is standard on Ubuntu and, I assume, also on Mint.






        share|improve this answer














        Short, concrete version of CameronNemo's answer:




        ctrlaltF1 # Switch to TTY1
        user name↲ # Log in on this terminal
        password↲
        killall -SIGCONT cinnamon↲ # Send the continue signal to the process
        ctrld # Log out on TTY1
        ctrlaltF7 # Switch back to the graphical environment




        F1 and F7 here assume that you have X running on TTY7, as is standard on Ubuntu and, I assume, also on Mint.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Aug 14 at 12:46

























        answered Aug 14 at 12:39









        leftaroundabout

        31917




        31917



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f462416%2fi-accidentally-paused-the-linux-display-process%23new-answer', 'question_page');

            );

            Post as a guest













































































            Comments

            Popular posts from this blog

            What does second last employer means? [closed]

            Installing NextGIS Connect into QGIS 3?

            One-line joke