log files for VNC, problem getting service to work on ports
:1, :2...
Jeff Towarnicki
jtowarnicki@yahoo.com
Sun Jan 12 19:16:00 2003
I am still battling this out trying to figure out why
it won't work on ports :1 and :2, and only on :3...
I commented out the lines (like below)
[jtowarn@cr787749-a .vnc]$ cat xstartup
#!/bin/sh
#xrdb $HOME/.Xresources
#xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP
Desktop" &
startgnome &
and the log files still look like so:
:1
[jtowarn@cr787749-a .vnc]$ cat cr787749-a\:1.log
12/01/03 14:05:54 Xvnc version 3.3.3r1
12/01/03 14:05:54 Copyright (C) AT&T Laboratories
Cambridge.
12/01/03 14:05:54 All Rights Reserved.
12/01/03 14:05:54 See
http://www.uk.research.att.com/vnc for information on
VNC
12/01/03 14:05:54 Desktop name 'X' (cr787749-a:1)
12/01/03 14:05:54 Protocol version supported 3.3
12/01/03 14:05:54 Listening for VNC connections on TCP
port 5901
12/01/03 14:05:54 Listening for HTTP connections on
TCP port 5801
12/01/03 14:05:54 URL http://cr787749-a:5801
xterm Xt error: Can't open display: cr787749-a:1
/usr/X11R6/bin/xsetroot: unable to open display
'cr787749-a:1'
:2
[jtowarn@cr787749-a .vnc]$ cat cr787749-a\:2.log
12/01/03 14:06:29 Xvnc version 3.3.3r1
12/01/03 14:06:29 Copyright (C) AT&T Laboratories
Cambridge.
12/01/03 14:06:29 All Rights Reserved.
12/01/03 14:06:29 See
http://www.uk.research.att.com/vnc for information on
VNC
12/01/03 14:06:29 Desktop name 'X' (cr787749-a:2)
12/01/03 14:06:29 Protocol version supported 3.3
12/01/03 14:06:29 Listening for VNC connections on TCP
port 5902
12/01/03 14:06:29 Listening for HTTP connections on
TCP port 5802
12/01/03 14:06:29 URL http://cr787749-a:5802
xterm Xt error: Can't open display: cr787749-a:2
/usr/X11R6/bin/xsetroot: unable to open display
'cr787749-a:2'
:3 (which works)
[jtowarn@cr787749-a .vnc]$ cat cr787749-a\:3.log
12/01/03 14:06:34 Xvnc version 3.3.3r1
12/01/03 14:06:34 Copyright (C) AT&T Laboratories
Cambridge.
12/01/03 14:06:34 All Rights Reserved.
12/01/03 14:06:34 See
http://www.uk.research.att.com/vnc for information on
VNC
12/01/03 14:06:34 Desktop name 'X' (cr787749-a:3)
12/01/03 14:06:34 Protocol version supported 3.3
12/01/03 14:06:34 Listening for VNC connections on TCP
port 5903
12/01/03 14:06:34 Listening for HTTP connections on
TCP port 5803
12/01/03 14:06:34 URL http://cr787749-a:5803
SESSION_MANAGER=local/cr787749-a:/tmp/.ICE-unix/25996
Gtk-WARNING **: gtk_signal_disconnect_by_data(): could
not find handler containing data (0x8166158)
12/01/03 14:06:43 Got connection from client
10.227.0.2
12/01/03 14:06:43 Protocol version 3.5
12/01/03 14:06:43 Ignoring minor version mismatch
12/01/03 14:06:45 Pixel format for client 10.227.0.2:
12/01/03 14:06:45 32 bpp, depth 24, little endian
12/01/03 14:06:45 true colour: max r 255 g 255 b
255, shift r 0 g 8 b 16
12/01/03 14:06:45 no translation needed
12/01/03 14:06:45 Using hextile encoding for client
10.227.0.2
12/01/03 14:06:45 rfbProcessClientNormalMessage:
ignoring unknown encoding type 3
12/01/03 14:06:50 Client 10.227.0.2 gone
12/01/03 14:06:50 Statistics:
12/01/03 14:06:50 key events received 1, pointer
events 25
12/01/03 14:06:50 framebuffer updates 29, rectangles
67, bytes 1479617
12/01/03 14:06:50 hextile rectangles 67, bytes
1479617
12/01/03 14:06:50 raw bytes equivalent 4010956,
compression ratio 2.710807
(now what is going on here???)
what are those error msg's on :1 and :2???
THanks a lot guys..
--- William Hooper <whooper@freeshell.org> wrote:
> > -----Original Message-----
> > From: vnc-list-admin@realvnc.com
> > [mailto:vnc-list-admin@realvnc.com] On Behalf Of
> Jeff Towarnicki
> > Here are the log files, for :1, :2, and finaly :3
> (the
> > port which my gnome desktop loads up on... (the
> other
> > 2 have just a grey background..
> >
> > [jtowarn@cr787749-a .vnc]$ cat cr787749-a\:1.log
> > 09/01/03 10:20:07 Xvnc version 3.3.3r1
> > 09/01/03 10:20:07 Copyright (C) AT&T Laboratories
> > Cambridge.
> > 09/01/03 10:20:07 All Rights Reserved.
> > 09/01/03 10:20:07 See
> > http://www.uk.research.att.com/vnc for information
> on
> > VNC
> > 09/01/03 10:20:07 Desktop name 'X' (cr787749-a:1)
> > 09/01/03 10:20:07 Protocol version supported 3.3
> > 09/01/03 10:20:07 Listening for VNC connections on
> TCP
> > port 5901
> > 09/01/03 10:20:07 Listening for HTTP connections
> on
> > TCP port 5801
> > 09/01/03 10:20:07 URL http://cr787749-a:5801
> >
> [snip, same as above]
> >
> > [jtowarn@cr787749-a .vnc]$ cat cr787749-a\:3.log
> > 09/01/03 10:23:42 Xvnc version 3.3.3r1
> > 09/01/03 10:23:42 Copyright (C) AT&T Laboratories
> > Cambridge.
> > 09/01/03 10:23:42 All Rights Reserved.
> > 09/01/03 10:23:42 See
> > http://www.uk.research.att.com/vnc for information
> on
> > VNC
> > 09/01/03 10:23:42 Desktop name 'X' (cr787749-a:3)
> > 09/01/03 10:23:42 Protocol version supported 3.3
> > 09/01/03 10:23:42 Listening for VNC connections on
> TCP
> > port 5903
> > 09/01/03 10:23:42 Listening for HTTP connections
> on
> > TCP port 5803
> > 09/01/03 10:23:42 URL http://cr787749-a:5803
> > xrdb: No such file or directory
> > xrdb: can't open file '/home/jtowarn/.Xresources'
> >
>
SESSION_MANAGER=local/cr787749-a:/tmp/.ICE-unix/16050
> >
> > Gtk-WARNING **: gtk_signal_disconnect_by_data():
> could
> > not find handler containing data (0x8153B68)
> >
> > (oddly enough the 3rd file is the only with a
> warning,
> > yet that is where the service works!!!), waht is
> > causing this to be different from the log files on
> :1
> > and :2????
>
> Yes, odd. Maybe the problem is with xrdb? Try
> commenting out that line in
> your xstartup.
>
> > each time I am using the same script, the below
> > script:
> >
> > [jtowarn@cr787749-a .vnc]$ cat vncstart
> > vncserver -depth 24 -geometry 1152x864
> >
>
> Does the console show any messages? Does the same
> problem happen when you
> just type in the vncserver line instead of running
> it from a script? Are
> there any different messages?
>
> > and my xstartup file looks like so:
> >
> > [jtowarn@cr787749-a .vnc]$ cat xstartup
> > #!/bin/sh
> >
> > xrdb $HOME/.Xresources
> > xsetroot -solid grey
> > xterm -geometry 80x24+10+10 -ls -title
> "$VNCDESKTOP
> > Desktop" &
> > startgnome &
> >
> > hope that is enough information let me know if I
> left
> > anything out,
> >
> > thanks a million,
> >
> > Jeff Towarnicki.
> >
>
> You might also try putting a line or two in your
> xstartup script to see how
> far it goes. Something like:
>
> #!/bin/sh
> echo before_xrdb
> xrdb $HOME/.Xresources
> echo before_xsetroot
> xsetroot -solid grey
> echo before_xterm
> xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP
> Desktop" &
> echo before_gnome
> startgnome &
> echo after_gnome
>
> The "echo" lines will appear in the VNC log and let
> you know how far the
> script got.
>
> --
> William Hooper
> _______________________________________________
> VNC-List mailing list
> VNC-List@realvnc.com
> http://www.realvnc.com/mailman/listinfo/vnc-list
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com