You are not logged in.
Hi, I have a small TV box where I managed to put Armbian with Xfce desktop environment. I use it without Display connected and some times to monitor what it is doing I use vnc.
The resolution when I connect to the display :0 is very small, to get around this in other desktop environments (e.g. lxde) I used to use the command xrandr --fb 1280x720 and everything was resized.
On Xfce if I try to give this command the screen enlarges but the effective working area remains the same and most of the display remains black. I did not understand if it is the windows manager or something else that is not refresh and how it could be solved. Any solution?
Offline
So you always run it in headless mode? Then way i use is via dummy video "card":
1. Install package:
sudo apt install xserver-xorg-video-dummy
2. With your favorite editor running via sudo create file "/etc/X11/xorg.conf" with:
Section "Monitor"
Identifier "Monitor0"
HorizSync 28.0-80.0
VertRefresh 48.0-75.0
Modeline "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
Modeline "1920x1200_60.00" 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync
EndSection
Section "Device"
Identifier "Card0"
Driver "dummy"
VideoRam 256000
EndSection
Section "Screen"
Identifier "Screen0"
DefaultDepth 24
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Depth 24
Modes "1920x1200" "1920x1080"
EndSubSection
EndSection
3. Restart Display Manager:
sudo systemctl restart lightdm
and for adding other resolutions, you can generate modeline (and manualy add it to xorg.conf) using:
cvt 1280 720
Offline
[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 520.33 KiB (Peak: 528.48 KiB) ]