PINE64
X blank screen - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Linux on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=114)
+--- Thread: X blank screen (/showthread.php?tid=9038)



X blank screen - osmukhin - 02-06-2020

I've changed resolution on pinebook pro debian to 1024x768.
The screen become black.
How can I return resolution 1920x1080 from the CLI?


RE: X blank screen - tophneal - 02-06-2020

xrandr -q
xrandr -s [resolution]

Once your resolution is restored, try using the Tweak app to set scaling, instead.


RE: X blank screen - osmukhin - 02-07-2020

(02-06-2020, 07:15 AM)tophneal Wrote: xrandr -q
xrandr -s [resolution]

Once your resolution is restored, try using the Tweak app to set scaling, instead.


Thank you very much!
It' s what I search for.
(One thing to add before this commands:
export DISPLAY=:0.0
Otherwise "Can't open display".)


RE: X blank screen - Arwen - 02-07-2020

Perfect. I've added a trouble shooting section for this problem & solution;

Wiki - Pinebook Pro - After changing builtin LCD resolution, blank screen

As usual, feel free to correct, improve or comment, (good or politely bad).


RE: X blank screen - auds - 02-09-2020

(02-07-2020, 10:10 AM)Arwen Wrote: Perfect. I've added a trouble shooting section for this problem & solution;

Wiki - Pinebook Pro - After changing builtin LCD resolution, blank screen

As usual, feel free to correct, improve or comment, (good or politely bad).

I tried your solution but message pops up can't open display :0

I don't know what to do then? please help


RE: X blank screen - Arwen - 02-09-2020

(02-09-2020, 09:40 AM)auds Wrote:
(02-07-2020, 10:10 AM)Arwen Wrote: Perfect. I've added a trouble shooting section for this problem & solution;

Wiki - Pinebook Pro - After changing builtin LCD resolution, blank screen

As usual, feel free to correct, improve or comment, (good or politely bad).

I tried your solution but message pops up can't open display :0

I don't know what to do then? please help
Sorry, I just copied the other person's solution, (which worked for them), to the Wiki. I've never experienced this problem.

You can try something like this, but I don't make any guarentees;
  • Using a text console, (Control-Alt-F1), login with your normal user ID
  • Edit the file "nano ~/.config/monitors.xml"
  • Change the "width" value to "1920"
  • Change the "height" value to "1080"
  • If there is more than one monitor configuration listed, edit that one too.
  • Be careful to make no other changes. If needed exit without saving and re-edit.
  • Save the file and exit.
  • If you are still loggied in via the GUI, you will have to reboot using "sudo shutdown -r now".
  • After the reboot, you should be able to login to the GUI login and have the resolution back to normal.
Let us know if that worked, so I can update the Wiki.


RE: X blank screen - judgeruss - 02-18-2020

(02-09-2020, 03:24 PM)Arwen Wrote:
(02-09-2020, 09:40 AM)auds Wrote:
(02-07-2020, 10:10 AM)Arwen Wrote: Perfect. I've added a trouble shooting section for this problem & solution;

Wiki - Pinebook Pro - After changing builtin LCD resolution, blank screen

As usual, feel free to correct, improve or comment, (good or politely bad).

I tried your solution but message pops up can't open display :0

I don't know what to do then? please help
Sorry, I just copied the other person's solution, (which worked for them), to the Wiki. I've never experienced this problem.

You can try something like this, but I don't make any guarentees;
  • Using a text console, (Control-Alt-F1), login with your normal user ID
  • Edit the file "nano ~/.config/monitors.xml"
  • Change the "width" value to "1920"
  • Change the "height" value to "1080"
  • If there is more than one monitor configuration listed, edit that one too.
  • Be careful to make no other changes. If needed exit without saving and re-edit.
  • Save the file and exit.
  • If you are still loggied in via the GUI, you will have to reboot using "sudo shutdown -r now".
  • After the reboot, you should be able to login to the GUI login and have the resolution back to normal.
Let us know if that worked, so I can update the Wiki.

you were not talking to me but i had the same problem and did what you suggested and it worked!


RE: X blank screen - Arwen - 02-19-2020

(02-18-2020, 05:27 PM)judgeruss Wrote: ...
you were not talking to me but i had the same problem and did what you suggested and it worked!
Great! Glad I was able to help.
I've updated the Wiki to include this addition method to fix the problem;

Wiki - Pinebook Pro - After changing builtin LCD resolution, blank screen

As usual, feel free to correct, improve or comment, (good or politely bad).