SunPCI VNC interface setup on U5

Hi,

I'm having problems getting VNC to sun on my SunPCI2 card in my Ultra 5. I want VNC to utilize my built-in network interface (hme0) but it keeps looking at the loopback interface (lo0). I've tried adding the line

set VNC_INTERFACE=hme0

to the VNCStartup script, but it does nothing. I'm sure I'm doing something wrong... Help?

Thanks in advance, Mike

[487 byte] By [john] at [2007-11-25 22:37:50]
# 1
Are you trying to run the VNC server on the SunPci? I'm sorry, but's it's not clear quite what you are trying to do. Please explain where you want the VNC server to run and where you want the VNC client to run (possibly anywhere in the world)
PaulT at 2007-7-5 14:06:53 > top of Java-index,Sun Hardware,Other Sun Hardware...
# 2

Im trying something different but related.

My Ultra 10 is running Solaris 9 latest release and SunPCI 2.3 latest release. I have a 733 card. I want to display my Windows Screen on a PC or Mac in the house. (The suns are in an outbuilding).

I wondered if there is a better way.

Ive tried to use winvnc to view my Sun Display, this works fine. But SunPCI comes up with an error and won't start.

Ive tried upgrading everything to vnc 4. I cant get past the auth error on my vncviewer. on Solaris. It says No password configured for VNC auth.

So I dont know if I get past that if it will work.

Perhaps there is a better way using Remote Desktop on the PC or Mac.

But this would require Windows to auto start. I can see that suncpid is running so it looks like its ready to auto start but I cant really tell if its there or not. My Sun has an Elite3d card in it, but its headless.

Any advice or am I the only person in the world doing this... If so I will write it up for others

Angus

www.sparc.co.uk

angusf at 2007-7-5 14:06:53 > top of Java-index,Sun Hardware,Other Sun Hardware...
# 3

Well the furthest I have ever so far got is to get the following error: -

sunpci

Opening a SunPCi window...

Warning: Missing charsets in String to FontSet conversion

Warning: Cannot convert string "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet

Warning: Missing charsets in String to FontSet conversion

Warning: Cannot convert string "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet

<a href="mailto:afox&#64;u10" target="_blank">afox@u10</a>~[115]13:37>Font path could not be set, using alternate font

After which the Sunpci window closes.

I can get this window to fire

a) over a vnc 4 client to vnc4 server session

b) over the built in Sunvnc

c) over xvfb to cygwin on my pc. (seems the nicest way :-)

Each way I get this or a worse keyboard.c message.

Overall all I want to so is remotely display my Sun Pci display on a Windows or Mac PC.

Any help or pointers welcome.

Angus

Refs:

I read the following excellent resources on the way:

xvfb for Solaris at <a href="http://www.idevelopment.info/data/Unix/General_UNIX/GENERAL_XvfbforSolari s.shtml" target="_blank"> http://www.idevelopment.info/data/Unix/General_UNIX/GENERAL_ XvfbforSolaris.shtml</a>

SunPci on Linux mini-howto at <a href="http://www.vdberg.org/~richard/Linux-on-SunPCi-mini-Howto/nfsboot.html" target="_blank"> http://www.vdberg.org/~richard/Linux-on-SunPCi-mini-Howto/nf sboot.html</a>

angusf at 2007-7-5 14:06:53 > top of Java-index,Sun Hardware,Other Sun Hardware...
# 4

<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>angusf wrote on Tue, 28 September 2004 14:00</b></td></tr><tr><td class="quote">

Well the furthest I have ever so far got is to get the following error: -

<div class="pre"><pre>% sunpci

Opening a SunPCi window...

Warning: Missing charsets in String to FontSet conversion

Warning: Cannot convert string "-dt-interface user-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet

Warning: Missing charsets in String to FontSet conversion

Warning: Cannot convert string "-dt-interface system-medium-r-normal-m*-*-*-*-*-*-*-*-*" to type FontSet

[email]afox@u10[/email]~[115]13:37>Font path could not be set, using alternate font</pre></div>

</td></tr></table>Your default X environment is missing the CDE <i>dt-*</i> fonts. (They come with eXodus 9.0 for the Mac, I think, but of course most people just use Apple's X.app server nowadays, which doesn't.) This can be solved by running a font server on your Sun. Make sure that the <b>fs</b> entry in <i>/etc/inet/inetd.conf</i> is enabled (uncommented) and SIGHUP <i>inetd</i> to enable it. Then, back on the PC or the Mac, do an

<i>xset fp+ tcp/<b><server's fully-qualified hostname goes here></b>:7100</i>

to add it to the font search path. (If you're using Windows, I'm not sure how you'd do this - you can obviously do this from the command line on a Linux PC or a Mac.)

<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>Quote:</b></td></tr><tr>& lt;td class="quote">

After which the SunPCi window closes.

I can get this window to fire

a) over a VNC 4 client to VNC 4 server session

b) over the built in SunVNC

c) over xvfb to Cygwin on my PC. (seems the nicest way :-) )

Each way I get this or a worse keyboard.c message.

</td></tr></table>This one?

<div class="pre"><pre>SunPC Assert: pData->num_lock_mask != 0 in file Keyboard.c at line 916.

SunPC Assert: pData->num_lock_mask != 0 in file Keyboard.c at line 916.

*** SunPC Exit ***</pre></div>

No clue if this one can be solved :-( Google turns up no hits at all on this error message.

<table border="0" align="center" width="90%" cellpadding="3" cellspacing="1"><tr><td class="SmallText"><b>Quote:</b></td></tr><tr>& lt;td class="quote">

Overall all I want to do is remotely display my SunPCi display on a Windows or Mac.

</td></tr></table>

<AOL>Me too</AOL>

When I get a message like this Keyboard.c error, I feel like I'm the first person that's ever tried to bring up a SunPCi window on a remote Mac (without using Xvnc or some other remote control setup). :-(

RiotNrrrd at 2007-7-5 14:06:53 > top of Java-index,Sun Hardware,Other Sun Hardware...
# 5

Im still trying to do this better.

I settled for using MSFT remote desktop and its RDP protocol because

a) They are built in to Windows XP

b) There is a Windows and a Mac client

c) It just worked and displays the full Windows Screen on both at good colour depth and resolution.

I still wonder if the display is somehow compromised in performance due to this and X.

(The display still shows up in Gnome on the Sun in the garage)

Angus

www.sparc.co.uk

angusf at 2007-7-5 14:06:53 > top of Java-index,Sun Hardware,Other Sun Hardware...
# 6

Simon,

Dunno if you're off this board for good (I see your last visit was back in May), but I discovered that using eXodus 9.0 instead of Apple's X11.app makes the <div class="pre"><pre>SunPC Assert: pData->num_lock_mask != 0 in file Keyboard.c at line 916.</pre></div> error go away.

I can now get my Windows 2000 disc image to boot up most of the way in the SunPCi window, but it's <i>excruciatingly</i> slow - I think it's because my Sun and my Mac are on different subnets, and every damn packet has to go up the cable modem to the ISP's router and back down! I've yelled and yelled and they refuse to assign DHCP addresses for the same customer to the same subnet ... grrrrr.

(Either that, or a Celeron 733 MHz is excruciatingly slow, or both <img src="images/smiley_icons/icon_smile.gif" border=0 alt="Smile"> )

I'll probably just end up buying a regular PC, sod this thing ... I can't even get it up all the way to test and see if I could use the Microsoft RDC client on the Mac (which I use at work quite a bit - great program!) to connect to it.

RiotNrrrd at 2007-7-5 14:06:53 > top of Java-index,Sun Hardware,Other Sun Hardware...