Someone was kind enough to point out that the vnc list removes attachments, 
so my xstartup and a vncserver log are inline below. I am seeing a slew of 
"gdk" and "imlib" errors in the log file.  I'm thinking they're likely 
related to the problem I'm seeing, but I'm having trouble tracking it down 
still.

So my questions I suppose are,
1.  Is it at all odd that my primary (non-root) user 'harry349' did not 
have a .Xresource file in $HOME ?  Is it reasonable to have copied it over 
from root's home folder?

2.  Any ideas what might be causing the gdk/imlib errors and/or the panel 
issues and inability to display my desktop and launch applications?

Thanks again.
Harry



begin xstartup
---------------------
#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
exec gnome-session
---------------------
end xstartup


begin vncserver log
---------------------
14/07/02 09:12:07 Xvnc version 3.3.3r2+tight1.1p9
14/07/02 09:12:07 Copyright (C) AT&T Laboratories Cambridge.
14/07/02 09:12:07 All Rights Reserved.
14/07/02 09:12:07 See http://www.uk.research.att.com/vnc for information on VNC
14/07/02 09:12:07 Desktop name 'X' (<myServerName>:2)
14/07/02 09:12:07 Protocol version supported 3.3
14/07/02 09:12:07 Listening for VNC connections on TCP port 5902
14/07/02 09:12:07 Listening for HTTP connections on TCP port 5802
14/07/02 09:12:07   URL http://<myServerName>:5802
SESSION_MANAGER=local/<myServerName>:/tmp/.ICE-unix/8817

Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkOptionMenu'

Gtk-CRITICAL **: file gtkoptionmenu.c: line 248 
(gtk_option_menu_set_history): assertion `option_menu != NULL' failed.
aumix:  error opening mixer
nautilus: error while loading shared libraries: libgtk-1.2.so.0: failed to 
map segment from shared object: Cannot allocate memory
IMLIB ERROR: SHM can't attach SHM Segment for Shared Pixmap mask Wrapper
              Falling back on Shared XImages
Imlib ERROR: SHM can't attach SHM Segment for Shared XImage mask
              Falling back on XImages
Gdk-ERROR **: BadAccess
   serial 275 error_code 10 request_code 129 minor_code 1
Gdk-ERROR **: BadShmSeg
   serial 276 error_code 128 request_code 129 minor_code 5
IMLIB ERROR: SHM can't attach SHM Segment for Shared Pixmap mask Wrapper
              Falling back on Shared XImages
Imlib ERROR: SHM can't attach SHM Segment for Shared XImage mask
              Falling back on XImages
Gdk-ERROR **: BadAccess
   serial 272 error_code 10 request_code 129 minor_code 1
Gdk-ERROR **: BadShmSeg
   serial 273 error_code 128 request_code 129 minor_code 5
IMLIB ERROR: SHM can't attach SHM Segment for Shared Pixmap mask Wrapper
              Falling back on Shared XImages
Imlib ERROR: SHM can't attach SHM Segment for Shared XImage mask
              Falling back on XImages
Gdk-ERROR **: BadAccess
   serial 272 error_code 10 request_code 129 minor_code 1
Gdk-ERROR **: BadShmSeg
   serial 273 error_code 128 request_code 129 minor_code 5
IMLIB ERROR: SHM can't attach SHM Segment for Shared Pixmap mask Wrapper
              Falling back on Shared XImages
Imlib ERROR: SHM can't attach SHM Segment for Shared XImage mask
              Falling back on XImages
Gdk-ERROR **: BadAccess
   serial 272 error_code 10 request_code 129 minor_code 1
Gdk-ERROR **: BadShmSeg
   serial 273 error_code 128 request_code 129 minor_code 5
IMLIB ERROR: SHM can't attach SHM Segment for Shared Pixmap mask Wrapper
              Falling back on Shared XImages
Imlib ERROR: SHM can't attach SHM Segment for Shared XImage mask
              Falling back on XImages
Gdk-ERROR **: BadAccess
   serial 272 error_code 10 request_code 129 minor_code 1
Gdk-ERROR **: BadShmSeg
   serial 273 error_code 128 request_code 129 minor_code 5

14/07/02 09:12:56 Got connection from client <myClientIP>
14/07/02 09:12:56 Protocol version 3.5
14/07/02 09:12:56 Ignoring minor version mismatch
14/07/02 09:13:00 Pixel format for client <myClientIP>:
14/07/02 09:13:00   32 bpp, depth 24, little endian
14/07/02 09:13:00   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
14/07/02 09:13:00   no translation needed
14/07/02 09:13:00 Using hextile encoding for client <myClientIP>
14/07/02 09:13:00 rfbProcessClientNormalMessage: ignoring unknown encoding 3
IMLIB ERROR: SHM can't attach SHM Segment for Shared Pixmap mask Wrapper
              Falling back on Shared XImages
Imlib ERROR: SHM can't attach SHM Segment for Shared XImage mask
              Falling back on XImages
Gdk-ERROR **: BadAccess
   serial 272 error_code 10 request_code 129 minor_code 1
Gdk-ERROR **: BadShmSeg
   serial 273 error_code 128 request_code 129 minor_code 5
IMLIB ERROR: SHM can't attach SHM Segment for Shared Pixmap mask Wrapper
              Falling back on Shared XImages
Imlib ERROR: SHM can't attach SHM Segment for Shared XImage mask
              Falling back on XImages
Gdk-ERROR **: BadAccess
   serial 272 error_code 10 request_code 129 minor_code 1
Gdk-ERROR **: BadShmSeg
   serial 273 error_code 128 request_code 129 minor_code 5
IMLIB ERROR: SHM can't attach SHM Segment for Shared Pixmap mask Wrapper
              Falling back on Shared XImages
Imlib ERROR: SHM can't attach SHM Segment for Shared XImage mask
              Falling back on XImages
Gdk-ERROR **: BadAccess
   serial 272 error_code 10 request_code 129 minor_code 1
Gdk-ERROR **: BadShmSeg
   serial 273 error_code 128 request_code 129 minor_code 5
IMLIB ERROR: SHM can't attach SHM Segment for Shared Pixmap mask Wrapper
              Falling back on Shared XImages
Imlib ERROR: SHM can't attach SHM Segment for Shared XImage mask
              Falling back on XImages
Gdk-ERROR **: BadAccess
   serial 272 error_code 10 request_code 129 minor_code 1
Gdk-ERROR **: BadShmSeg
   serial 273 error_code 128 request_code 129 minor_code 5
14/07/02 09:14:13 Client <myClientIP> gone
14/07/02 09:14:13 Statistics:
14/07/02 09:14:13   key events received 7, pointer events 79
14/07/02 09:14:13   framebuffer updates 83, rectangles 179, bytes 79078
14/07/02 09:14:13     hextile rectangles 179, bytes 79078
14/07/02 09:14:13   raw bytes equivalent 4121988, compression ratio 52.125598
X connection to :2.0 broken (explicit kill or server shutdown).
X connection to :2.0 broken (explicit kill or server shutdown).
Gdk-ERROR **: X connection to :2.0 broken (explicit kill or server shutdown).
Gdk-ERROR **: X connection to :2.0 broken (explicit kill or server shutdown).
gnome-smproxy: unable to open display :2
---------------------
end vncserver log

Harry Henderson wrote:

>>Hello all, I have used the Windows version of the VNC server & viewer 
>>with no problems.  I am new to the linux version.  I have some linux 
>>experience, but am not an expert.  Hopefully these issues have been seen 
>>before and are easily solvable, I am using RedHat 7.2, and vnc components 
>>v3.3.3r2-18.
>>
>>I can connect with the default script which shows the "twm" window 
>>manager.  Many of my programs will not run properly, however.  Netscape, 
>>along with a few other programs I tried running, seg faults.  So I tried 
>>to get it set up to run gnome from xstartup.
>>
>>1.  I looked at xstartup, and the log file, and saw that xrdb was looking 
>>for .Xresource in the current user's home directory.  I noticed in the 
>>log that it was saying it couldn't find "xrdb" or ".Xresource".  xrdb is 
>>in my path, but .Xresource was not in my home directory.  I copied it 
>>from root's home folder, and those error messages went away, but it is 
>>still not behaving.
>>
>>2.  Why does it only work with my root password, even when 'harry349' ran 
>>vncserver?  I changed the /tmp/.X11-unix permissions as suggested in FAQ, 
>>with no change in behavior.
>>
>>3.  Panel issues - This is the crux of my problem.  I've tried various 
>>xstartup files, the simplest doing nothing but
>>
>>gnome-session &
>>
>>and I also tried with the xrdb stuff before the gnome-session &.  I read 
>>to use the "gnome-session &" to start gnome elsewhere on the net, but 
>>this could be the problem.  Using gnome-session alone at the console does 
>>not work; I use "startx".  But "startx" seems to reference display 0 
>>directly, and does not work properly if I put it in xstartup.
>>
>>At any rate, it starts gnome, but runs into problems when starting "The 
>>Panel".  See attached JPG, where there are 10 copies displayed in the 
>>items being launched, and the error message displayed.  Once I click 
>>either Yes or No on that box a few times, the splash screen goes away, 
>>but the panel never displays and I am left with an entirely blank blue 
>>screen.  Middle-clicking is the only thing I can do, and it brings up my 
>>application menu.  I can select anything in it like Netscape or other 
>>programs that run fine on the console, and they simply seem to do nothing.
>>
>>I'm going to shut up for now, as inevitably I will leave out pertinent 
>>information that anyone who is willing to try to help will have to ask 
>>for me to find.  Please help if you can, I greatly appreciate it, thanks!
>>
>>[demime 0.99c.8 removed an attachment of type image/jpeg which had a name 
>>of panel_issues.jpg"; x-mac-type="4A504547"; x-mac-creator="4A565752]
>>_______________________________________________
>>VNC-List mailing list
>>[EMAIL PROTECTED]
>>http://www.realvnc.com/mailman/listinfo/vnc-list
>_______________________________________________
>VNC-List mailing list
>[EMAIL PROTECTED]
>http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to