>>>>> "Christopher" == Christopher Sawtell <[EMAIL PROTECTED]> writes:

Christopher> Have you got the xserver(s) and clients to behave properly?

Yup.

Christopher> Does the vncserver start up correctly and the viewer show
Christopher> the xserver window?

Yup.

Christopher> In order to get VNC to work correctly on my glibc2 based
Christopher> machine I had to get the source and compile it.

Mine works correctly with the libc5 compatibility libs installed (as
an RPM, of course).

Christopher> How _did_ you manage to get the source to xforms??  The
Christopher> library is normally distributed as a shared object file.
Christopher> You compile the demonstration programs etc.

I didn't. :-) That was just me expecting something based on my own
experience with Linux software that wasn't really there. :-)

Meanwhile, I grabbed the latest bxforms.tgz and packaged it up into a
binary RPM.

Christopher> imho, the whole idea of .rpm, .deb, etc. to distribute
Christopher> binaries of add on applications is a total fiasco, to put
Christopher> it politely.

I disagree with you completely. For 99% of the software on my machine,
RPM's work quite nicely.

Christopher> fyi, here is a bit about my machine.

Christopher> $ uname -a

Christopher> Linux berty 2.2.7 #5 Sun May 16 10:59:43 NZST 1999 i586 unknown

Here's my information:

  [kayvan@satyr ~]$ uname -a
  Linux satyr.sylvan.com 2.2.9-ac1 #1 Mon May 31 09:26:45 PDT 1999 i586 unknown
  [kayvan@satyr ~]$ 

This kernel was packaged up by my dropping the right source files onto
my machine, tweaking the redhat 6.0 RPM and generating my own kernel
RPM.

  [kayvan@satyr ~]$ rpm -qi kernel-2.2.9
  Name        : kernel                       Relocations: (not relocateable)
  Version     : 2.2.9                             Vendor: (none)
  Release     : ac1                           Build Date: Mon May 31 11:07:28 1999
  Install date: Mon May 31 11:20:57 1999      Build Host: satyr.sylvan.com
  Group       : System Environment/Kernel     Source RPM: kernel-2.2.9-ac1.src.rpm
  Size        : 10289151                         License: GPL
  Summary     : The Linux kernel (the core of the Linux operating system).
  Description :
  The kernel package contains the Linux kernel (vmlinuz), the core of your
  Red Hat Linux operating system.  The kernel handles the basic functions
  of the operating system:  memory allocation, process allocation, device
  input and output, etc.

Christopher> $ ldd /usr/local/bin/Xvnc
Christopher>         libm.so.6 => /lib/libm.so.6 (0x40015000)
Christopher>         libdl.so.2 => /lib/libdl.so.2 (0x4002d000)
Christopher>         libc.so.6 => /lib/libc.so.6 (0x40031000)
 
[kayvan@satyr ~]$ ldd /usr/local/bin/Xvnc 
        libm.so.5 => /usr/i486-linux-libc5/lib/libm.so.5 (0x4000d000)
        libdl.so.1 => /lib/libdl.so.1 (0x40015000)
        libc.so.5 => /usr/i486-linux-libc5/lib/libc.so.5 (0x40018000)

Christopher>  $ ldd /usr/local/bin/vncviewer
Christopher>         libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x4000c000)
Christopher>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40018000)
Christopher>         libc.so.6 => /lib/libc.so.6 (0x400c4000)
Christopher>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

[kayvan@satyr ~]$ ldd /usr/local/bin/vncviewer 
        libXext.so.6 => /usr/i486-linux-libc5/lib/libXext.so.6 (0x4000d000)
        libX11.so.6 => /usr/i486-linux-libc5/lib/libX11.so.6 (0x40017000)
        libc.so.5 => /usr/i486-linux-libc5/lib/libc.so.5 (0x400a9000)

Christopher>  $ ldd /usr/local/bin/lyx
Christopher>         libforms.so.0.88 => /usr/lib/libforms.so.0.88 (0x40015000)
Christopher>         libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x4008f000)
Christopher>         libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x4009d000)
Christopher>         libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400a6000)
Christopher>         libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400bb000)
Christopher>         libm.so.6 => /lib/libm.so.6 (0x40160000)
Christopher>         libc.so.6 => /lib/libc.so.6 (0x40178000)
Christopher>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

[kayvan@satyr ~]$ ldd /usr/bin/lyx
        libforms.so.0.88 => /usr/X11R6/lib/libforms.so.0.88 (0x40019000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x4009b000)
        libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x400a8000)
        libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x400b2000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x400c7000)
        libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x40164000)
        libm.so.6 => /lib/libm.so.6 (0x401a6000)
        libc.so.6 => /lib/libc.so.6 (0x401c2000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)


Christopher>  $ ls -l  /usr/lib/libforms.so.0.88
Christopher> -rw-r--r--   1 root     root       446928 Jan 13 14:50 
/usr/lib/libforms.so.0.88

[kayvan@satyr ~]$ ls -l /usr/X11R6/lib/libforms.so.0.88
-rw-r--r--   1 root     root       536078 Jun  1 01:36 /usr/X11R6/lib/libforms.so.0.88

This is part of the new RPM I just generated:

  [kayvan@satyr ~]$ rpm -qi xforms
  Name        : xforms                       Relocations: /usr 
  Version     : 0.88                              Vendor: (none)
  Release     : 3                             Build Date: Tue Jun  1 01:36:46 1999
  Install date: Tue Jun  1 01:37:43 1999      Build Host: satyr.sylvan.com
  Group       : Development/Libraries         Source RPM: xforms-0.88-3.src.rpm
  Size        : 2005003                          License: T.C. Zhao and Mark Overmars
  URL         : http://bragg.phys.uwm.edu/xforms
  Summary     : Graphical user interface toolkit for X Window Systems
  Description :
  XForms is a GUI toolkit based on Xlib for X Window Systems. It
  features a rich set of objects, such as buttons, sliders, and menus etc.
  integrated into an easy and efficient
  object/event callback execution model that allows fast and easy
  construction of X-applications. In addition,
  the library is extensible and new objects can easily be created and
  added to the library.
  [kayvan@satyr ~]$ 

Christopher> And the whole shooting match works infinitely better than
Christopher> a bought one.  ( M$ )

Yup! I couldn't agree more.

Christopher> Do persevere both LyX and vnc are `just magic'.

Thanks. The solution was to use the ``-depth 16'' args to vncserver.

                         ---Kayvan
-- 
Kayvan Aghaiepour Sylvan   | Proud husband of       | Father to
Sylvan Associates, Inc.    | Laura Isabella Sylvan  | Katherine Yelena (8/8/89)
http://www.isp.net/~kayvan |                        | Robin Gregory (2/28/92)

Reply via email to