CentOS 8 - Minimal installation - FullDcreen VirtualBox

maelamrani

Member
Joined
Jan 3, 2020
Messages
77
Reaction score
7
Credits
450
Hello,
How can i put my terminal in full screen by a command line
i installed Guest Additionals
when i use this command :
system-config-display --reconfig --set-resolution=1920x1200
==> system-config-display doesnt exist

xrandr => cannot display error message

Can you help me ?
Kind regards
 

Attachments

  • 01.png
    01.png
    103.8 KB · Views: 480


Thx for your answer but i can get full screen in GUI version but not in minimal installation (terminal version) see screenshut
 
console/terminal mode doesn't really know about pixels or screen resolution.

There are three ways (probably more) to make the screen bigger.

1.
export COLUMNS=XXX
if you want 120 characters for example... export COLUMNS=120

2.
add this to your .bashrc file.

# check the window size after each command and, if necessary,
# update the values of LINES and COLUMNS.
shopt -s checkwinsize

Every time you manually resize your terminal, it will notify the terminal.

3.
If you don't want to make this automatic, you can achieve the same effect by...
> sudo resize

But you will have to type this, everytime you resize your terminal window.

====================================

Virtual box has it's own screen settings, separate from your VM.

5435


Change the "Scale factor" to 150% or 200% or whatever makes sense.

Finally when you have the virtualBox terminal window open....

5436


Click on where it says "View" above, you will get several different window sizing options.

The other option (what I do most of the time)
Is just use something like PuTTY and ssh to your VM.
Then you don't have to worry about any of the options above.
 

Members online


Top