[Spice-devel] Fwd: OSX spice-gtk and pyparsing

Cliff Sharp csharp at vbridges.com
Tue May 3 13:34:07 PDT 2011


I have not resolved these issues from below with MacPorts x11 or Xquartz. I am still getting these errors in the /var/log/system.log file when trying to run any x application.

But, I was able to work around these problems.
I used launchctl -w to disable macports x11 and xquartz entries.  This allows me, when running x applications (i.e. xhost, spicec, and spicy), to actually run successfully using the default osx x11 installation.

If anyone has a suggestion as to what is causing these errors listed below I would be forever grateful.

Thanks

Begin forwarded message:

> From: Cliff Sharp <csharp at vbridges.com>
> Date: May 2, 2011 4:53:40 PM CDT
> To: Kai Mosebach <spice at komadev.de>
> Subject: Re: [Spice-devel] OSX spice-gtk and pyparsing
> 
> Sorry - this is the Xquartz version of xhost +
> 
> May  2 16:52:02 csharpOSX sudo[10362]: csharp : TTY=ttys001 ; PWD=/opt/X11/bin ; USER=root ; COMMAND=./xhost +
> May  2 16:52:06 csharpOSX org.macosforge.xquartz.startx[10366]: lockfile: Forcing lock on "/var/folders/l8/l8czqWr5FSGDJP2bpbSQBE+++TI/-Tmp-//font_cache.lock"
> May  2 16:52:06 csharpOSX org.macosforge.xquartz.privileged_startx[296]: font_cache: Scanning system font directories to generate X11 font caches
> May  2 16:52:06 csharpOSX defaults[10386]: \nThe domain/default pair of (org.macosforge.xquartz.X11, dpi) does not exist
> May  2 16:52:06 csharpOSX org.macosforge.xquartz.startx[10366]: xauth:  file /Users/csharp/.serverauth.10366 does not exist
> May  2 16:52:06 csharpOSX org.macosforge.xquartz.startx[10366]: Xquartz: Unable to locate waiting server: org.macosforge.xquartz.X11
> May  2 16:52:06 csharpOSX org.macosforge.xquartz.startx[10366]: Xquartz: Unable to find application for org.macosforge.xquartz.X11
> May  2 16:52:07 csharpOSX org.macosforge.xquartz.privileged_startx[296]: font_cache: Updating FC cache
> May  2 16:52:08 csharpOSX org.macosforge.xquartz.startx[10366]: /opt/X11/bin/xinit: giving up
> May  2 16:52:08 csharpOSX org.macosforge.xquartz.startx[10366]: /opt/X11/bin/xinit: unable to connect to X server: Connection refused
> May  2 16:52:08 csharpOSX org.macosforge.xquartz.startx[10366]: /opt/X11/bin/xinit: server error
> May  2 16:52:08 csharpOSX com.apple.launchd.peruser.501[154] (org.macosforge.xquartz.startx[10366]): Exited with exit code: 1
> May  2 16:52:08 csharpOSX com.apple.launchd.peruser.501[154] (org.macosforge.xquartz.startx): Throttling respawn: Will start in 8 seconds
> May  2 16:52:09 csharpOSX org.macosforge.xquartz.privileged_startx[296]: font_cache: Done
> ^
> On May 2, 2011, at 2:39 PM, Kai Mosebach wrote:
> 
>> That looks more like an X error to me…
>> 
>> Try getting the latest X11 from http://xquartz.macosforge.org/
>> 
>> Cheers Kai
>> 
>> From: Cliff Sharp <csharp at vbridges.com>
>> Date: Mon, 2 May 2011 14:35:12 -0500
>> To: Kai Mosebach <spice at komadev.de>
>> Cc: Attila Sukosd <attila.sukosd at gmail.com>, Christophe Fergeau <cfergeau at redhat.com>
>> Subject: Re: [Spice-devel] OSX spice-gtk and pyparsing
>> 
>> I remember that you were having trouble with that.
>> As soon as I can get X server working again. Right now I cannot run xhost + or spicy due to the errors mentioned below.
>> 
>> Some new stuff:
>> 
>> May  2 14:01:20 csharpOSX org.macports.privileged_startx[233]: font_cache: Done
>> May  2 14:01:20 csharpOSX org.macports.startx[376]: xinit: giving up
>> May  2 14:01:20 csharpOSX org.macports.startx[376]: xinit: unable to connect to X server: Connection refused
>> May  2 14:01:20 csharpOSX org.macports.startx[376]: xinit: server error
>> May  2 14:01:20 csharpOSX com.apple.launchd.peruser.501[154] (org.macports.startx[376]): Exited with exit code: 1
>> May  2 14:01:20 csharpOSX com.apple.launchd.peruser.501[154] (org.macports.startx): Throttling respawn: Will start in 8 seconds
>> May  2 14:01:28 csharpOSX org.macports.startx[444]: lockfile: Sorry, giving up on "/var/folders/l8/l8czqWr5FSGDJP2bpbSQBE+++TI/-Tmp-//font_cache.lock"
>> May  2 14:01:28 csharpOSX org.macports.startx[444]: font_cache is already running.
>> May  2 14:01:28 csharpOSX org.macports.startx[444]: If you believe this to be erroneous, please remove /var/folders/l8/l8czqWr5FSGDJP2bpbSQBE+++TI/-Tmp-//font_cache.lock.
>> May  2 14:01:28 csharpOSX org.macports.privileged_startx[233]: lockfile: Try praying, giving up on "/opt/local/var/run/font_cache.lock"
>> May  2 14:01:28 csharpOSX org.macports.privileged_startx[233]: font_cache: Scanning system font directories to generate X11 font caches
>> May  2 14:01:28 csharpOSX org.macports.privileged_startx[233]: opendir: No such file or directory
>> May  2 14:01:28 csharpOSX org.macports.privileged_startx[233]: find: /opt/local/share/fonts/*: No such file or directory
>> May  2 14:01:28 csharpOSX defaults[465]: \nThe domain/default pair of (org.macports.X11, dpi) does not exist
>> May  2 14:01:28 csharpOSX org.macports.startx[444]: xauth:  file /Users/csharp/.serverauth.444 does not exist
>> May  2 14:01:28 csharpOSX org.macports.privileged_startx[233]: font_cache: Updating FC cache
>> May  2 14:01:28 csharpOSX org.macports.startx[444]: xinit: unable to run server "/opt/local/bin/X": No such file or directory
>> May  2 14:01:28 csharpOSX org.macports.startx[444]: Use the -- option, or make sure that /opt/local/bin is in your path and
>> May  2 14:01:28 csharpOSX org.macports.startx[444]: that "/opt/local/bin/X" is a program or a link to the right type of server
>> May  2 14:01:28 csharpOSX org.macports.startx[444]: for your display.  Possible server names include:
>> May  2 14:01:28 csharpOSX org.macports.startx[444]:     Xquartz     Mac OSX Quartz displays.
>> May  2 14:01:28 csharpOSX org.macports.startx[444]:     Xvfb        Virtual frame buffer
>> May  2 14:01:28 csharpOSX org.macports.startx[444]:     Xfake       kdrive-based virtual frame buffer
>> May  2 14:01:28 csharpOSX org.macports.startx[444]:     Xnest       X server nested in a window on another X server
>> May  2 14:01:28 csharpOSX org.macports.startx[444]:     Xephyr      kdrive-based nested X server
>> May  2 14:01:28 csharpOSX org.macports.startx[444]:     Xvnc        X server accessed over VNC's RFB protocol
>> May  2 14:01:28 csharpOSX org.macports.startx[444]:     Xdmx        Distributed Multi-head X server
>> May  2 14:01:30 csharpOSX org.macports.privileged_startx[233]: font_cache: Done
>> May  2 14:01:30 csharpOSX org.macports.startx[444]: xinit: giving up
>> May  2 14:01:30 csharpOSX org.macports.startx[444]: xinit: unable to connect to X server: Connection refused
>> May  2 14:01:30 csharpOSX org.macports.startx[444]: xinit: server error
>> May  2 14:01:30 csharpOSX com.apple.launchd.peruser.501[154] (org.macports.startx[444]): Exited with exit code: 1
>> 
>> On May 2, 2011, at 2:16 PM, Kai Mosebach wrote:
>> 
>>> Hi,
>>> 
>>> I had this question before but I guess it was drowned in the gtk/glib discussion.
>>> 
>>> Running the OSX client via X11 makes my 'a'/'A' key nonfuncitonal. Can you please verify if its the same for you?
>>> 
>>> Thanks Kai
>>> 
>>> From: Kai Mosebach <spice at komadev.de>
>>> Date: Fri, 29 Apr 2011 10:46:43 +0200
>>> To: Cliff Sharp <csharp at vbridges.com>, Attila Sukosd <attila.sukosd at gmail.com>, Christophe Fergeau <cfergeau at redhat.com>
>>> Cc: <spice-devel at freedesktop.org>
>>> Subject: Re: [Spice-devel] OSX spice-gtk and pyparsing
>>> 
>>> Hey,
>>> 
>>> I am running spicy under OSX. If I press the 'a' key, nothing happens (within the guest). Can you please try if this is the same for you?
>>> 
>>> Thanks Kai
>>> 
>>> From: Cliff Sharp <csharp at vbridges.com>
>>> Date: Wed, 27 Apr 2011 17:10:33 -0500
>>> To: Kai Mosebach <kai.mosebach at bsse.ethz.ch>
>>> Cc: Kai Mosebach <spice at komadev.de>, Alon Levy <alevy at redhat.com>, <spice-devel at freedesktop.org>
>>> Subject: Re: [Spice-devel] OSX spice-gtk and pyparsing
>>> 
>>> The wonderful news is that spice-gtk is built and running OSX.
>>> 
>>> AND
>>> 
>>> I have a spice server running on a server and waiting on a connection. A connection is actually made:
>>> 
>>> SERVER ---
>>> Apr-27 16:48:11 1-I   added listener socket 3
>>> Apr-27 16:48:21 1-I  Accepted a SPICE connection
>>> Apr-27 16:48:21 1-I  Will add a pair 4 (wrapper) <--> 5 (verdempcd) with 8 bytes
>>> Apr-27 16:48:21 1-I   socket 5 disconnected
>>> 
>>> The bad news is the connection is dropped almost immediately...
>>> 
>>> CLIENT ---
>>> Xlib:  extension "RANDR" missing on display "/tmp/launch-f4Kdn5/org.x:0".   (this is at startup time)
>>> (spicy:90230): GSpice-CRITICAL **: incomplete link header (0/16)
>>> GSpice-Message: main channel: failed to connect
>>> 
>>> 
>>> We are making progress...
>>> 
>>> On Apr 27, 2011, at 1:05 PM, Mosebach Kai wrote:
>>> 
>>>> With a valid OSX audio sink in gstreamer, as soon as I play sound I run
>>>> into :
>>>> 
>>>>> GSpice-Message: main channel: opened
>>>>> GSpice-Message: create window (#0)
>>>>> 
>>>>> (spicy:24949): GSpice-WARNING **: (channel-main.c:889):_channel_new:
>>>>> runtime check failed: (channel != NULL)
>>>>> Segmentation fault
>>>> 
>>>> 
>>>> How can I enable debugging? Gdb's backtrace is pretty useless... Are there
>>>> any other logging sources / flags?
>>>> 
>>>> 
>>>> On 4/27/11 7:47 PM, "Kai Mosebach" <spice at komadev.de> wrote:
>>>> 
>>>>> 
>>>>> 
>>>>>> On Wed, Apr 27, 2011 at 06:36:24PM +0200, Kai Mosebach wrote:
>>>>>>> and why the bandwidth increases by ~70% compared to the spicec.exe from
>>>>>>> windows?
>>>>>> 
>>>>>> The bandwidth thing is just a result of using a different client? that is
>>>>>> very bizzarre, since it's all server->client and there is no negotiation
>>>>>> that could affect the compression scheme.
>>>>> 
>>>>> Its a different client (spicec.exe 0.8.0 (windows) vs. spice-gtk-0.5 (OSX)
>>>>> 
>>>>>> Sound wise - is gstreamer working standalone (gst-launch audiotestsrc !
>>>>>> autoaudiosink,
>>>>>> should hear a pure tone)? that's what spice-gtk should be using I think.
>>>>> 
>>>>> To get a valid audiosink for OSX one has to install the macport
>>>>> gst-plugins-good
>>>>> 
>>>>> Now it segfaults though :-( im looking into it.
>>>>> 
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> Spice-devel mailing list
>>>> Spice-devel at lists.freedesktop.org
>>>> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> _______________________________________________ Spice-devel mailing list Spice-devel at lists.freedesktop.orghttp://lists.freedesktop.org/mailman/listinfo/spice-devel
>> 
>> 
>> ____
>> 
>> ___


Cliff Sharp | csharp at vbridges.com




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110503/b9889ab9/attachment-0001.html>


More information about the Spice-devel mailing list