Unix Technical Forum

vncserver complaining about fontpath

This is a discussion on vncserver complaining about fontpath within the comp.unix.solaris forums, part of the Solaris Operating System category; --> I'm trying to get tightvnc working on a Solaris 8 box. I've installed the blastwave pkg and all appeared ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > comp.unix.solaris

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-06-2008, 09:26 AM
Gary Armstrong
 
Posts: n/a
Default vncserver complaining about fontpath

I'm trying to get tightvnc working on a Solaris 8 box. I've installed
the blastwave pkg and all appeared well. When I try to run it, I get the
following error:


garyarm@teSrvr1:/home/garyarm [225] vncserver :1 -name warden
Couldn't start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script.
Couldn't start Xvnc process.

_XSERVTransSocketCreateListener: failed to bind listener
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for local

Fatal server error:
Failed to establish all listening sockets
_XSERVTransSocketCreateListener: failed to bind listener
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for local

Fatal server error:
Failed to establish all listening sockets

garyarm@teSrvr1:/home/garyarm [226]


A google search reveals, that this was a common problem on other
platforms, but when I add Solaris to my search, I get no hits.

I looked at the vncserver script and I see:


garyarm@teSrvr1:/home/garyarm [226] grep fontPath /opt/csw/bin/vncserver
$fontPath = "tcp/localhost:7100";
# $fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";
$cmd .= " -fp $fontPath" if ($fontPath);
warn "Please set correct fontPath in the $prog script.\n";
garyarm@teSrvr1:/home/garyarm [227]


My Solaris install is right out of the box, but I check this anyway:

garyarm@teSrvr1:/home/garyarm [266] fsadmin
fsadmin: font server is enabled to start from inetd
garyarm@teSrvr1:/home/garyarm [267]
garyarm@teSrvr1:/home/garyarm [268] ypcat services | grep 7100
fs 7100/tcp # Font server
garyarm@teSrvr1:/home/garyarm [269]


Last I tried, commenting and uncommenting the 2 lines from the above
grep and adding:
ln -s /usr/openwin/lib/X11 /usr/lib/X11

where those directories appear to exist. The error is always the same.
Anyway I'm new to blastwave, tightvnc, and font mgt, so I could use a
little help.

TIA
Gary

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-06-2008, 09:27 AM
Bruno Saverio Delbono
 
Posts: n/a
Default Re: vncserver complaining about fontpath

Gary Armstrong wrote:
> I'm trying to get tightvnc working on a Solaris 8 box. I've installed
> the blastwave pkg and all appeared well. When I try to run it, I get the
> following error:
>
>
> garyarm@teSrvr1:/home/garyarm [225] vncserver :1 -name warden
> Couldn't start Xvnc; trying default font path.
> Please set correct fontPath in the vncserver script.
> Couldn't start Xvnc process.
>
> _XSERVTransSocketCreateListener: failed to bind listener
> _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
> _XSERVTransMakeAllCOTSServerListeners: failed to create listener for local


Try this shell script (From NXServer - www.nomachine.com):
------------------------
#!/usr/bin/ksh

PATH=''
IFS=' '

ice_dir=/tmp/.ICE-unix
x11_dir=/tmp/.X11-unix

for dirname in $ice_dir $x11_dir ; do
{
if (! [ -d $dirname ] )
then
/usr/bin/mkdir $dirname
if [ $? != 0 ];
then
/usr/bin/echo "Warning: $0: cannot mkdir $dirname.";
fi
fi

if ([ -d $dirname ] )
then
/usr/bin/chown root:root $dirname
if [ $? != 0 ];
then
/usr/bin/echo "Warning: $0: cannot chown $dirname.";
fi
/usr/bin/chmod 1777 $dirname
if [ $? != 0 ];
then
/usr/bin/echo "Warning: $0: cannot chmod $dirname to 1777.";
fi
fi
}
done
------------------------

Add it to your root's crontab:
# Setup NX Properly
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/fixXdir.ksh


See if that fixes it

--
Bruno Saverio Delbono
Systems Engineer
Open-Systems Group (not-profit) http://www.open-systems.org/
Email: Bruno.S.Delbono at {mail.ac,open-systems.org,wf0.com,lucifer.at}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-06-2008, 09:29 AM
Gary Armstrong
 
Posts: n/a
Default Re: vncserver complaining about fontpath



Bruno Saverio Delbono wrote:
> Gary Armstrong wrote:
>
>> I'm trying to get tightvnc working on a Solaris 8 box. I've installed
>> the blastwave pkg and all appeared well. When I try to run it, I get the
>> following error:
>>
>>
>> garyarm@teSrvr1:/home/garyarm [225] vncserver :1 -name warden
>> Couldn't start Xvnc; trying default font path.
>> Please set correct fontPath in the vncserver script.
>> Couldn't start Xvnc process.
>>
>> _XSERVTransSocketCreateListener: failed to bind listener
>> _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
>> _XSERVTransMakeAllCOTSServerListeners: failed to create listener for
>> local

>
>
> Try this shell script (From NXServer - www.nomachine.com):
> ------------------------
> #!/usr/bin/ksh
>


SNIP

> }
> done
> ------------------------
>
> Add it to your root's crontab:
> # Setup NX Properly
> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/fixXdir.ksh
>
>
> See if that fixes it
>


Bruno;

I checked that dir, must have just blew it. Thanks for the help. The
vncserver appears to create a .vnc/xstartup that kicks off twm. Any idea
where I could get a xstartup that kicks off cde? I tried replacing:

/usr/openwin/bin/twm
with
/usr/dt/bin/dtwm
but all I got was dead X.

TIA
Gary

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-06-2008, 09:30 AM
Gary Armstrong
 
Posts: n/a
Default Re: vncserver complaining about fontpath



Gary Armstrong wrote:
>
>
> Bruno Saverio Delbono wrote:
>
>> Gary Armstrong wrote:
>>
>>> I'm trying to get tightvnc working on a Solaris 8 box. I've installed
>>> the blastwave pkg and all appeared well. When I try to run it, I get the
>>> following error:
>>>
>>>
>>> garyarm@teSrvr1:/home/garyarm [225] vncserver :1 -name warden
>>> Couldn't start Xvnc; trying default font path.
>>> Please set correct fontPath in the vncserver script.
>>> Couldn't start Xvnc process.
>>>
>>> _XSERVTransSocketCreateListener: failed to bind listener
>>> _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
>>> _XSERVTransMakeAllCOTSServerListeners: failed to create listener for
>>> local

>>
>>
>>
>> Try this shell script (From NXServer - www.nomachine.com):
>> ------------------------
>> #!/usr/bin/ksh
>>

>
> SNIP
>
>> }
>> done
>> ------------------------
>>
>> Add it to your root's crontab:
>> # Setup NX Properly
>> 0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/bin/fixXdir.ksh
>>
>>
>> See if that fixes it
>>

>
> Bruno;
>
> I checked that dir, must have just blew it. Thanks for the help. The
> vncserver appears to create a .vnc/xstartup that kicks off twm. Any idea
> where I could get a xstartup that kicks off cde? I tried replacing:
>
> /usr/openwin/bin/twm
> with
> /usr/dt/bin/dtwm
> but all I got was dead X.
>



/usr/dt/bin/dtsession appears to work. Anything else I should look out for?

Again Thanks
Gary


> TIA
> Gary
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-06-2008, 09:30 AM
Richard L. Hamilton
 
Posts: n/a
Default Re: vncserver complaining about fontpath

In article <1077641953.736264@news-1.nethere.net>,
Gary Armstrong <garyarm_remThis_at_testedgeinc.com> writes:
>

[...]
> I checked that dir, must have just blew it. Thanks for the help. The
> vncserver appears to create a .vnc/xstartup that kicks off twm. Any idea
> where I could get a xstartup that kicks off cde? I tried replacing:
>
> /usr/openwin/bin/twm
> with
> /usr/dt/bin/dtwm
> but all I got was dead X.
>



Here's mine:

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
if [ -x /etc/dt/config/Xsetup ]
/etc/dt/config/Xsetup
else
/usr/dt/config/Xsetup
fi
autocutsel&
/usr/dt/bin/Xsession

--
mailto:rlhamil@smart.net http://www.smart.net/~rlhamil
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-06-2008, 09:31 AM
Bruno Saverio Delbono
 
Posts: n/a
Default Re: vncserver complaining about fontpath

Gary Armstrong wrote:
>> I checked that dir, must have just blew it. Thanks for the help. The


Cool. Good to hear it works.

> /usr/dt/bin/dtsession appears to work. Anything else I should look out for?


<blah>

I don't know about you but I've tested vnc (tightvnc/vnc) and have never
been that impressed with performance and reliability. Ever since I
changed to nomachine.com's NXServer, I've found it to be far more
reliable, faster and impressive a solution than vnc ever was (even with
a dialup it kicks ass)

Here's some random pics I took: http://www.mail.ac/users/kevin/nomachine/

and of course http://www.nomachine.com/

</end blah>

Kind Regards,

--
Bruno Saverio Delbono
Systems Engineer
Open-Systems Group (not-profit) http://www.open-systems.org/
Email: Bruno.S.Delbono at {mail.ac,open-systems.org,wf0.com,lucifer.at}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com