problems with vnc on solaris 2.5.1 -> solaris 2.6

Rob Treuer RTreuer "at" ati.com
Wed, 01 Mar 2000 00:42:35 +0000


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01BF8315.C882B7A8
Content-Type: text/plain;
	charset="iso-8859-1"

comments below:

> 
> guys,
> 
> I am having trouble on my solaris box, i upgraded the machine 
> from solaris
> 2.5.1 to solaris 2.6, and am now getting an error displayed 
> on the console
> after I start Xvnc.
> 
> here's the commandline I use to launch Xvnc:
> Xvnc -geometry 1024x768 -cc 3 -query (hostname) :3 &  

Since you are not using the "-fp" option to pass a font-path-list to Xvnc,
you are either getting the default font-path-list that was compiled into
Xvnc,
or you are getting fonts from a "font server" somewhere on your network.
To find out what your current font-path-list is, use the command:
xset q
The default font-path-list is incorporated when the file
Xvnc/programs/Xserver/dix/globals.c is compiled. It is passed as a cpp macro
named "COMPILEDDEFAULTFONTPATH". Check your "world.log" file for its value.
On Solaris, it probably starts like this:
"/usr/openwin/lib/X11/fonts/misc,...".

> 
> 
> here is the error I get:
> _FontTransSocketINETConnect: Can't get address for (hostname) 

This might be an error message from a failed attempt to connect to a font
server.
Check these directories:
/tmp/.font-unix
/usr/spool/sockets/fontserv
Source code you may want to look at:
Xvnc/lib/trans/Xtranssock.c

> 
> the session for the vncviewer is totally normal EXCEPT that i 
> don't have my
> normal fonts, I have a tiny monospace font (probably courier).
> 
> I first looked at docs.sun.com and found nothing, I then looked in the
> maillist archives, and found the info on setting Xvnc to have 
> root group (
> chgrp root Xvnc, chmod g+s Xvnc) as well as the possible change to the
> /tmp/.X11-unix directory, all of which failed to make a 

These changes to /tmp/.X11-unix and the "root setgid" to Xvnc will have no
effect
in Solaris 2.6, but they will be necessary when you upgrade to Solaris 7.

> difference on the
> _FontTransSocketINETConnect error.
> 
> has anyone else had this problem? did you get it resolved?

I have never used a font server; I always explicitly pass the "-fp
font-path-list"
option to Xvnc's command-line, using the "vncserver" Perl script, and the
fonts are always local to the machines that I use.
Somebody else, who uses a font server, may have more insight than I do.

> 
> any help would be greatly appreciated.
> 
> 
> Tim
> 

------_=_NextPart_001_01BF8315.C882B7A8
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2650.12">
<TITLE>RE: problems with vnc on solaris 2.5.1 -&gt; solaris 2.6</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=2>comments below:</FONT>
</P>

<P><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; guys,</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; I am having trouble on my solaris box, i upgraded the machine </FONT>
<BR><FONT SIZE=2>&gt; from solaris</FONT>
<BR><FONT SIZE=2>&gt; 2.5.1 to solaris 2.6, and am now getting an error displayed </FONT>
<BR><FONT SIZE=2>&gt; on the console</FONT>
<BR><FONT SIZE=2>&gt; after I start Xvnc.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; here's the commandline I use to launch Xvnc:</FONT>
<BR><FONT SIZE=2>&gt; Xvnc -geometry 1024x768 -cc 3 -query (hostname) :3 &amp;&nbsp; </FONT>
</P>

<P><FONT SIZE=2>Since you are not using the &quot;-fp&quot; option to pass a font-path-list to Xvnc,</FONT>
<BR><FONT SIZE=2>you are either getting the default font-path-list that was compiled into Xvnc,</FONT>
<BR><FONT SIZE=2>or you are getting fonts from a &quot;font server&quot; somewhere on your network.</FONT>
<BR><FONT SIZE=2>To find out what your current font-path-list is, use the command:</FONT>
<BR><FONT SIZE=2>xset q</FONT>
<BR><FONT SIZE=2>The default font-path-list is incorporated when the file</FONT>
<BR><FONT SIZE=2>Xvnc/programs/Xserver/dix/globals.c is compiled. It is passed as a cpp macro</FONT>
<BR><FONT SIZE=2>named &quot;COMPILEDDEFAULTFONTPATH&quot;. Check your &quot;world.log&quot; file for its value.</FONT>
<BR><FONT SIZE=2>On Solaris, it probably starts like this: &quot;/usr/openwin/lib/X11/fonts/misc,...&quot;.</FONT>
</P>

<P><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; here is the error I get:</FONT>
<BR><FONT SIZE=2>&gt; _FontTransSocketINETConnect: Can't get address for (hostname) </FONT>
</P>

<P><FONT SIZE=2>This might be an error message from a failed attempt to connect to a font server.</FONT>
<BR><FONT SIZE=2>Check these directories:</FONT>
<BR><FONT SIZE=2>/tmp/.font-unix</FONT>
<BR><FONT SIZE=2>/usr/spool/sockets/fontserv</FONT>
<BR><FONT SIZE=2>Source code you may want to look at:</FONT>
<BR><FONT SIZE=2>Xvnc/lib/trans/Xtranssock.c</FONT>
</P>

<P><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; the session for the vncviewer is totally normal EXCEPT that i </FONT>
<BR><FONT SIZE=2>&gt; don't have my</FONT>
<BR><FONT SIZE=2>&gt; normal fonts, I have a tiny monospace font (probably courier).</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; I first looked at docs.sun.com and found nothing, I then looked in the</FONT>
<BR><FONT SIZE=2>&gt; maillist archives, and found the info on setting Xvnc to have </FONT>
<BR><FONT SIZE=2>&gt; root group (</FONT>
<BR><FONT SIZE=2>&gt; chgrp root Xvnc, chmod g+s Xvnc) as well as the possible change to the</FONT>
<BR><FONT SIZE=2>&gt; /tmp/.X11-unix directory, all of which failed to make a </FONT>
</P>

<P><FONT SIZE=2>These changes to /tmp/.X11-unix and the &quot;root setgid&quot; to Xvnc will have no effect</FONT>
<BR><FONT SIZE=2>in Solaris 2.6, but they will be necessary when you upgrade to Solaris 7.</FONT>
</P>

<P><FONT SIZE=2>&gt; difference on the</FONT>
<BR><FONT SIZE=2>&gt; _FontTransSocketINETConnect error.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; has anyone else had this problem? did you get it resolved?</FONT>
</P>

<P><FONT SIZE=2>I have never used a font server; I always explicitly pass the &quot;-fp font-path-list&quot;</FONT>
<BR><FONT SIZE=2>option to Xvnc's command-line, using the &quot;vncserver&quot; Perl script, and the</FONT>
<BR><FONT SIZE=2>fonts are always local to the machines that I use.</FONT>
<BR><FONT SIZE=2>Somebody else, who uses a font server, may have more insight than I do.</FONT>
</P>

<P><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; any help would be greatly appreciated.</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; </FONT>
<BR><FONT SIZE=2>&gt; Tim</FONT>
<BR><FONT SIZE=2>&gt; </FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01BF8315.C882B7A8--

---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------