[ltp] External monitor with IBM T40

linux-thinkpad@linux-thinkpad.org linux-thinkpad@linux-thinkpad.org
Thu, 4 Dec 2003 13:10:26 +0100


Thanks, this is a good suggestion.

I edited my /etc/X11/gdm/gdm.conf

  # number and that will be the display number of that server.  Usually just
  # the 0 server is used.
  # Note the VTAllocation and FirstVT keys on linux.  Don't add any vt<number>
  # arguments if VTAllocation is on, and set FirstVT to be the first vt
  # available that your gettys don't grab (gettys are usually dumb and grab

  # Definition of the standard X server.
  name=Standard server
  command=/usr/X11R6/bin/X :0 -layout T40Layout
  name=Second server
  command=/usr/X11R6/bin/X :1 -layout External

So I now start 2 servers and I can switch between them with 
<ctrl><alt> <f7> or <f8>.

Now it would be nice if I can dedicate the keyboard and mouse from my laptop
to one server, and the external mouse and external keyboard to the other ;-)
I think that is possible with Xinerama, I'll have to look into that.

If anybody has a T40 setup with Xinerama please feel free to sent me your
configuration examples..

Thanks for your help,


Quoting Paul Kaplan <pkaplan1@comcast.net>:

> I was researching a related problem; and ran across the following web page:
> http://www.phildev.net/linux/x.html
> It describes a tweek to xdm that allows booting different Xservers for 
> different monitors.  Might help here.
> Paul
> On Wednesday 03 December 2003 11:53 am, IJsbrand Wijnands wrote:
> > Hi,
> >
> > I've installed RedHat 9.0 on my T40 and I have a 21" sun monitor connected
> > to my mini-docking station. When I boot my T40 from the docking station
> for
> > some reason it's unable to detect the type of monitor and the refresh rate
> > is very bad. This worked all fine with my old T21 running RH9.0
> >
> > After browsing the web I found that I can set the option "MonitorLayout"
> > "lvds, crt" in the Device section of the XF86Config. That works and the
> > refresh rate and display mode is fine.
> >
> > Now the problem is that if I boot my T40 without external monitor I get a
> > blank screen. I see the T40 boot but as soon as X comes up it's gone.
> > Removing the "MonitorLayout" option solves that problem..
> >
> > What I did for now is define 2 Layout's with it's own Screen and Device
> > section's in the XF86Config file and starting X with 'startx -- -layout
> > External' or 'startx -- -layout T40Layout'
> >
> > Does anybody has seen similar problems and came up with a different
> > solution? I don't really like starting X manually each time and prefer to
> > boot into the graphic login manager...
> >
> > Thanks for your response.
> >
> > Ice.
> -- 
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad