I have a headless Linux machine which I run as a mini-server at home and is installed with Fedora 24 server with LXDE desktop. Two days ago, I connected it to a monitor and upgraded it to Fedora 25. Installation went fine; however, whenever I tried to login, it used to log me out at the first mouse click. I was not able to login through GUI whatsoever (however, I was able to login via terminal).Upon going through 100s of blogs and 100s of trial and error, I found out that long ago I had a setup in .bash_profile to increase the resolution whenever I connect using TeamViewer (as this server is headless almost all the time and I use the machines GUI only though TeamViewer). This was the culprit. After removing this, I was able to login without a problem. Now I dont know how to increase the resolution when I connect to the headless server via TeamViewer. I was using the below command to set the resolution from Fedora 21 until 24:xrandr newmode 1920x1080_60.00 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsyncxrandr addmode VIRTUAL1 1920x1080_60.00xrandr output VIRTUAL1 mode 1920x1080_60.00xrandr output LVDS1 offAny thoughts would be much appreciated.
Unable to increase the screen resolution on headless Fedora after upgrade (25)
linux;fedora;xrandr;resolution