[SOLVED] Slackware 13.37 - Dual monitor, different resolutions
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Slackware 13.37 - Dual monitor, different resolutions
Hi All,
I'm running Slackware 13.37 and have dual monitors. My laptop is at resolution 1280x800, and my external monitor (connected by VGA1) should run at 1600x900, but I can't seem to do it; it stays at the laptop resolution.
Through searching, I've tried using xrandr. I needed it to get the monitor to work first, but after that noticing the resolution, everytime I try to change it with:
Code:
xrandr --output VGA1 --mode 1600x900
it gives me the error
Quote:
No protocol specified
No protocol specified
No protocol specified
No protocol specified
Can't open display :0.0
Does anyone know what I'm doing wrong. I just want to have both monitors working at the same time, but with different resolutions.
Thanks for the reply, but that is what I am doing. I am using XFCE and have tried running it in the terminal as my own user, and the superuser. Both had the same outcome (the above message).
Could it be that I have to run another program to initialize stuff? I am new to Slackware so I really don't know the ins and outs.
Maybe this will help. When I first plugged in my external monitor, it didn't start up immediately. After reboot it was working, but was mirroring my main display. I had to run
and then it worked. This command did run successfully, but I cannot run the commands to try and adjust the resolution without getting that error message.
Now I also just rebooted again, and my monitors have gone back into mirrored mode. I ran xrandr again and this was my output
Quote:
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
LVDS1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
1280x800 60.0*+
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 443mm x 249mm
1600x900 60.0 +
1280x1024 75.0
1280x800 59.8*
1152x864 75.0
1280x720 60.0
1152x720 60.0
1024x768 75.1 60.0
1024x576 60.0
832x624 74.6
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
DP1 disconnected (normal left inverted right x axis y axis)
Not sure why a reboot "fixed" that issue, but I am going to try xrandr again and see what happens when I specify the resolution.
I don't know why it was failing with that error and another reboot fixed it, but it looks good at the moment. I have the proper resolution and it's not being mirrored so it's all good. I just now have to figure out how to set it to always start that way.
Before I mark it as solved though, does anyone know what might have been causing that? Is it possible some drivers or programs just weren't properly loaded and I needed the reboot? I'm not use to having to reboot a linux OS to resolve issues (although its usually my goto on windows PC's).
I don't boot to a command line and run X from there, XFCE starts immediately with the system (run level 4 I think instead of 3). And in there, I was running all of my commands through a regular terminal window. I tried from both my regular user and the super user with the same result.
Actually I have noticed 1 issue that is still happening. On my main monitor (the laptop screen, LVDS1), on the bottom, if I move my mouse down there, it will go below the edge of the screen, as if I have another 30-40 pixels of desktop down there. My resolution is still set to 1280x800 on that display according to xrandr, and it was working before I "fixed" the resolution on my external monitor.
Anyone have any ideas on this one? I can't be a coincidence that I fix one monitor and the other screws up...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.