Re: Install difficulties, 640x480 resolution

Rene Matthijssen
 

I had a similar problem, the computer did NOT recognize the monitor through my KVM switch.

I used the xrandr command in the terminal, that gave me the programmed settings as well as the minimum and maximum.
 xrandr
Screen 0: minimum 320 x 200, current 1368 x 768, maximum 16384 x 16384
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected primary 1368x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768      60.00  
   800x600       60.32    56.25  
   848x480       60.00  
   640x480       59.94  
   1368x768_60.00  59.88*

Next, I used the cvt tool to calculate the so-called modelines for the desired screen resolution. In my case.for 1366x768 I got the following:

$ cvt 1366 768
Modeline "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync

NOTE: it changed the 1366 to 1368, but that did not seem to matter. Now we have all the necessary ingredients to set up a new display mode for the external monitor.

I issued the following xrandr commands:
xrandr --newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
xrandr --addmode VGA-0 "1368x768_60.00"
xrandr --output VGA-0 --mode 1368x768_60.00

The first command defines a new display mode with the name "1368x768_60.00" (you could change this name to anything else), and the second command associates the new display mode with the external monitor. Now I could select the resolution 1368x768 (16:9) for the external monitor (VGA-0) in the Displays settings window!

Since the above settings are valid only for the current session, we need to save them into a file that is executed every time we log in.
I opened profile in the home folder and using text editor, I added
xrandr --newmode "1368x768_60.00"   85.25  1368 1440 1576 1784  768 771 781 798 -hsync +vsync
xrandr --addmode VGA-0 "1368x768_60.00"
xrandr --output VGA-0 --mode 1368x768_60.00

Now the resolution automatically is set to 1368x768 every time I reboot the computer .
The sequence is the same for other resolutions.
I did this to several computers and it works great.
Rene

--

On 2018-06-07 05:30 PM, Gordon Haverland wrote:
I have no exhausted vga mode numbers (decimal or hex), but everything
ends up 640x480 so far.  Setting vga=ask, did not display known modes
and piping dmesg into less, there didn't appear to be anything in the
kernel buffer about this.

I can start an xterm that is 70x20.  But if I run the CLI installer
from that small window, it still makes new windows which are too big,
and I can't see or work the buttons.  I have tried to put COLUMNS=70
LINES=20 GEOMETRY="70x20+30+30" in the environment, and that doesn't
seem to do anything either.

Join elug@groups.io to automatically receive all group messages.