<div dir="ltr"><div dir="ltr">On Sun, Sep 13, 2020 at 1:56 PM DryHeat122 <<a href="mailto:dryheat122@gmail.com">dryheat122@gmail.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Sep 13, 2020 at 8:27 AM alain <<a href="mailto:alain@alain.homeunix.org" target="_blank">alain@alain.homeunix.org</a>> 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"><div dir="auto">Hi,
<div dir="auto"><br></div><div dir="auto">I've had this problem on two different system in the past and currently on my main mythfrontend.</div><div dir="auto">Do ssh back to your computer and check the output of xrandr. In particular, the display being used.</div><div dir="auto">After blanking the screen, when restoring the display, on some driver/hardware/software version, the X output is reconnected to the wrong screen. If you have more than one interface on your graphic card, the odds are that this is your problem. </div><div dir="auto">You can verify by either connecting a display on the other port or by using xrandr to switch to another screen. </div><div dir="auto">I've written a script which monitors the output of xrandr and fixes the problem when it detects the problem. </div><div dir="auto"><br></div><div dir="auto">Alain </div></div></blockquote><div><br></div><div>For the black screen problem, when I tried from the SSH terminal xrandr returns "Can't open display" </div></div></div></blockquote><div><br></div><div>I figured out the proper command is xrandr -d :0, which resulted in a listing of two outputs (DVI-I-1 and VGA), and a whole bunch of size options for the former.  I rebooted and it booted to a black screen, again and again.  So I searched on the error and wound-up <a href="https://www.stephenwagner.com/2019/05/05/ubuntu-linux-black-screen-frozen-system-after-upgrade-install/#:~:text=After%20upgrading%20a%20computer%20from,and%20the%20system%20becomes%20frozen.&text=This%20is%20due%20to%20a,system%20to%20halt%20or%20freeze.">here</a>.  I followed the advice about adding nomodeset to the grub config.  Now it will boot, but the resolution is 1280 x 1024 and the display app won't allow setting to any other resolution.  xrandr -d :0 returns:</div><div><br></div><div>xrandr: Failed to get size of gamma for output default<br>Screen 0: minimum 1280 x 1024, current 1280 x 1024, maximum 1280 x 1024<br>default connected primary 1280x1024+0+0 0mm x 0mm<br>   1280x1024     77.00*<br></div><div><br></div><div>Whereas before it listed the monitor name "Samsung TV" and as I said a whole bunch of possible resolutions and the DVI and VGA outputs on the video card.  I looked up this issue and somebody said to make sure you don't have nomodeset in the grub config!  </div></div></div>