Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-27-2013, 11:09 AM
|
#1
|
|
Member
Registered: Aug 2006
Distribution: Slackware, OpenBSD
Posts: 45
Rep:
|
Dual external monitors on Lenovo T420s
I have 2 external monitors connected to a docking-station for the above mentioned laptop. Both monitors are identical Dell 1280x1024, one is connected to the DVI connector, the other to the VGA connector (and routed through a KVM switch).
I've mastered enough xrandr-fu to get the first monitor and the laptop display to work together with either being primary. Here's the `xrandr` output:
Code:
# xrandr
Screen 0: minimum 320 x 200, current 2880 x 1024, maximum 8192 x 8192
LVDS1 connected 1600x900+1280+0 (normal left inverted right x axis y axis) 310mm x 174mm
1600x900 60.0*+
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 connected 1280x1024+0+0 (normal left inverted right x axis y axis) 376mm x 301mm
1280x1024 60.0*+ 75.0
1152x864 75.0
1024x768 75.1 60.0
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
DP2 disconnected (normal left inverted right x axis y axis)
DP3 disconnected (normal left inverted right x axis y axis)
What I want is the laptop screen (LVDS1) to be off, and the 2 external monitors active. I can't figure out which output to use, or how to turn it on. Hate to say this, but this works fine in Windows 7.
Any hints?
Thanks.
|
|
|
|
02-27-2013, 02:21 PM
|
#2
|
|
Senior Member
Registered: Jan 2011
Distribution: Slack14_64_Multilib
Posts: 1,411
Rep: 
|
Code:
xrandr --output LVDS1 --off
as an 'example'
|
|
|
|
02-27-2013, 02:49 PM
|
#3
|
|
Member
Registered: Aug 2006
Distribution: Slackware, OpenBSD
Posts: 45
Original Poster
Rep:
|
Yes, that is half of the solution -- turning off the laptop screen. What eludes me is getting the second external monitor activated. That is: "xrandr --output [VGA1|HDMI1|DP1|HDMI2|DP2|DP3] --right-of HDMI3" does nothing for me.
|
|
|
|
02-27-2013, 02:54 PM
|
#4
|
|
Member
Registered: Mar 2002
Location: 127.0.0.1
Distribution: Slackware, OpenBSD, FreeBSD
Posts: 610
Rep: 
|
Try adding either --auto or --mode (and the mode) to the external outputs. Here is what I do on my X200s and external monitor:
xrandr --output LVDS --off --output HDMI-2 --auto
|
|
|
|
02-27-2013, 06:54 PM
|
#5
|
|
Member
Registered: Aug 2006
Distribution: Slackware, OpenBSD
Posts: 45
Original Poster
Rep:
|
xrandr --output LVDS1 --off --output HDMI3 --auto
This turns off my laptop screen, and activates the first external monitor. I can't get the second external monitor to do anything. I can add a third "--output" clause with any of the other recognized, but "disconnected", displays to no effect.
I think the problem is that X is not seeing the second external display.
|
|
|
|
02-27-2013, 07:08 PM
|
#6
|
|
Member
Registered: Aug 2006
Distribution: Slackware, OpenBSD
Posts: 45
Original Poster
Rep:
|
KVM switch is the problem?
I unplugged the second monitor from the KVM switch, and jacked it directly into the VGA on the docking station, and it now does exactly what I want.
xrandr --output HDMI3 --auto --output VGA1 --auto --right-of HDMI3
If I swap it back through the KVM, the second display is black, but I can move the mouse there, and can get parts of windows to drag there, but it's not usable. Weird.
EDIT: Marking this thread as solved -- I'll search for a solution to recognizing a monitor through a cheapo KVM as a separate problem.
Last edited by kfritz; 02-28-2013 at 10:30 AM.
Reason: Marking as solved...
|
|
|
|
03-05-2013, 05:06 PM
|
#7
|
|
LQ Newbie
Registered: Mar 2013
Posts: 9
Rep: 
|
I have this same problem with my X230 but I'm in a Lenovo Series 3 Docking station, Have you come up with any other solutions?
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 11:00 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|