mbooyzen wrote: ↑
Fri Jun 01, 2018 6:43 am
Hi, tried to change the resolution in tty1-6, read hundreds of pages and failed every time
As more user seem to have this issue, here my reply:
Virtual Terminal Console Setup
- How to change virtual terminal console resolution (columens) in MX Linux?
The following recipes have been working well within my system running MX Linux 17.1.
The graphic card in use is a Nvidia GeForce GTX 770.
We do have within MX Linux up to 7 virtual terminals. The graphical X windows is per default running at terminal device /dev/tty7. The virtual terminals 1-6 ( /dev/tty1 .. dev/tty6 ) can be used to login into a non-graphical VT-Console.
- Virtual Terminal Console in LiveBoot
Within LiveBoot (USB, CD or frugal) we do have the option conwidth to setup the number of columns within the VTconsole. Available options are conwidth=(80, 100 , 120, 140, 160, 200).
You can choose conwidth option within classical boot menu by pressing F4 or adding
conwidth= boot-parameter manually.
- Virtual Terminal Console in Installed System Boot
Within the installed MX Linux system the chosen option from the LiveBoot is carried over into the installed system.
To change or adjust the resolution and column width (number of columns) within a booted MX Linux system the following steps may be required.
The follwing two GRUB parameter do influence the resolution/column-width
of the GRUB-boot menu and the virtual console.
To change these paramter you have to find first the supported resolution of you graphic card and monitor combo. To find out the correct parameters restart your system and open GRUB-shell command line from within the GRUB-menu by pressing "C". On GRUB cmdline type "vbeinfo" and ENTER to display all supported resolutions. Go back into GRUB-menu with ESC.
The desired resolution have to be entered into GRUB default parameter list.
This can be done within MX GRUB Customizer
or by manually editing /etc/default/grub
Regeneration of the GRUB-menu is required in the later case by issuing update-grub
command from the terminal as administrator. Here are example of resolution parameters valid for my system:
Code: Select all
In order to pass the required resolution to the linux kernel the GRUB_GFXPAYLOAD_LINUX
parameter can be used. I do use either of the following valid for my system.
With this values the GRUB_GFXMODE is taken and passed to the kernel.
Alternative resoltions can be used by explicitly specifying the values, e.g valid for my system:
Code: Select all
- 2. Adjust Virtual Terminal Console Setup
In addition to the screen resolution provided to the kernel above it is required to adjust the font-size used within th VTconsole in order to change the number of columns displayed.
To change the font-size do run from the terminal command line as administrator
Do change only the font size
. The smaller the font-size the larger will be the number of columns with the VTconsole . A reboot might be required to have the resolution changes available with VTconsole.
- 3. Virtual Terminal Console Tipps: Lost X at VT7 - Only black screen
With MX Linux you can login into 6 VTconsole’s by pressing CTRL+ALT+F1 .. F6 from within the graphical X-environment. To go back into the graphical X-environment running at /dev/tty7 you can press CTRL+ALT+F7.
In rare cases the /dev/tty7 accecss is sometimes lost and it appears you just have a black screen after trying to go back using CTRL+ALT+F7. One solution to have X-environment back is by pressing CTRL+ALT+BACK, which would log you out and should show you the login-screen. Unfortunately all your running applications get closed by this log-out.
A solution to reopen the still running graphical X-environment is the following:
Run as normal logged-in user within the VTconsole
Alternatively if graphical session at /dev/tty7 is still not showing up. Go back the VTconsole /dev/tty1 by pressing CTRL+ALT+F1
and issue the same command above as adminstrator
This will reassign the graphical X-environment to VT 7.
This hint might also be applicable in other situations where VT7 of the X-enviromnents got lost, like situation after resume from suspense or hibernate, where users only have a black screen!