LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-01-2016, 09:30 PM   #1
xunilq
LQ Newbie
 
Registered: Dec 2016
Posts: 21

Rep: Reputation: Disabled
Resolution changed after months of use


Hello,

I'm using Slackware 14.2 as my main OS, running on a notebook with an external monitor, notebook monitor disabled/closed.

Never had to configure my monitor, it worked on full resolution since the first boot, never had to configure anything. It's a intel based notebook.

Today the resolution is capped at 1024x768, i reboot everyday.

- It's updated to current, there was xorg updates but it was weeks ago, problem started today;
- Haven't configured/installed anything since the last update.

I'm running a server, could my system be compromised by a hacker? PHP is capped and i have mod_security configured and enabled.

I tried slackpkg reinstall xorg and xf86-vide-intel
Also tried deleting xorg.conf-vesa.
 
Old 12-01-2016, 09:46 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
I doubt a hacker would care about your video resolution.

Are you using a desktop environment? If so, which one.

What is your graphics chipset?

Have you looked at /var/log/Xorg.?.log? That may give you some hints.

These days, X has gotten so stable that it no longer needs an xorg.conf by default. However, if you wish to create one, there is a way to do so. This link may help: https://docs.slackware.com/slackbook:xwindow_system

Last edited by frankbell; 12-01-2016 at 09:47 PM.
 
Old 12-02-2016, 01:05 AM   #3
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
As frankbell said, you do not need a xorg.conf unless you are using a proprietary blob like nvidia drivers. If you do have a xorg.conf it should only have the few things you want to change, for example mine configures xorg to use DRI3 instead of DRI2.

My guess is that you used a game or other program with lower buggy resolution that forced it for xorg as well, alternatively there is something in your xorg.conf that did not work as you expected with a newer version of xorg. You can reset it with something like 'xrandr -s 0' or set it a specific resolution with something like 'xrandr -s 1680x1050' where you should enter your desired resolution of course.

https://linuxacademy.com/blog/linux/...n-with-xrandr/
 
Old 12-02-2016, 10:22 AM   #4
xunilq
LQ Newbie
 
Registered: Dec 2016
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
I doubt a hacker would care about your video resolution.
Indeed, it makes no sense. My concern is what behind the scene event caused the issue.

Quote:
set it a specific resolution with something like 'xrandr -s 1680x1050'
How do you know that's my desired resolution? Are you the hacker? SlightlyScaredSmileFace

Quote:
My guess is that you used a game or other program with lower buggy resolution that forced it for xorg as well
I'm trying to remember, i switch between KDE and XFCE and i did tried running KDECompare while on XFCE, it had a very poor interface.

Quote:
My xrandr:
bash-4.4$ xrandr -q
Screen 0: minimum 8 x 8, current 1024 x 768, maximum 32767 x 32767
LVDS1 connected (normal left inverted right x axis y axis)
1024x768 60.00
800x600 60.32
640x480 59.94
DP1 disconnected (normal left inverted right x axis y axis)
VGA1 connected primary 1024x768+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
VIRTUAL1 disconnected (normal left inverted right x axis y axis)


bash-4.4$ xrandr -s 1680x1050
Size 1680x1050 not found in available modes

Last edited by xunilq; 12-02-2016 at 10:35 AM. Reason: Added xrandr output
 
Old 12-02-2016, 10:55 AM   #5
Gordie
Member
 
Registered: Aug 2007
Location: Nolalu, Ontario, Canada
Distribution: Slackware64-Current
Posts: 871

Rep: Reputation: 364Reputation: 364Reputation: 364Reputation: 364
try xorgsetup
 
Old 12-02-2016, 11:01 AM   #6
xunilq
LQ Newbie
 
Registered: Dec 2016
Posts: 21

Original Poster
Rep: Reputation: Disabled
I'm closing the thread because it's boring for people to care about other people resolution but it's an issue and i will leave the final thoughts:

How i got my resolution back:

Quote:
cvt 1680 1050
xrandr --newmode "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
xrandr --addmode VGA1 1680x1050_60.00
xrandr --output VGA1 --mode 1680x1050_60.00
Is it working like before? NO!

- Normally when slackware is booting the resolution is low and then at some point it loads the right resolution and the text gets small, cause of the right resolution.
> > Now when slackware is booting it jumps from the low resolution to a slightly better resolution, but not still a low resolution.
- Then it goes from text mode to SDM login screen and i have the full resolution.
> > But when i login the resolution is 1024x768 again and i have to manually select my full resolution.

Something happend.

Last edited by xunilq; 12-02-2016 at 11:02 AM.
 
Old 12-03-2016, 01:40 PM   #7
BCarey
Senior Member
 
Registered: Oct 2005
Location: New Mexico
Distribution: Slackware
Posts: 1,639

Rep: Reputation: Disabled
I had the exact same problem happen a week ago or so on a computer I maintain. No installations or updates were done prior to the problem. There was just suddenly a maximum resolution of 1024x768. After trying a number of things I ran xorgsetup and that fixed the problem. Unlike the xrandr solution above the fix persists after reboot.
 
1 members found this post helpful.
Old 12-03-2016, 02:21 PM   #8
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Quote:
Originally Posted by xunilq View Post
How do you know that's my desired resolution? Are you the hacker? SlightlyScaredSmileFace
Lol, it was an arbitrary example where I used my screen's resolution.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] resolution changed - can't return to normal resolution houndhen Linux - Hardware 3 11-21-2010 12:59 PM
resolution changed by itself--- poiesis Linux - Newbie 3 04-02-2009 05:13 AM
Resolution suddenly changed p03p Linux - Desktop 2 02-28-2009 05:16 AM
Help resolution somehow changed p03p Linux - Newbie 9 02-26-2009 04:57 PM
Changed resolution in Xwindow, now I can't see tcsanadi Red Hat 1 10-25-2005 12:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration