From: dave g. <giv...@ya...> - 2003-10-27 08:37:01
|
I finally got my second X server running. Thanks for your help. But, when I start my second X server with the startx1 command (modified version of startx to start my 2nd server), I get an error message: Xlib: connection to ":1.0" refused by server Xlib: Client is not authorized to connect to server. So my X client, KDE wasn't able to start. When I start the 2nd X server with the 'X' command, I don't get an error message until I try launching a program, like xterm, onto the display. The error message is the same. I've tried setting the environment variable $DISPLAY to ":1.0" and then calling 'xhost +' just before I start my second X, but it has no impact. Also, do you know how to setup an X display that is larger than the screen resolution (the Viewport and virtual, options in XF86Config) ? I can use virtual to set the size (Virtual width height), but how do I control which part of the screen X shows when it first starts? :) --- Svetoslav Slavtchev <sv...@gm...> wrote: > > > > >I connected a 2nd PS2 keyboard in place of my PS2 > > >mouse, so I now have 2 PS2 keyboards. I > configured > > >hotplug and input.rc/input.agent, and using > input.rc I > > >can control which of my 2 keyboards goes on VT0 > or > > >VT1. > > > > If You have two keyboards, then You might test > both with > > 1st xf86 > > startx -- vt7 > > with 1st keyboard. Then stop it an try > > startx -- vt8 > > with 2nd keyboard same mouse. > > Identic You might test 2nd xf86. > > > > >I start my first X on vt06, and it runs just > > >fine(though temporarily w/o a mouse). The first X > is > > >set to use the keyboard assigned to VT0, and it > does. > > > > > >I set my second X to use the VT1 keyboard by > using the > > >"Dev Phys" option and setting it to > > >isa0060/serio1/input0. I set it to use the evdev > > >driver. From what I've read, doing that would > normally > > >require applying a patch to XFree86, but > apparently > > >that is already applied to the XFree86 shipped > with > > >debian? though I'm not sure if that applies to > debian > > >woody, the distribution I'm running. > > if you are using the XFree binaries from: > http://www.schuldei.org/debian/bruby/ > it already contains the patches, but the > patch that alows concurrent running X servers is > older version, so you have to pass "-prefbusid " > to every X server you start > > if you are using the XFree packages that came with > debian, > try first what Aivils explains below > > take a look at this chapters of the howto > http://tldp.org/HOWTO/XFree-Local-multi-user-HOWTO/mod_x_server.html > > http://tldp.org/HOWTO/XFree-Local-multi-user-HOWTO/mod_xserver_prefbusid.html > > > If You do not apply patch on xf86, then 1st xf86 > freezy after > > 2nd xf86 start. You can use unpatched xf86 > according docs. > > Write this into XF86Config of both xf86. > > Section "ServerFlags" > > Option "PciOsConfig" "1" > > EndSection > > > > before start any xf86 do this: > > echo "1" > /proc/bus/pci/hackvideo > > best, > > svetljo > > -- > NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, > Dateien... > Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX > FotoService > > Jetzt kostenlos anmelden unter http://www.gmx.net > > +++ GMX - die erste Adresse für Mail, Message, More! > +++ > > > > ------------------------------------------------------- > This SF.net email is sponsored by OSDN developer > relations > Here's your chance to show off your extensive > product knowledge > We want to know what you know. Tell us and you have > a chance to win $100 > http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 > _______________________________________________ > Linuxconsole-dev mailing list > Lin...@li... > https://lists.sourceforge.net/lists/listinfo/linuxconsole-dev __________________________________ Do you Yahoo!? Exclusive Video Premiere - Britney Spears http://launch.yahoo.com/promos/britneyspears/ |