On Sat, Nov 03, 2001 at 08:41:53AM -0000, Mad Magician wrote:
> 1) I would like the geometry for all displays to be 800x600 and think I
need
> to modify /etc/rc5.d/S91vncserver start() section below. Am I on the right
> lines?
>
> "su ${display##*:} -c \"cd ~${display##*:} && [ -f .vnc/passwd ]
&&vncserver
> :${display%%:*}-geometry 800x600\""
Yes, but of course don't forget the space before '-geometry'. I
realise that this is a bit of an awkward way of having to do things,
but no-one has suggested a better one..
> 2) vncserver is started as part of runlevel 5, and it creates a
> /tmp/.X11-unix/X0 file but I get "Failed to connect to server" if I attempt
> to get to display 0 using IP address:0. It requires me to login and
manually
> start vncserver (defaults to display 1) before I can actually connect to
the
> Linux vncserver.
This is a VNC server bug, diagnosed here:
<https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=55135>
That reminds me, I never sent the fix to this list. Appended.
Tim.
*/
--- vnc_unixsrc/Xvnc/lib/font/fc/fserve.c.fsfd Sat Oct 27 23:00:30 2001
+++ vnc_unixsrc/Xvnc/lib/font/fc/fserve.c Sat Oct 27 23:01:46 2001
@@ -348,7 +348,8 @@
if (conn->trans_conn)
(void) _FontTransClose (conn->trans_conn);
- FD_CLR(conn->fs_fd, &_fs_fd_mask);
+ if (conn->fs_fd != -1)
+ FD_CLR(conn->fs_fd, &_fs_fd_mask);
for (client = conn->clients; client; client = nclient)
{
[demime 0.97b removed an attachment of type application/pgp-signature]
---------------------------------------------------------------------
To unsubscribe, mail [EMAIL PROTECTED] with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------