Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #275502 > unrolled thread

PC monitor is freezing, but I can ssh into it and operate okay

Started byTom Browder <tom.browder@gmail.com>
First post2024-12-11 13:40 +0100
Last post2024-12-12 13:00 +0100
Articles 10 — 6 participants

Back to article view | Back to linux.debian.user


Contents

  PC monitor is freezing, but I can ssh into it and operate okay Tom Browder <tom.browder@gmail.com> - 2024-12-11 13:40 +0100
    Re: PC monitor is freezing, but I can ssh into it and operate okay Dan Ritter <dsr@randomstring.org> - 2024-12-11 14:40 +0100
      Re: PC monitor is freezing, but I can ssh into it and operate okay Tom Browder <tom.browder@gmail.com> - 2024-12-11 15:30 +0100
        Re: PC monitor is freezing, but I can ssh into it and operate okay Tom Browder <tom.browder@gmail.com> - 2024-12-11 16:10 +0100
          Re: PC monitor is freezing, but I can ssh into it and operate okay <tomas@tuxteam.de> - 2024-12-11 16:20 +0100
            Re: PC monitor is freezing, but I can ssh into it and operate okay tomas@tuxteam.de - 2024-12-11 16:20 +0100
              Re: PC monitor is freezing, but I can ssh into it and operate okay Dan Ritter <dsr@randomstring.org> - 2024-12-11 17:10 +0100
    Re: PC monitor is freezing, but I can ssh into it and operate okay Jeffrey Walton <noloader@gmail.com> - 2024-12-11 19:20 +0100
    Re: PC monitor is freezing, but I can ssh into it and operate okay eben@gmx.us - 2024-12-11 20:20 +0100
      Re: PC monitor is freezing, but I can ssh into it and operate okay Tom Browder <tom.browder@gmail.com> - 2024-12-12 13:00 +0100

#275502 — PC monitor is freezing, but I can ssh into it and operate okay

FromTom Browder <tom.browder@gmail.com>
Date2024-12-11 13:40 +0100
SubjectPC monitor is freezing, but I can ssh into it and operate okay
Message-ID<JSuau-g71x-21@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

I can ssh in, reboot, and all is well. Is there any way to completely turn
off the screen saver and its timer via system settings?

There may be related problems with my newly installed HP printer which
sometimes hangs when attempting to print random web pages (I don't do it
intentionally but I'm sometimes "forced" to as a "honey do" task).

Thanks.

-Tom

[toc] | [next] | [standalone]


#275506

FromDan Ritter <dsr@randomstring.org>
Date2024-12-11 14:40 +0100
Message-ID<JSv6x-g7CP-7@gated-at.bofh.it>
In reply to#275502
Tom Browder wrote: 
> I can ssh in, reboot, and all is well. Is there any way to completely turn
> off the screen saver and its timer via system settings?

There are three things that could be called screen saver
settings:

- the console blanker is controlled via
	setterm -blank 0
	(the 0 is minutes; 0 to disable blanking)

- the X11 basic setting is 
	xset s off
and the "don't use display power management at all" is
	xset -dpms

- This may be overrules by a desktop environment like GNOME or
KDE, in which case you need to look at
	gsettings set org.gnome.desktop.session idle-delay 0
or something similar.

- whatever X or Wayland screensaver you use to draw
fancy toasters or mazes will have its own command, e.g.
	xscreensaver-command --exit


-dsr-
	

[toc] | [prev] | [next] | [standalone]


#275507

FromTom Browder <tom.browder@gmail.com>
Date2024-12-11 15:30 +0100
Message-ID<JSvSV-g8a3-13@gated-at.bofh.it>
In reply to#275506

[Multipart message — attachments visible in raw view] — view raw

On Wed, Dec 11, 2024 at 07:14 Dan Ritter <dsr@randomstring.org> wrote:

> Tom Browder wrote:

...

> > I can ssh in, reboot, and all is well. Is there any way to completely
> turn
> > off the screen saver and its timer via system settings?
>
> There are three things that could be called screen saver

...

Thanks, Dan, I'll try those and report back.

-Tom

[toc] | [prev] | [next] | [standalone]


#275508

FromTom Browder <tom.browder@gmail.com>
Date2024-12-11 16:10 +0100
Message-ID<JSwvD-g8Ej-23@gated-at.bofh.it>
In reply to#275507

[Multipart message — attachments visible in raw view] — view raw

On Wed, Dec 11, 2024 at 08:21 Tom Browder <tom.browder@gmail.com> wrote:

> On Wed, Dec 11, 2024 at 07:14 Dan Ritter <dsr@randomstring.org> wrote:
>
>> Tom Browder wrote:
>
> ...
>
>> > I can ssh in, reboot, and all is well. Is there any way to completely
>> turn
>> > off the screen saver and its timer via system settings?
>>
>> There are three things that could be called screen saver
>
> ...
>
> Thanks, Dan, I'll try those and report back.
>

My system didn't recognize anything you suggested except:

    # gsettings set org.gnome.desktop.session idle-delay 0

Interestingly, all the other commands before AND AFTER the reboot responded:

     unable to open display ""

But I do have my monitor back and working. I'll report back if I get
another freeze.

I should have reported some of my sys info: Debian 11, running the MATE
version.

-Tom

[toc] | [prev] | [next] | [standalone]


#275509

From<tomas@tuxteam.de>
Date2024-12-11 16:20 +0100
Message-ID<JSwFj-g8Ia-1@gated-at.bofh.it>
In reply to#275508

[Multipart message — attachments visible in raw view] — view raw

On Wed, Dec 11, 2024 at 09:01:19AM -0600, Tom Browder wrote:
> On Wed, Dec 11, 2024 at 08:21 Tom Browder <tom.browder@gmail.com> wrote:
> 
> > On Wed, Dec 11, 2024 at 07:14 Dan Ritter <dsr@randomstring.org> wrote:
> >
> >> Tom Browder wrote:
> >
> > ...
> >
> >> > I can ssh in, reboot, and all is well. Is there any way to completely
> >> turn
> >> > off the screen saver and its timer via system settings?
> >>
> >> There are three things that could be called screen saver
> >
> > ...
> >
> > Thanks, Dan, I'll try those and report back.
> >
> 
> My system didn't recognize anything you suggested except:
> 
>     # gsettings set org.gnome.desktop.session idle-delay 0
> 
> Interestingly, all the other commands before AND AFTER the reboot responded:
> 
>      unable to open display ""

This one is because they have to "talk" to the right X server, so they
need the DISPLAY env variable set, to know which one.

On your (probably) single machine with (probably) just one X server
and one display, try prefixing the command with a var setting like
so:

  DISPLAY=:0 <my command with args>

[...]

Cheers
-- 
t

[toc] | [prev] | [next] | [standalone]


#275510

Fromtomas@tuxteam.de
Date2024-12-11 16:20 +0100
Message-ID<JSwFj-g8Ia-7@gated-at.bofh.it>
In reply to#275509

[Multipart message — attachments visible in raw view] — view raw

On Wed, Dec 11, 2024 at 04:14:58PM +0100, tomas@tuxteam.de wrote:
> On Wed, Dec 11, 2024 at 09:01:19AM -0600, Tom Browder wrote:

[...]

> >      unable to open display ""
> 
> This one is because they have to "talk" to the right X server, so they
> need the DISPLAY env variable set, to know which one.
> 
> On your (probably) single machine with (probably) just one X server
> and one display, try prefixing the command with a var setting like
> so:
> 
>   DISPLAY=:0 <my command with args>

(of course, this will only work if there /is/ an X server running
in the first place :)

Cheers
-- 
t

[toc] | [prev] | [next] | [standalone]


#275511

FromDan Ritter <dsr@randomstring.org>
Date2024-12-11 17:10 +0100
Message-ID<JSxrH-g9eY-1@gated-at.bofh.it>
In reply to#275510
tomas@tuxteam.de wrote: 
> On Wed, Dec 11, 2024 at 04:14:58PM +0100, tomas@tuxteam.de wrote:
> > 
> >   DISPLAY=:0 <my command with args>
> 
> (of course, this will only work if there /is/ an X server running
> in the first place :)

(of course, if there is no X server running, only the console
setting has any meaning. Or whatever Wayland does.)

-dsr-

[toc] | [prev] | [next] | [standalone]


#275512

FromJeffrey Walton <noloader@gmail.com>
Date2024-12-11 19:20 +0100
Message-ID<JSztv-gay6-1@gated-at.bofh.it>
In reply to#275502
On Wed, Dec 11, 2024 at 9:42 AM Tom Browder <tom.browder@gmail.com> wrote:
>
> I can ssh in, reboot, and all is well. Is there any way to completely turn off the screen saver and its timer via system settings?
>
> There may be related problems with my newly installed HP printer which sometimes hangs when attempting to print random web pages (I don't do it intentionally but I'm sometimes "forced" to as a "honey do" task).

You might consider starting with hardware tests. Run the diagnostics
provided by BIOS or UEFI. Then run a memory stress test. If the RAM
tests good, then move on to a GPU stress test.

Your video card {could be|probably?} using RAM for graphics memory, so
a stress test may reveal problems with RAM that surfaces during GPU
operations. Or the GPU may lock during stress tests, which could mean
it is time to replace the video card.

Jeff

[toc] | [prev] | [next] | [standalone]


#275517

Fromeben@gmx.us
Date2024-12-11 20:20 +0100
Message-ID<JSApz-gbaH-1@gated-at.bofh.it>
In reply to#275502
On 12/11/24 07:33, Tom Browder wrote:
> I can ssh in, reboot, and all is well. Is there any way to completely turn
> off the screen saver and its timer via system settings?
>
> There may be related problems with my newly installed HP printer which
> sometimes hangs when attempting to print random web pages (I don't do it
> intentionally but I'm sometimes "forced" to as a "honey do" task).

If you think something is actually running and the monitor's in some
power-saving state, you can use "ddccontrol" to change the power-saving
state.  Here's how I turn each monitor off and on in turn (in sh):

alltext="$("$DDC" -p 2>/dev/null | sed -n /Detected/,/^Reading/p)"
devices="$(echo "$alltext" | grep '^ - D' | cut -f 4 -d ' ')"
for device in $devices ; do
    echo -n '-=>' $device
    echo " ($(echo "$alltext" | grep -A 3 "$device" | grep 'Monitor Name' \
| cut -f 2 -d : | colrm 1 1)) <=-"
    for state in off on ; do
        case $state in
            off)    ddcstate=5 ;;
            on)     sleep $sleeptime # this assumes this happens last
                    ddcstate=1
        esac
        echo -n "$state "
        "$DDC" -r 0xd6 -w $ddcstate "$device" > /dev/null 2>&1
    done # for state
    echo
done # for device

There are probably better ways to do it.  One of my monitors is pretty slow,
which is why sleeptime is as high as it is.  Adjust to taste.

If nothing is happening, this won't help.  But OTOH it probably won't hurt
either.

[toc] | [prev] | [next] | [standalone]


#275569

FromTom Browder <tom.browder@gmail.com>
Date2024-12-12 13:00 +0100
Message-ID<JSQ1j-godR-1@gated-at.bofh.it>
In reply to#275517

[Multipart message — attachments visible in raw view] — view raw

On Wed, Dec 11, 2024 at 18:42 <eben@gmx.us> wrote:
..l

If you think something is actually running and the monitor's in some
> power-saving state, you can use "ddccontrol" to change the power-saving
> state.  Here's how I turn each monitor off and on in turn (in sh):

...

Looks pretty hairy ;-D

Thanks, ebe, I'll save this for later.

-Tom

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web