VNC 4.0 on Soalris 8 with inetd

Alasdair Ferro alasdair "at" spiratech.com
Fri Mar 4 15:28:00 2005


>> I'd begun to wonder if it was a CDE issue. I've tried an Openwindows 
>> login, but that fails in the same way. I've googled for the warning, 
>> with no joy - any suggestions on something else to try? I'm very much 
>> feeling my way around Solaris, so do suggest things that you think 
>> are obvious!
>>
>>>> I hope you can help, as google et. al have proved unable to!
>>>>
>>>> I am running VNC4.0 on Solaris 8 (2/04), via inetd. My inetd.conf 
>>>> line is thus:
>>>> vnc-1152x864x24 stream tcp nowait root  /space/tools/bin/Xvnc Xvnc 
>>>> -inetd -query localhost -once -geometry 1152x864 -depth 24 
>>>> -SecurityTypes=None -desktop="baltar-Sol8" -fp tcp/baltar:7100
>>>>
>>>> I can start a session via vncviewer, and get the CDE login prompt. 
>>>> I can enter a username & password, but then the VNCviewer window 
>>>> simply disappears. vncviewer informs me "end of stream" and nothing 
>>>> else. I've looked at /var/dt/Xerrors:
>>>> /usr/openwin/bin/xset: bad font path element (#38), possible causes 
>>>> are:
>>>> Directory does not exist or has wrong permissions
>>>> Directory missing fonts.dir
>>>> Incorrect font server address or syntax
>>>> Warning: Null child found in argumnet list to unmanage
>>>> dtlogin: recieved signal 11
>>>
>>> This indicates CDE, which services your login is quitting, its not 
>>> vnc to blame for this, Xvnc just quits because it is instructed to 
>>> do so by dtlogin.
>>> I don't think the fontpath is the problem, better look at the warning.
>>
> This all starts with a fontpatherror. IF it is just one of the 
> fontsdirectories
> in your fontpath, it should not be a problem. However, if this leaves 
> no fonts
> left (all fontdirectories are wrong) then I can imagine there are 
> problems.
>
> Since your Xvnc call does not specify any fontpath, the windowmanager 
> has to
> come with one. If they don't, there are no fonts and the windowmanager 
> might
> have a problem here...
>
> Try specifying a fontpath in the Xvnc-call, try the one you use on the 
> console.


Sorry, my previous reply lacked information that occurred to me after I 
hit send. What I have tried so far is:
I've set a fontpath using:
-fp tcp/baltar:7100 - I believe there is a font server running on port 
7100 - it's listed in /etc/services and /etc/inetd.conf
and:
-fp <path got from xset -q, with either : or , seperators>

I've checked the dirs listed by xset and I believe all of them to have 
suitable permissions (ie 755 at minimum) and to contain a fonts.dir file.

I'm not sure what else is required for a "valid" fonts dir, but if you 
can let me know, I'll check.

Thanks again!

Alasdair

-- 

------------------------------------------------------------------------
Alasdair Ferro                       SpiraTech Ltd,
Product Conformance Engineer         Carrington Business Park,
mailto:alasdair "at" spiratech.com        Manchester,
Work:   +44 (0)161 776 4582          M31 4ZU,  U.K.
                                     http://www.spiratech.com
------------------------------------------------------------------------

This email and any files transmitted with it are confidential and
may be legally privileged. It is intended solely for the use of the
individual or entity to whom it is addressed. If you have received
this in error, please contact the sender and delete the material
immediately. Whilst this email has been swept for viruses, you
should carry out your own virus check before opening any
attachment. SpiraTech Ltd accepts no liability for any loss or
damage which may be caused by software viruses or interception
or interruption of this email.