This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: cygwin-xfree Digest 25 Sep 2004 19:30:23 -0000 Issue 1550
- From: Vijay Kiran Kamuju <infyquest at gmail dot com>
- To: cygwin-xfree at cygwin dot com
- Date: Mon, 27 Sep 2004 10:15:04 +0530
- Subject: Re: cygwin-xfree Digest 25 Sep 2004 19:30:23 -0000 Issue 1550
- References: <1096140623.27309.ezmlm@cygwin.com> <36bf289b0409262131600f4412@mail.gmail.com>
- Reply-to: cygwin-xfree at cygwin dot com
- Reply-to: Vijay Kiran Kamuju <infyquest at gmail dot com>
I sending u the xdpyinfo logs for the both Cygwin/X and HummingBird Exceed
Cygwin/X
--------------
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.
name of display: 127.0.0.1:0.0
version number: 11.0
vendor string: The Cygwin/X Project
vendor release number: 60801000
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: PointerRoot
number of extensions: 24
BIG-REQUESTS
DAMAGE
DEC-XTRAP
DOUBLE-BUFFER
Extended-Visual-Information
GLX
LBX
MIT-SUNDRY-NONSTANDARD
RANDR
RECORD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
TOG-CUP
X-Resource
XC-APPGROUP
XC-MISC
XFIXES
XFree86-Bigfont
XInputExtension
XKEYBOARD
XTEST
default screen number: 0
number of screens: 1
screen #0:
print screen: no
dimensions: 1018x715 pixels (345x242 millimeters)
resolution: 75x75 dots per inch
depths (7): 16, 1, 4, 8, 15, 24, 32
root window id: 0x3a
depth of root window: 16 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 64
preallocated pixels: black 0, white 65535
options: backing-store NO, save-unders NO
largest cursor: 32x32
current input event mask: 0x0
number of visuals: 4
default visual id: 0x22
visual:
visual id: 0x22
class: TrueColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 6 bits
visual:
visual id: 0x23
class: TrueColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 6 bits
visual:
visual id: 0x24
class: TrueColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 6 bits
visual:
visual id: 0x25
class: TrueColor
depth: 16 planes
available colormap entries: 64 per subfield
red, green, blue masks: 0xf800, 0x7e0, 0x1f
significant bits in color specification: 6 bits
HummingBird Exceed
--------------------------------
name of display: 127.0.0.1:0.0
version number: 11.0
vendor string: Hummingbird Communications Ltd.
vendor release number: 6000
maximum request size: 4194300 bytes
motion buffer size: 1
bitmap unit, bit order, padding: 8, MSBFirst, 32
image byte order: MSBFirst
number of supported pixmap formats: 2
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 254
focus: PointerRoot
number of extensions: 10
BIG-REQUESTS
DOUBLE-BUFFER
HCL-DOS-Access
HCLMISC
HCLxperf
LBX
SECURITY
SHAPE
XC-MISC
XInputExtension
default screen number: 0
number of screens: 1
screen #0:
print screen: no
dimensions: 1024x749 pixels (320x234 millimeters)
resolution: 81x81 dots per inch
depths (2): 1, 24
root window id: 0x29
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders NO
largest cursor: 32x32
current input event mask: 0x400000
PropertyChangeMask
number of visuals: 1
default visual id: 0x21
visual:
visual id: 0x21
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff, 0xff00, 0xff0000
significant bits in color specification: 8 bits
bye,
Vijay
On Mon, 27 Sep 2004 10:01:23 +0530, Vijay Kiran Kamuju
<infyquest@gmail.com> wrote:
> hi,
>
> sorry for not replying fast,
>
> i live in the other side of the world.
>
> i was in the office, and it was becoming late, wrking till 8pm
>
> i cannt access gmail in netcafes as they here use older ie
>
> so i could nt reply u fast.
>
> all i just wanted to connect to multiple solaris servers.
>
> using the xwin, ie multiple instances
>
> thats all was my question how to start multiple instances of xserver
>
> bye,
> vijay
>
> On 25 Sep 2004 19:30:23 -0000, cygwin-xfree-digest-help@cygwin.com
>
>
> <cygwin-xfree-digest-help@cygwin.com> wrote:
> >
> > cygwin-xfree Digest 25 Sep 2004 19:30:23 -0000 Issue 1550
> >
> > Topics (messages 21367 through 21378):
> >
> > multiple connections from Xserver
> > 21367 by: Tom Sobczynski <tsobczynski@mac.com>
> > 21368 by: Vijay Kiran Kamuju <infyquest@gmail.com>
> > 21369 by: Michel Bardiaux <mbardiaux@peaktime.be>
> > 21371 by: Igor Furlan <primorec@sbcglobal.net>
> >
> > start up screen problem
> > 21370 by: Michel Bardiaux <mbardiaux@peaktime.be>
> >
> > BScreen::BScreen: an error occcurred while querying the X server
> > 21372 by: Bammon0001@aol.com
> > 21373 by: Mark Paulus <mark.paulus@mci.com>
> > 21374 by: Michel Bardiaux <mbardiaux@peaktime.be>
> >
> > Missing characters from a Type1 font
> > 21375 by: Arthur Norman <acn1@cam.ac.uk>
> >
> > Display Error
> > 21376 by: ksrangsy@uwm.edu
> > 21378 by: Alexander Gottwald <Alexander.Gottwald@s1999.tu-chemnitz.de>
> >
> > weird situation with Xnest
> > 21377 by: Ariel Burbaickij <ariel.burbaickij@gmail.com>
> >
> > Administrivia:
> >
> > To subscribe to the digest, e-mail:
> > cygwin-xfree-digest-subscribe@cygwin.com
> >
> > To unsubscribe from the digest, e-mail:
> > cygwin-xfree-digest-unsubscribe@cygwin.com
> >
> > To post to the list, e-mail:
> > cygwin-xfree@cygwin.com
> >
> > ----------------------------------------------------------------------
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Tom Sobczynski
> > To: Vijay Kiran Kamuju
> > Date: Fri, 24 Sep 2004 09:25:42 -0400
> > Subject: Re: multiple connections from Xserver
> >
> > Vijay,
> >
> > I think there is some confusion about what it is you are trying to
> > accomplish. If you tell us more about what you'd really like to be able
> > to do, we can try to provide you with good options. For instance, are
> > you interested in seeing two desktops on remote systems, or do you want
> > to run specific applications on two remote systems and simply interact
> > with them from your Windows desktop? Am I making any sense, or just
> > muddying the waters more?
> >
> > Tom
> >
> > On Fri, 2004-09-24 at 00:34, Vijay Kiran Kamuju wrote:
> > > is it possible to connect to multiple clients from my XServer
> > >
> > > im already running XWin by
> > >
> > > XWin -clipboard -query yamuna&
> > >
> > > i wanted 2 connect to another server named himalya while keeping
> > > connection to above open
> > >
> > > it gives a fatal error and i am providing the
> > >
> > > Contents of /tmp/XWin.log
> > > -------------------------------------
> > >
> > > Welcome to the XWin X Server
> > > Vendor: The Cygwin/X Project
> > > Release: 6.8.1.0-1
> > >
> > > Contact: cygwin-xfree@cygwin.com
> > >
> > > XWin was started with the following command line:
> > >
> > > XWin -clipboard -query himalaya
> > >
> > > ddxProcessArgument - Initializing default screens
> > > winInitializeDefaultScreens - w 1024 h 768
> > > winInitializeDefaultScreens - Returning
> > > winCheckDisplayNumber - Cygwin/X is already running on display 0
> > >
> > > Fatal server error:
> > > InitOutput - Duplicate invocation on display number: 0. Exiting.
> > >
> > > winDeinitMultiWindowWM - Noting shutdown in progress
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Vijay Kiran Kamuju
> > To: Tom Sobczynski
> > Date: Fri, 24 Sep 2004 19:03:08 +0530
> > Subject: Re: multiple connections from Xserver
> >
> > Hi Tom,
> >
> > Alex's solution just solved my prob
> >
> > bye,
> > Vijay
> >
> > On Fri, 24 Sep 2004 09:25:42 -0400, Tom Sobczynski <tsobczynski@mac.com> wrote:
> > > Vijay,
> > >
> > > I think there is some confusion about what it is you are trying to
> > > accomplish. If you tell us more about what you'd really like to be able
> > > to do, we can try to provide you with good options. For instance, are
> > > you interested in seeing two desktops on remote systems, or do you want
> > > to run specific applications on two remote systems and simply interact
> > > with them from your Windows desktop? Am I making any sense, or just
> > > muddying the waters more?
> > >
> > > Tom
> > >
> > >
> > >
> > > On Fri, 2004-09-24 at 00:34, Vijay Kiran Kamuju wrote:
> > > > is it possible to connect to multiple clients from my XServer
> > > >
> > > > im already running XWin by
> > > >
> > > > XWin -clipboard -query yamuna&
> > > >
> > > > i wanted 2 connect to another server named himalya while keeping
> > > > connection to above open
> > > >
> > > > it gives a fatal error and i am providing the
> > > >
> > > > Contents of /tmp/XWin.log
> > > > -------------------------------------
> > > >
> > > > Welcome to the XWin X Server
> > > > Vendor: The Cygwin/X Project
> > > > Release: 6.8.1.0-1
> > > >
> > > > Contact: cygwin-xfree@cygwin.com
> > > >
> > > > XWin was started with the following command line:
> > > >
> > > > XWin -clipboard -query himalaya
> > > >
> > > > ddxProcessArgument - Initializing default screens
> > > > winInitializeDefaultScreens - w 1024 h 768
> > > > winInitializeDefaultScreens - Returning
> > > > winCheckDisplayNumber - Cygwin/X is already running on display 0
> > > >
> > > > Fatal server error:
> > > > InitOutput - Duplicate invocation on display number: 0. Exiting.
> > > >
> > > > winDeinitMultiWindowWM - Noting shutdown in progress
> > >
> > >
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Michel Bardiaux
> > To: cygwin-xfree@cygwin.com
> > Date: Fri, 24 Sep 2004 15:56:44 +0200
> > Subject: Re: multiple connections from Xserver
> >
> > Vijay Kiran Kamuju wrote:
> >
> > > Hi Tom,
> > >
> > > Alex's solution just solved my prob
> > >
> > > bye,
> > > Vijay
> >
> > But since you didnt describe your problem very clearly (there are
> > several interpretions possible), no one else will benefit from the
> > solution. So please explain anyway.
> >
> > >
> > >
> > > On Fri, 24 Sep 2004 09:25:42 -0400, Tom Sobczynski <tsobczynski@mac.com> wrote:
> > >
> > >>Vijay,
> > >>
> > >>I think there is some confusion about what it is you are trying to
> > >>accomplish. If you tell us more about what you'd really like to be able
> > >>to do, we can try to provide you with good options. For instance, are
> > >>you interested in seeing two desktops on remote systems, or do you want
> > >>to run specific applications on two remote systems and simply interact
> > >>with them from your Windows desktop? Am I making any sense, or just
> > >>muddying the waters more?
> > >>
> > >>Tom
> > >>
> > >>
> > >>
> > >>On Fri, 2004-09-24 at 00:34, Vijay Kiran Kamuju wrote:
> > >>
> > >>>is it possible to connect to multiple clients from my XServer
> > >>>
> > >>>im already running XWin by
> > >>>
> > >>>XWin -clipboard -query yamuna&
> > >>>
> > >>>i wanted 2 connect to another server named himalya while keeping
> > >>>connection to above open
> > >>>
> > >>>it gives a fatal error and i am providing the
> > >>>
> > >>>Contents of /tmp/XWin.log
> > >>>-------------------------------------
> > >>>
> > >>>Welcome to the XWin X Server
> > >>>Vendor: The Cygwin/X Project
> > >>>Release: 6.8.1.0-1
> > >>>
> > >>>Contact: cygwin-xfree@cygwin.com
> > >>>
> > >>>XWin was started with the following command line:
> > >>>
> > >>>XWin -clipboard -query himalaya
> > >>>
> > >>>ddxProcessArgument - Initializing default screens
> > >>>winInitializeDefaultScreens - w 1024 h 768
> > >>>winInitializeDefaultScreens - Returning
> > >>>winCheckDisplayNumber - Cygwin/X is already running on display 0
> > >>>
> > >>>Fatal server error:
> > >>>InitOutput - Duplicate invocation on display number: 0. Exiting.
> > >>>
> > >>>winDeinitMultiWindowWM - Noting shutdown in progress
> > >>
> > >>
> >
> > --
> > Michel Bardiaux
> > Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles
> > Tel : +32 2 790.29.41
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Igor Furlan
> > To: cygwin-xfree@cygwin.com
> > Date: Fri, 24 Sep 2004 08:45:15 -0700 (PDT)
> > Subject: Re: multiple connections from Xserver
> >
> >
> > --- Michel Bardiaux <mbardiaux@peaktime.be> wrote:
> >
> > > Vijay Kiran Kamuju wrote:
> > >
> > > > Hi Tom,
> > > >
> > > > Alex's solution just solved my prob
> > > >
> > > > bye,
> > > > Vijay
> > >
> > > But since you didnt describe your problem very
> > > clearly (there are
> > > several interpretions possible), no one else will
> > > benefit from the
> > > solution. So please explain anyway.
> >
> > You are right... perhaps he does not care ;-)
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Michel Bardiaux
> > To: cygwin-xfree@cygwin.com
> > Date: Fri, 24 Sep 2004 16:36:18 +0200
> > Subject: Re: start up screen problem
> >
> > Vijay Kiran Kamuju wrote:
> >
> > > Hi,
> > >
> > > i am using humming bird exceed and cygywin/x to connect to solaris servers
> > >
> > > i noticed some thing quite different
> > >
> > > check out the first screen after successfully logging in
> > >
> > > cde1.gif -------> Cygwin/X
> > > cde2.gif -------> HummingBird Exceed
> > >
> > > there is colorloss in the images due to gif conversion,
> > >
> > > if u want ill provide the orignal bmps
> > >
> > > can anyone tell me why its happening?
> > >
> > > can u fix this?
> > >
> > > bye,
> > > Vijay
> > >
> > What does xdpyinfo say in both cases?
> >
> > --
> > Michel Bardiaux
> > Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles
> > Tel : +32 2 790.29.41
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Bammon0001@aol.com
> > To: cygwin-xfree@cygwin.com
> > Date: Fri, 24 Sep 2004 11:59:09 -0400
> > Subject: BScreen::BScreen: an error occcurred while querying the X server
> >
> > Hello,
> > Am having difficulty getting this email through.
> >
> > I installed cygwin per a the web site's and a Professor's instructions. In startx, got
> >
> > BScreen::BScreen: an error occured whil querying the Xserver.
> > another window manager already running on display:0.0.
> >
> > Openbox: no managable screens found aborting
> >
> > ...attached is the XWin.log.
> >
> > Thank you,
> > Brian Ammon
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Mark Paulus
> > To: "Bammon0001@aol.com"
> > , "cygwin-xfree@cygwin.com"
> > Date: Fri, 24 Sep 2004 10:08:21 -0600
> > Subject: Re: BScreen::BScreen: an error occcurred while querying the X server
> >
> > Do you have a .xinitrc that is starting a window
> > manager?
> >
> > If you want to use startx and want to use a window manager
> > via .xinitrc (such as fvwm2 or wmaker), then you also
> > need to add a .xserverrc that invokes XWin WITHOUT
> > the multiwindow option:
> > e.g.
> >
> > $ cat .xserverrc
> > exec X :0 -clipboard
> >
> > $ cat .xinitrc
> > exec wmaker
> >
> > On Fri, 24 Sep 2004 11:59:09 -0400, Bammon0001@aol.com wrote:
> >
> > >Hello,
> > >Am having difficulty getting this email through.
> >
> > >I installed cygwin per a the web site's and a Professor's instructions. In startx, got
> >
> > >BScreen::BScreen: an error occured whil querying the Xserver.
> > >another window manager already running on display:0.0.
> >
> > >Openbox: no managable screens found aborting
> >
> > >...attached is the XWin.log.
> >
> > >Thank you,
> > >Brian Ammon
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Michel Bardiaux
> > To: cygwin-xfree@cygwin.com
> > Date: Fri, 24 Sep 2004 18:13:21 +0200
> > Subject: Re: BScreen::BScreen: an error occcurred while querying the X server
> >
> > Bammon0001@aol.com wrote:
> >
> > > Hello,
> > > Am having difficulty getting this email through.
> > >
> > > I installed cygwin per a the web site's and a Professor's instructions. In startx, got
> > >
> > > BScreen::BScreen: an error occured whil querying the Xserver.
> > > another window manager already running on display:0.0.
> > >
> > > Openbox: no managable screens found aborting
> > >
> > > ...attached is the XWin.log.
> > >
> > > Thank you,
> > > Brian Ammon
> >
> > The problem is not with the X server, XWin.log shows it started
> > normally. But you specified -multiwindow, meaning you will be using
> > MS-Windows itself as window manager. So startx should not start any WM
> > of its own. What exactly is there in your startx?
> >
> > --
> > Michel Bardiaux
> > Peaktime Belgium S.A. Bd. du Souverain, 191 B-1160 Bruxelles
> > Tel : +32 2 790.29.41
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Arthur Norman
> > To: cygwin-xfree@cygwin.com
> > Date: Fri, 24 Sep 2004 23:27:52 +0100 (GMT Daylight Time)
> > Subject: Missing characters from a Type1 font
> >
> > I install the AMS "computer modern" type1 fonts (as fetched form any big
> > TeX archive) and then try to use them. I appear to find that using cygwin
> > and its X server that the character with code 0xa1 is not displayed when
> > XDrawString is used. The code is a second-mapping of what would otherwise
> > be code 0x00, a capital Gamma.
> > Running exactly the same code on several 32-bit Linux systems causes the
> > character to be visible (specifically SuSE 9.0 + current updates and
> > RedHat 6.1). The new fonts were added using "xset fp+" and Delta, Theta
> > appear ok from 0xa2, 0xa3, so the font can really be accessed. I have some
> > belief that things fail on SuSE 9.x x86_64 too but can not readily check
> > that again just now. As short a demo program I have got is a hack of a
> > Hello World program found on the Web. It should display
> > X Gamma Y Delta | Theta Lambda Hello, World
> > but as I say on cygwin the Gamma is just missed out. Have I missed some
> > fine print in a manual please anybody?
> >
> > unpack cmps-unix.tar.gz to somwhere
> > pushd <dir with cm fonts .pfb file>
> > type1inst
> > xset fp+ `pwd`
> > xset fp rehash
> > popd
> > gcc hello.c -L/usr/X11R6/lib -lX11 -o hello
> > ./hello
> > ============
> > /*
> > * This is basically an X "Hello World" program found in a collection
> > * of Hello Worlds on the web. I have stripped some comments to reduce
> > * bulk
> > */
> >
> > #include <stdio.h>
> > #include <X11/Xlib.h>
> > #include <X11/Xutil.h>
> >
> > #define STRING "X\x00Y\x01Z\x02\x03Hello, world"
> > #define STRING "X\xa1Y\xa2Z\xa3\xa4Hello,\xa0world"
> > #define STRINGlength 19
> > #define BORDER 1
> > #define FONT "-unknown-cmr17-medium-r-normal--40-0-0-0-p-0-adobe-fontspecific"
> > XWMHints xwmh = {
> > (InputHint|StateHint), /* flags */
> > False, /* input */
> > NormalState, /* initial_state */
> > 0, /* icon pixmap */
> > 0, /* icon window */
> > 0, 0, /* icon location */
> > 0, /* icon mask */
> > 0, /* Window group */
> > };
> >
> > main(argc,argv)
> > int argc;
> > char **argv;
> > {
> > Display *dpy; /* X server connection */
> > Window win; /* Window ID */
> > GC gc; /* GC to draw with */
> > XFontStruct *fontstruct; /* Font descriptor */
> > unsigned long fth, pad; /* Font size parameters */
> > unsigned long fg, bg, bd; /* Pixel values */
> > unsigned long bw; /* Border width */
> > XGCValues gcv; /* Struct for creating GC */
> > XEvent event; /* Event received */
> > XSizeHints xsh; /* Size hints for window manager */
> > char *geomSpec; /* Window geometry string */
> > XSetWindowAttributes xswa; /* Temporary Set Window Attribute struct */
> >
> > if ((dpy = XOpenDisplay(NULL)) == NULL) {
> > fprintf(stderr, "%s: can't open %s\en", argv[0], XDisplayName(NULL));
> > exit(1);
> > }
> >
> > if ((fontstruct = XLoadQueryFont(dpy, FONT)) == NULL) {
> > fprintf(stderr, "%s: display %s doesn't know font %s\en",
> > argv[0], DisplayString(dpy), FONT);
> > exit(1);
> > }
> > fth = fontstruct->max_bounds.ascent + fontstruct->max_bounds.descent;
> >
> > bd = BlackPixel(dpy, DefaultScreen(dpy));
> > bg = WhitePixel(dpy, DefaultScreen(dpy));
> > fg = BlackPixel(dpy, DefaultScreen(dpy));
> >
> > pad = BORDER;
> > bw = 8;
> >
> > xsh.flags = (PPosition | PSize);
> > xsh.height = fth + pad * 2;
> > xsh.width = XTextWidth(fontstruct, STRING, STRINGlength) + pad * 2;
> > xsh.x = (DisplayWidth(dpy, DefaultScreen(dpy)) - xsh.width) / 2;
> > xsh.y = (DisplayHeight(dpy, DefaultScreen(dpy)) - xsh.height) / 2;
> >
> > win = XCreateSimpleWindow(dpy, DefaultRootWindow(dpy),
> > xsh.x, xsh.y, xsh.width, xsh.height,
> > bw, bd, bg);
> >
> > XSetStandardProperties(dpy, win, STRING, STRING, None, argv, argc, &xsh);
> > XSetWMHints(dpy, win, &xwmh);
> >
> > xswa.colormap = DefaultColormap(dpy, DefaultScreen(dpy));
> > xswa.bit_gravity = CenterGravity;
> > XChangeWindowAttributes(dpy, win, (CWColormap | CWBitGravity), &xswa);
> >
> > gcv.font = fontstruct->fid;
> > gcv.foreground = fg;
> > gcv.background = bg;
> > gc = XCreateGC(dpy, win, (GCFont | GCForeground | GCBackground), &gcv);
> >
> > XSelectInput(dpy, win, ExposureMask);
> > XMapWindow(dpy, win);
> > while (1) {
> > XNextEvent(dpy, &event);
> > if (event.type == Expose && event.xexpose.count == 0) {
> > XWindowAttributes xwa; /* Temp Get Window Attribute struct */
> > int x, y;
> > while (XCheckTypedEvent(dpy, Expose, &event));
> > if (XGetWindowAttributes(dpy, win, &xwa) == 0)
> > break;
> > x = (xwa.width - XTextWidth(fontstruct, STRING, STRINGlength)) / 2;
> > y = (xwa.height + fontstruct->max_bounds.ascent
> > - fontstruct->max_bounds.descent) / 2;
> > XClearWindow(dpy, win);
> > /* The next line appears to me to behave oddly */
> > XDrawString(dpy, win, gc, x, y, STRING, STRINGlength);
> > }
> > }
> > exit(1);
> > }
> > ============
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: ksrangsy@uwm.edu
> > To: cygwin-xfree@cygwin.com
> > Date: Fri, 24 Sep 2004 17:55:10 -0500
> > Subject: Display Error
> >
> > Hello, I have a question about Xwin. I've been using Xwin T1 connection and on
> > dial-up but without the full interface response with dial-up. But now that I
> > have a dsl connection, I get a display error. Attached is the XWin.log with
> > the error message. Is there anything I can do to fix this error; any help
> > would be extremely appreciated.
> >
> > Thank you.
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Alexander Gottwald
> > To: cygwin-xfree@cygwin.com
> > Date: Sat, 25 Sep 2004 18:45:41 +0200 (MEST)
> > Subject: Re: Display Error
> >
> > ksrangsy@uwm.edu wrote:
> >
> > > Hello, I have a question about Xwin. I've been using Xwin T1 connection and on
> > > dial-up but without the full interface response with dial-up. But now that I
> > > have a dsl connection, I get a display error. Attached is the XWin.log with
> > > the error message. Is there anything I can do to fix this error; any help
> > > would be extremely appreciated.
> >
> > > Fatal server error:
> > > XDMCP fatal error: Session failed Session 135526303 failed for display 172.16.1.33:0: Cannot open display
> >
> > XWin is using the local ethernet interface with a private address. The remote
> > server does not know how to connect a host in that network.
> >
> > You may try to supply the -from parameter with the ip address of the ppp
> > interface (eg XWin -indirect <remotehost> -from <ipaddress>. Or you use
> > the more secure way of ssh login into the server and use the X11Forwarding
> > feature of ssh to tunnel all X11 connections through the ssh connection
> >
> > DISPLAY=:0.0 ssh -Y remotehost ~/.xsession
> >
> > bye
> > ago
> >
> > NP: Fixmer/McCarthy - Freefall (Remix by Covenant)
> > --
> > Alexander.Gottwald@informatik.tu-chemnitz.de
> > http://www.gotti.org ICQ: 126018723
> >
> >
> >
> > ---------- Forwarded message ----------
> > From: Ariel Burbaickij
> > To: Alexander Gottwald
> > Date: Sat, 25 Sep 2004 14:12:42 +0200
> > Subject: Re: weird situation with Xnest
> >
> > On Thu, 23 Sep 2004 13:20:50 +0200 (MEST), Alexander Gottwald
> > <alexander.gottwald@s1999.tu-chemnitz.de> wrote:
> > > On Thu, 23 Sep 2004, Ariel Burbaickij wrote:
> > >
> > > > On Thu, 23 Sep 2004 12:27:34 +0200 (MEST), Alexander Gottwald
> > > > <alexander.gottwald@s1999.tu-chemnitz.de> wrote:
> > > > > On Thu, 23 Sep 2004, Ariel Burbaickij wrote:
> > > > >
> > > > > > Hello dear mailing list participants,
> > > > > > following pretty strange thing happens
> > > > > > to me:
> > > > > > if I start Xnest and then try to start
> > > > > > xterm on it I get Bad system call and
> > > > > > window of xterm does not appear
> > > > > > in nested server.
> > > > >
> > > > > Which version of Xnest you're referring too?
> > > >
> > > > I do not know how it is possible to obtain
> > > > version of Xnest. The release of Xwin
> > > > is 6.8.0.0-1
> > >
> > > There were two fixes to Xnest which might apply to your problem in
> > > xorg-x11-xnest-6.8.1.0-1. Please try this version.
> > Yes, it had solved both the problem of "Bad system call" and
> > also of inability to start window manager in nested server.
> > Surprisingly enough, if I start nested server in full display
> > mode (i.e. -geometry 1024X768+0+0) application panel
> > will not appear for whatever reasons, though.
> >
> >
> >
> >
> >
>