Sure enough! Chrome runs as a local app perfectly with this:<br><br>nick@ltsp87:~$ chromium-browser --user-data-dir=/tmp<br><br>This does not work:<br><br>nick@ltsp87:~$ chromium-browser --user-data-dir=/home/nick<br>[3629:3629:1639260269:ERROR:chrome/browser/process_singleton_linux.cc(780)] Failed to bind() /home/nick/SingletonSocket: Operation not permitted<br>
[3629:3629:1639260356:ERROR:chrome/browser/browser_main.cc(997)] Failed to create a ProcessSingleton for your profile directory. This means that running multiple instances would start multiple browser processes rather than opening a new window in the existing process. Aborting now to avoid profile corruption.<br>
n.<br><br>I will try Stéphane's "ugly workaround" tomorrow.<br><br>Thanks,<br><br>-Nick<br><br><br><br><div class="gmail_quote">On Tue, Sep 7, 2010 at 7:42 PM, Stéphane Graber <span dir="ltr"><<a href="mailto:stgraber@ubuntu.com">stgraber@ubuntu.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Tue, 2010-09-07 at 08:20 -0700, Richard Doyle wrote:<br>
> On Tue, 2010-09-07 at 08:52 -0400, Jonathan Carter (highvoltage) wrote:<br>
> > Hi Nick<br>
> ><br>
> > On 07/09/2010 00:25, Nick Fenger wrote:<br>
> > > I'm wondering if anyone has google chrome working as a local app? If so,<br>
> > > what configuration worked? NFS instead of NBD? Chrome works much better<br>
> > > with google docs so I would like to get it going.<br>
> ><br>
> > Adding this to lts.conf should do the trick:<br>
> ><br>
> > SSH_FOLLOW_SYMLINKS=False<br>
><br>
> Not sure why, but Chrome doesn't work as a localapp without also setting<br>
> NFS_HOME on our Lucid system.<br>
><br>
> ><br>
> > -Jonathan<br>
<br>
</div>Hello,<br>
<br>
With the one included in Lucid there's a small issue as it tries to<br>
create a socket on sshfs which isn't supported by that filesystem.<br>
<br>
An ugly workaround is something like this (to run in your home directory<br>
on your thin client):<br>
mv ~/.config/chromium ~/.config/chromium.orig<br>
mkdir /tmp/.config-chromium<br>
ln -sf /tmp/.config-chromium ~/.config/chromium<br>
ln -sf ~/.config/chromium.orig/Default /tmp/.config-chromium/Default<br>
<br>
<br>
That's hackish but usually works fine, it basically creates a new<br>
directory in /tmp, then make chromium's configuration directory point to<br>
that so that it writes to tmpfs instead of sshfs then symlink the actual<br>
configuration directory back to the original configuration.<br>
That way the socket is created in /tmp and the rest of your<br>
configuration remains in your home directory.<br>
<br>
Alternatively, Jonathan suggested (in real-life ;)) that he might have<br>
been using a PPA for his chromium last time he tried, so maybe the PPA<br>
builds of chromium work fine with just ssh_follow_symlinks disabled (you<br>
need that in all cases).<br>
<br>
Hope it helps<br>
<font color="#888888"><br>
<br>
--<br>
Stéphane Graber<br>
Ubuntu developer<br>
<a href="http://www.ubuntu.com" target="_blank">http://www.ubuntu.com</a><br>
</font><br>--<br>
edubuntu-users mailing list<br>
<a href="mailto:edubuntu-users@lists.ubuntu.com">edubuntu-users@lists.ubuntu.com</a><br>
Modify settings or unsubscribe at: <a href="https://lists.ubuntu.com/mailman/listinfo/edubuntu-users" target="_blank">https://lists.ubuntu.com/mailman/listinfo/edubuntu-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Nick Fenger<br>-Information Technology<br><br>Trillium Charter School<br>5420 N. Interstate Ave<br>Portland, OR 97217<br>(503) 285-3833<br><a href="http://www.trilliumcharterschool.org" target="_blank">http://www.trilliumcharterschool.org</a><br>
<br><font face="georgia, serif" size="4"><span style="font-size: 14px; line-height: 18px;"><br></span></font><br>