• [gentoo-user] How to restart/fix frozen XFCE4

    From thelma@sys-concept.com@21:1/5 to All on Sun Apr 2 07:30:02 2023
    At time to time my XFCE4 freezes. The screen is responding to the keyboard, mouse pointer is moving on the screen but nothing is responding.
    I just lookup some solutions and found this one:

    - press: CTRL+Alt+T (to get to terminal)
    - pidof xfce4-panel
    - kill -9 pid

    xfwm4 --replace &

    Any other solutions?

    Thelma

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Kenworthy@21:1/5 to thelma@sys-concept.com on Sun Apr 2 09:20:01 2023
    On 2/4/23 13:28, thelma@sys-concept.com wrote:

    At time to time my XFCE4 freezes.  The screen is responding to the
    keyboard, mouse pointer is moving on the screen but nothing is
    responding.
    I just lookup some solutions and found this one:

    - press: CTRL+Alt+T  (to get to terminal)
    - pidof xfce4-panel
    - kill -9 pid

    xfwm4 --replace &

    Any other solutions?

    Thelma

    Network mount? - my xfce4 freezes sometimes when a backup is being done
    (via a moosefs fuse mount - happens more often if there is a lot of
    network activity. I suspect the xfce file manager or similar is looking
    into the mount even when nothing is actually being accessed via the
    desktop and has to wait, often for a few minutes.

    BillK

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Alexe Stefan@21:1/5 to All on Sun Apr 2 13:40:01 2023
    Other possible solutions are killing xfce through telnet/ssh or from
    another tty. Another is using the sysrq key, but that is to be avoided.

    dum., 2 apr. 2023, 08:28 <thelma@sys-concept.com> a scris:


    At time to time my XFCE4 freezes. The screen is responding to the
    keyboard, mouse pointer is moving on the screen but nothing is responding.
    I just lookup some solutions and found this one:

    - press: CTRL+Alt+T (to get to terminal)
    - pidof xfce4-panel
    - kill -9 pid

    xfwm4 --replace &

    Any other solutions?

    Thelma



    <div dir="auto">Other possible solutions are killing xfce through telnet/ssh or from another tty. Another is using the sysrq key, but that is to be avoided.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">dum., 2 apr. 2023, 08:28 &lt;
    <a href="mailto:thelma@sys-concept.com">thelma@sys-concept.com</a>&gt; a scris:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
    At time to time my XFCE4 freezes.  The screen is responding to the keyboard, mouse pointer is moving on the screen but nothing is responding.<br>
    I just lookup some solutions and found this one:<br>

    - press: CTRL+Alt+T  (to get to terminal)<br>
    - pidof xfce4-panel<br>
    - kill -9 pid<br>

    xfwm4 --replace &amp;<br>

    Any other solutions?<br>

    Thelma<br>

    </blockquote></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From thelma@sys-concept.com@21:1/5 to Alexe Stefan on Sun Apr 2 18:10:01 2023
    On 4/2/23 05:33, Alexe Stefan wrote:
    Other possible solutions are killing xfce through telnet/ssh or from another tty. Another is using the sysrq key, but that is to be avoided.

    dum., 2 apr. 2023, 08:28 <thelma@sys-concept.com <mailto:thelma@sys-concept.com>> a scris:


    At time to time my XFCE4 freezes.  The screen is responding to the keyboard, mouse pointer is moving on the screen but nothing is responding.
    I just lookup some solutions and found this one:

    - press: CTRL+Alt+T  (to get to terminal)
    - pidof xfce4-panel
    - kill -9 pid

    xfwm4 --replace &

    Any other solutions?

    I ask ChatGPT for a solution to this and I got:

    1.) Try using the keyboard shortcut Ctrl+Alt+Esc. This will turn your mouse cursor into an X symbol, allowing you to click on the window that's causing the freeze and kill it.

    2.) If the keyboard shortcut doesn't work, try switching to a virtual terminal by pressing Ctrl+Alt+F2. Log in with your username and password.

    3.) Once you're logged in, use the top or htop command to identify the process that's causing the freeze. You can sort the list of processes by CPU usage or memory usage to make it easier to find the offending process.

    4.) Use the kill command followed by the process ID (PID) to terminate the process. For example, if the PID is 1234, you would use the command kill 1234.

    5.) Switch back to your X session by pressing Ctrl+Alt+F7. Your XFCE4 desktop environment should now have restarted, and you can log in as usual.

    "Ctrl+Alt+Esc" doesn't work, and I've never seen this solution; where does it come from?


    Thelma

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mitch D.@21:1/5 to thelma@sys-concept.com on Sun Apr 2 23:50:01 2023
    I don't remember if it was tied to a specific popular Linux distribution,
    but this used to be the common response to new Linux-converts when they
    asked for the Linux version of Ctrl+Alt+Delete (to kill a hanging process).
    I remember some modifier keys and escape, but I can't confirm that it was exactly "Ctrl+Alt+Esc". The key combination would launch "xkill", which now shows a skull-and-crossbones cursor instead of an "X" (on my machine, at least). Using the skull-and-crossbones to click on a window will kill the process corresponding to that window.

    On Sun, Apr 2, 2023 at 12:09 PM <thelma@sys-concept.com> wrote:

    On 4/2/23 05:33, Alexe Stefan wrote:
    Other possible solutions are killing xfce through telnet/ssh or from
    another tty. Another is using the sysrq key, but that is to be avoided.

    dum., 2 apr. 2023, 08:28 <thelma@sys-concept.com <mailto:
    thelma@sys-concept.com>> a scris:


    At time to time my XFCE4 freezes. The screen is responding to the
    keyboard, mouse pointer is moving on the screen but nothing is responding.
    I just lookup some solutions and found this one:

    - press: CTRL+Alt+T (to get to terminal)
    - pidof xfce4-panel
    - kill -9 pid

    xfwm4 --replace &

    Any other solutions?

    I ask ChatGPT for a solution to this and I got:

    1.) Try using the keyboard shortcut Ctrl+Alt+Esc. This will turn your
    mouse cursor into an X symbol, allowing you to click on the window that's causing the freeze and kill it.

    2.) If the keyboard shortcut doesn't work, try switching to a virtual terminal by pressing Ctrl+Alt+F2. Log in with your username and password.

    3.) Once you're logged in, use the top or htop command to identify the process that's causing the freeze. You can sort the list of processes by
    CPU usage or memory usage to make it easier to find the offending process.

    4.) Use the kill command followed by the process ID (PID) to terminate the process. For example, if the PID is 1234, you would use the command kill 1234.

    5.) Switch back to your X session by pressing Ctrl+Alt+F7. Your XFCE4
    desktop environment should now have restarted, and you can log in as usual.

    "Ctrl+Alt+Esc" doesn't work, and I've never seen this solution; where
    does it come from?


    Thelma



    <div dir="ltr"><div>I don&#39;t remember if it was tied to a specific popular Linux distribution, but this used to be the common response to new Linux-converts when they asked for the Linux version of Ctrl+Alt+Delete (to kill a hanging process). I
    remember some modifier keys and escape, but I can&#39;t confirm that it was exactly &quot;Ctrl+Alt+Esc&quot;. The key combination would launch &quot;xkill&quot;, which now shows a skull-and-crossbones cursor instead of an &quot;X&quot; (on my machine, at
    least). Using the skull-and-crossbones to click on a window will kill the process corresponding to that window.</div><div><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Apr 2, 2023 at 12:09 PM &lt;<a href="mailto:thelma@
    sys-concept.com">thelma@sys-concept.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 4/2/23 05:33, Alexe Stefan wrote:<br>
    &gt; Other possible solutions are killing xfce through telnet/ssh or from another tty. Another is using the sysrq key, but that is to be avoided.<br>
    &gt; <br>
    &gt; dum., 2 apr. 2023, 08:28 &lt;<a href="mailto:thelma@sys-concept.com" target="_blank">thelma@sys-concept.com</a> &lt;mailto:<a href="mailto:thelma@sys-concept.com" target="_blank">thelma@sys-concept.com</a>&gt;&gt; a scris:<br>
    &gt; <br>
    &gt; <br>
    &gt;     At time to time my XFCE4 freezes.  The screen is responding to the keyboard, mouse pointer is moving on the screen but nothing is responding.<br>
    &gt;     I just lookup some solutions and found this one:<br>
    &gt; <br>
    &gt;     - press: CTRL+Alt+T  (to get to terminal)<br>
    &gt;     - pidof xfce4-panel<br>
    &gt;     - kill -9 pid<br>
    &gt; <br>
    &gt;     xfwm4 --replace &amp;<br>
    &gt; <br>
    &gt;     Any other solutions?<br>

    I ask ChatGPT for a solution to this and I got:<br>

    1.) Try using the keyboard shortcut Ctrl+Alt+Esc. This will turn your mouse cursor into an X symbol, allowing you to click on the window that&#39;s causing the freeze and kill it.<br>

    2.) If the keyboard shortcut doesn&#39;t work, try switching to a virtual terminal by pressing Ctrl+Alt+F2. Log in with your username and password.<br>

    3.) Once you&#39;re logged in, use the top or htop command to identify the process that&#39;s causing the freeze. You can sort the list of processes by CPU usage or memory usage to make it easier to find the offending process.<br>

    4.) Use the kill command followed by the process ID (PID) to terminate the process. For example, if the PID is 1234, you would use the command kill 1234.<br>

    5.) Switch back to your X session by pressing Ctrl+Alt+F7. Your XFCE4 desktop environment should now have restarted, and you can log in as usual.<br>

    &quot;Ctrl+Alt+Esc&quot;  doesn&#39;t work, and I&#39;ve never seen this solution; where does it come from?<br>


    Thelma<br>

    </blockquote></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mark Knecht@21:1/5 to thelma@sys-concept.com on Mon Apr 3 00:20:01 2023
    On Sat, Apr 1, 2023 at 10:28 PM <thelma@sys-concept.com> wrote:


    At time to time my XFCE4 freezes. The screen is responding to the
    keyboard, mouse pointer is moving on the screen but nothing is responding.
    I just lookup some solutions and found this one:

    - press: CTRL+Alt+T (to get to terminal)
    - pidof xfce4-panel
    - kill -9 pid

    xfwm4 --replace &

    Any other solutions?

    Thelma

    https://en.wikipedia.org/wiki/Magic_SysRq_key

    <div dir="ltr"><br><br>On Sat, Apr 1, 2023 at 10:28 PM &lt;<a href="mailto:thelma@sys-concept.com">thelma@sys-concept.com</a>&gt; wrote:<br>&gt;<br>&gt;<br>&gt; At time to time my XFCE4 freezes.  The screen is responding to the keyboard, mouse pointer
    is moving on the screen but nothing is responding.<br>&gt; I just lookup some solutions and found this one:<br>&gt;<br>&gt; - press: CTRL+Alt+T  (to get to terminal)<br>&gt; - pidof xfce4-panel<br>&gt; - kill -9 pid<br>&gt;<br>&gt; xfwm4 --replace &amp;<
    &gt;<br>&gt; Any other solutions?<br>&gt;<br>&gt; Thelma<div><br></div><div><a href="https://en.wikipedia.org/wiki/Magic_SysRq_key">https://en.wikipedia.org/wiki/Magic_SysRq_key</a><br></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From thelma@sys-concept.com@21:1/5 to thelma@sys-concept.com on Sat Apr 15 04:00:01 2023
    On 4/1/23 23:28, thelma@sys-concept.com wrote:

    At time to time my XFCE4 freezes.  The screen is responding to the keyboard, mouse pointer is moving on the screen but nothing is responding.
    I just lookup some solutions and found this one:

    - press: CTRL+Alt+T  (to get to terminal)
    - pidof xfce4-panel
    - kill -9 pid

    xfwm4 --replace &

    Any other solutions?

    Thelma

    I've tried the above solution after XFCE froze. It did not work.
    Pressing CTRL+Alt+T worked, window open with a terminal and responded to keyboard (not the mouse).

    - pidof xfce4-panel
    - kill -9 pid
    xfwm4 --replace &
    the above worked, but did not help. htop did not show anything was using excess CPU.

    I logged in as root and "/etc/inid.d/display-manger restart" did not restart X, just unresponsive black screen

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)