<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">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.<div><br></div><div>But, I was able to work around these problems.</div><div>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.</div><div><br></div><div>If anyone has a suggestion as to what is causing these errors listed below I would be forever grateful.</div><div><br></div><div>Thanks<br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Cliff Sharp <<a href="mailto:csharp@vbridges.com">csharp@vbridges.com</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">May 2, 2011 4:53:40 PM CDT<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Kai Mosebach <<a href="mailto:spice@komadev.de">spice@komadev.de</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>Re: [Spice-devel] OSX spice-gtk and pyparsing</b><br></span></div><br><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Sorry - this is the Xquartz version of xhost +<div><br></div><div><div>May 2 16:52:02 csharpOSX sudo[10362]: csharp : TTY=ttys001 ; PWD=/opt/X11/bin ; USER=root ; COMMAND=./xhost +</div><div>May 2 16:52:06 csharpOSX org.macosforge.xquartz.startx[10366]: lockfile: Forcing lock on "/var/folders/l8/l8czqWr5FSGDJP2bpbSQBE+++TI/-Tmp-//font_cache.lock"</div><div>May 2 16:52:06 csharpOSX org.macosforge.xquartz.privileged_startx[296]: font_cache: Scanning system font directories to generate X11 font caches</div><div>May 2 16:52:06 csharpOSX defaults[10386]: \nThe domain/default pair of (org.macosforge.xquartz.X11, dpi) does not exist</div><div>May 2 16:52:06 csharpOSX org.macosforge.xquartz.startx[10366]: xauth: file /Users/csharp/.serverauth.10366 does not exist</div><div>May 2 16:52:06 csharpOSX org.macosforge.xquartz.startx[10366]: Xquartz: Unable to locate waiting server: org.macosforge.xquartz.X11</div><div>May 2 16:52:06 csharpOSX org.macosforge.xquartz.startx[10366]: Xquartz: Unable to find application for org.macosforge.xquartz.X11</div><div>May 2 16:52:07 csharpOSX org.macosforge.xquartz.privileged_startx[296]: font_cache: Updating FC cache</div><div>May 2 16:52:08 csharpOSX org.macosforge.xquartz.startx[10366]: /opt/X11/bin/xinit: giving up</div><div>May 2 16:52:08 csharpOSX org.macosforge.xquartz.startx[10366]: /opt/X11/bin/xinit: unable to connect to X server: Connection refused</div><div>May 2 16:52:08 csharpOSX org.macosforge.xquartz.startx[10366]: /opt/X11/bin/xinit: server error</div><div>May 2 16:52:08 csharpOSX com.apple.launchd.peruser.501[154] (org.macosforge.xquartz.startx[10366]): Exited with exit code: 1</div><div>May 2 16:52:08 csharpOSX com.apple.launchd.peruser.501[154] (org.macosforge.xquartz.startx): Throttling respawn: Will start in 8 seconds</div><div>May 2 16:52:09 csharpOSX org.macosforge.xquartz.privileged_startx[296]: font_cache: Done</div><div>^</div><div><div>On May 2, 2011, at 2:39 PM, Kai Mosebach wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>That looks more like an X error to me…</div><div><br></div><div>Try getting the latest X11 from <a href="http://xquartz.macosforge.org/trac/wiki">http://xquartz.macosforge.org/</a></div><div><br></div><div>Cheers Kai</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Cliff Sharp <<a href="mailto:csharp@vbridges.com">csharp@vbridges.com</a>><br><span style="font-weight:bold">Date: </span> Mon, 2 May 2011 14:35:12 -0500<br><span style="font-weight:bold">To: </span> Kai Mosebach <<a href="mailto:spice@komadev.de">spice@komadev.de</a>><br><span style="font-weight:bold">Cc: </span> Attila Sukosd <<a href="mailto:attila.sukosd@gmail.com">attila.sukosd@gmail.com</a>>, Christophe Fergeau <<a href="mailto:cfergeau@redhat.com">cfergeau@redhat.com</a>><br><span style="font-weight:bold">Subject: </span> Re: [Spice-devel] OSX spice-gtk and pyparsing<br></div><div><br></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I remember that you were having trouble with that.<div>As soon as I can get X server working again. Right now I cannot run xhost + or spicy due to the errors mentioned below.</div><div><br></div><div>Some new stuff:</div><div><br></div><div><div>May 2 14:01:20 csharpOSX org.macports.privileged_startx[233]: font_cache: Done</div><div>May 2 14:01:20 csharpOSX org.macports.startx[376]: xinit: giving up</div><div>May 2 14:01:20 csharpOSX org.macports.startx[376]: xinit: unable to connect to X server: Connection refused</div><div>May 2 14:01:20 csharpOSX org.macports.startx[376]: xinit: server error</div><div>May 2 14:01:20 csharpOSX com.apple.launchd.peruser.501[154] (org.macports.startx[376]): Exited with exit code: 1</div><div>May 2 14:01:20 csharpOSX com.apple.launchd.peruser.501[154] (org.macports.startx): Throttling respawn: Will start in 8 seconds</div><div>May 2 14:01:28 csharpOSX org.macports.startx[444]: lockfile: Sorry, giving up on "/var/folders/l8/l8czqWr5FSGDJP2bpbSQBE+++TI/-Tmp-//font_cache.lock"</div><div>May 2 14:01:28 csharpOSX org.macports.startx[444]: font_cache is already running.</div><div>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.</div><div>May 2 14:01:28 csharpOSX org.macports.privileged_startx[233]: lockfile: Try praying, giving up on "/opt/local/var/run/font_cache.lock"</div><div>May 2 14:01:28 csharpOSX org.macports.privileged_startx[233]: font_cache: Scanning system font directories to generate X11 font caches</div><div>May 2 14:01:28 csharpOSX org.macports.privileged_startx[233]: opendir: No such file or directory</div><div>May 2 14:01:28 csharpOSX org.macports.privileged_startx[233]: find: /opt/local/share/fonts/*: No such file or directory</div><div>May 2 14:01:28 csharpOSX defaults[465]: \nThe domain/default pair of (org.macports.X11, dpi) does not exist</div><div>May 2 14:01:28 csharpOSX org.macports.startx[444]: xauth: file /Users/csharp/.serverauth.444 does not exist</div><div>May 2 14:01:28 csharpOSX org.macports.privileged_startx[233]: font_cache: Updating FC cache</div><div>May 2 14:01:28 csharpOSX org.macports.startx[444]: xinit: unable to run server "/opt/local/bin/X": No such file or directory</div><div>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</div><div>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</div><div>May 2 14:01:28 csharpOSX org.macports.startx[444]: for your display. Possible server names include:</div><div>May 2 14:01:28 csharpOSX org.macports.startx[444]: Xquartz Mac OSX Quartz displays.</div><div>May 2 14:01:28 csharpOSX org.macports.startx[444]: Xvfb Virtual frame buffer</div><div>May 2 14:01:28 csharpOSX org.macports.startx[444]: Xfake kdrive-based virtual frame buffer</div><div>May 2 14:01:28 csharpOSX org.macports.startx[444]: Xnest X server nested in a window on another X server</div><div>May 2 14:01:28 csharpOSX org.macports.startx[444]: Xephyr kdrive-based nested X server</div><div>May 2 14:01:28 csharpOSX org.macports.startx[444]: Xvnc X server accessed over VNC's RFB protocol</div><div>May 2 14:01:28 csharpOSX org.macports.startx[444]: Xdmx Distributed Multi-head X server</div><div>May 2 14:01:30 csharpOSX org.macports.privileged_startx[233]: font_cache: Done</div><div>May 2 14:01:30 csharpOSX org.macports.startx[444]: xinit: giving up</div><div>May 2 14:01:30 csharpOSX org.macports.startx[444]: xinit: unable to connect to X server: Connection refused</div><div>May 2 14:01:30 csharpOSX org.macports.startx[444]: xinit: server error</div><div>May 2 14:01:30 csharpOSX com.apple.launchd.peruser.501[154] (org.macports.startx[444]): Exited with exit code: 1</div><div><br></div><div><div>On May 2, 2011, at 2:16 PM, Kai Mosebach wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hi,</div><div><br></div><div>I had this question before but I guess it was drowned in the gtk/glib discussion.</div><div><br></div><div>Running the OSX client via X11 makes my 'a'/'A' key nonfuncitonal. Can you please verify if its the same for you?</div><div><br></div><div>Thanks Kai</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Kai Mosebach <<a href="mailto:spice@komadev.de">spice@komadev.de</a>><br><span style="font-weight:bold">Date: </span> Fri, 29 Apr 2011 10:46:43 +0200<br><span style="font-weight:bold">To: </span> Cliff Sharp <<a href="mailto:csharp@vbridges.com">csharp@vbridges.com</a>>, Attila Sukosd <<a href="mailto:attila.sukosd@gmail.com">attila.sukosd@gmail.com</a>>, Christophe Fergeau <<a href="mailto:cfergeau@redhat.com">cfergeau@redhat.com</a>><br><span style="font-weight:bold">Cc: </span> <<a href="mailto:spice-devel@freedesktop.org">spice-devel@freedesktop.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [Spice-devel] OSX spice-gtk and pyparsing<br></div><div><br></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hey,</div><div><br></div><div>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?</div><div><br></div><div>Thanks Kai</div><div><br></div><span id="OLK_SRC_BODY_SECTION"><div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt"><span style="font-weight:bold">From: </span> Cliff Sharp <<a href="mailto:csharp@vbridges.com">csharp@vbridges.com</a>><br><span style="font-weight:bold">Date: </span> Wed, 27 Apr 2011 17:10:33 -0500<br><span style="font-weight:bold">To: </span> Kai Mosebach <<a href="mailto:kai.mosebach@bsse.ethz.ch">kai.mosebach@bsse.ethz.ch</a>><br><span style="font-weight:bold">Cc: </span> Kai Mosebach <<a href="mailto:spice@komadev.de">spice@komadev.de</a>>, Alon Levy <<a href="mailto:alevy@redhat.com">alevy@redhat.com</a>>, <<a href="mailto:spice-devel@freedesktop.org">spice-devel@freedesktop.org</a>><br><span style="font-weight:bold">Subject: </span> Re: [Spice-devel] OSX spice-gtk and pyparsing<br></div><div><br></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The wonderful news is that spice-gtk is built and running OSX.<div><br></div><div>AND</div><div><br></div><div>I have a spice server running on a server and waiting on a connection. A connection is actually made:</div><div><br></div><div>SERVER ---</div><div><div>Apr-27 16:48:11 1-I added listener socket 3</div><div>Apr-27 16:48:21 1-I Accepted a SPICE connection</div><div>Apr-27 16:48:21 1-I Will add a pair 4 (wrapper) <--> 5 (verdempcd) with 8 bytes</div><div>Apr-27 16:48:21 1-I socket 5 disconnected</div></div><div><br></div><div>The bad news is the connection is dropped almost immediately...</div><div><br></div><div>CLIENT ---</div><div><div>Xlib: extension "RANDR" missing on display "/tmp/launch-f4Kdn5/org.x:0". (this is at startup time)</div><div>(spicy:90230): GSpice-CRITICAL **: incomplete link header (0/16)</div><div>GSpice-Message: main channel: failed to connect</div></div><div><br></div><div><br></div><div>We are making progress...</div><div><br></div><div><div><div>On Apr 27, 2011, at 1:05 PM, Mosebach Kai wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>With a valid OSX audio sink in gstreamer, as soon as I play sound I run<br>into :<br><br><blockquote type="cite">GSpice-Message: main channel: opened<br></blockquote><blockquote type="cite">GSpice-Message: create window (#0)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">(spicy:24949): GSpice-WARNING **: (channel-main.c:889):_channel_new:<br></blockquote><blockquote type="cite">runtime check failed: (channel != NULL)<br></blockquote><blockquote type="cite">Segmentation fault<br></blockquote><br><br>How can I enable debugging? Gdb's backtrace is pretty useless... Are there<br>any other logging sources / flags?<br><br><br>On 4/27/11 7:47 PM, "Kai Mosebach" <<a href="mailto:spice@komadev.de">spice@komadev.de</a>> wrote:<br><br><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">On Wed, Apr 27, 2011 at 06:36:24PM +0200, Kai Mosebach wrote:<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">and why the bandwidth increases by ~70% compared to the spicec.exe from<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite">windows?<br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">The bandwidth thing is just a result of using a different client? that is<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">very bizzarre, since it's all server->client and there is no negotiation<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">that could affect the compression scheme.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Its a different client (spicec.exe 0.8.0 (windows) vs. spice-gtk-0.5 (OSX)<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><blockquote type="cite">Sound wise - is gstreamer working standalone (gst-launch audiotestsrc !<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">autoaudiosink,<br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite">should hear a pure tone)? that's what spice-gtk should be using I think.<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">To get a valid audiosink for OSX one has to install the macport<br></blockquote><blockquote type="cite">gst-plugins-good<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Now it segfaults though :-( im looking into it.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><br>_______________________________________________<br>Spice-devel mailing list<br><a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><br><a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a><br></div></blockquote></div><br><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="font-family: Helvetica; font-size: medium; "><font class="Apple-style-span" face="Calibri, sans-serif" size="4"><span class="Apple-style-span" style="font-size: 14px;"><font class="Apple-style-span" color="#8CC63E" face="Helvetica"><span class="Apple-style-span" style="font-size: medium;"><br class="Apple-interchange-newline"></span></font></span></font></div></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"></div><br class="Apple-interchange-newline"><br class="Apple-interchange-newline"></div><br></div></div></div></span></div></div>
_______________________________________________
Spice-devel mailing list
<a href="mailto:Spice-devel@lists.freedesktop.org">Spice-devel@lists.freedesktop.org</a><a href="http://lists.freedesktop.org/mailman/listinfo/spice-devel">http://lists.freedesktop.org/mailman/listinfo/spice-devel</a></span></div></blockquote></div><br><div><span class="Apple-style-span" style="font-family: Helvetica; font-size: medium; "><div><font class="Apple-style-span" color="#8CC63F"><br class="Apple-interchange-newline">____</font></div><div><br></div><div>___</div></span></div></div></div></div></span></div></blockquote></div></div></div></blockquote></div><div><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><br></div><div><font class="Apple-style-span" face="'Lucida Sans'"><font class="Apple-style-span" color="#005581"><font class="Apple-style-span" face="LucidaSans-Demi" size="2"><span class="Apple-style-span" style="font-size: 10px; ">Cliff Sharp</span></font></font><font class="Apple-style-span" color="#8CC63F"><font class="Apple-style-span" color="#000000"><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; "><span class="Apple-converted-space"> </span>|</span></font></font><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 11px; "> </span></font><font class="Apple-style-span" face="LucidaSans-Demi" size="2"><span class="Apple-style-span" style="font-size: 10px; "><a href="mailto:csharp@vbridges.com">csharp@vbridges.com</a></span></font></font></font></div><div><br></div></span><br class="Apple-interchange-newline"></span><br class="Apple-interchange-newline">
</div>
<br></div></body></html>