On Wednesday 06 Oct 2010, Evan Ingram wrote:
> publisher and word seem to work ok. but excel is throwing up a problem.
> "excel has encountered a problem and needs to close. we are sorry for
> the inconvenience" :(
>
> not sure what I can do about that

Is this the case also with the admin install?  In which case it sounds like a 
pure wine problem, perhaps best tackled on the winehq forums.

> used a script to copy .wine to all users:
>
> #!/bin/bash
> UHOME="/home"
> FILE="/home/admin/.wine"
> USERS=$(cat /home/admin/userslist)
> for u in $USERS
> do
>    /bin/cp -Rv $FILE ${UHOME}/${u}
>    chown -Rv $(id -un $u):$(id -gn $u) /${UHOME}/${u}/.wine
> done

This does result in you having an entire copy of Microsoft Office for each and 
every user.  I would have thought that the symlink approach, with 
personalised registry, was a more elegant solution - as per the link you 
provided - did that not work for you?

There is no reason that that method could not also be tackled via a one-off 
script like yours, to populate all users directories.

On Tuesday 05 Oct 2010, Evan Ingram wrote:
> coming up with the same problem when I run
> WINEPREFIX="/usr/share/appname" wineprefixcreate
>
> wine: /usr/share/appname is not owned by you

I note that I used /usr/local/share rather than /usr/share, and that I changed 
ownership on the container directory to the installation user; so I would 
imagine I must encountered the same problem.  Not ideal, but then again none 
of this falls into the "ideal" category!!

Lastly, I tend not to use .wine as the directory.  In fact I create a .wine 
directory for every user and chown to root and chmod to remove all access.  
I'm sure there must be better ways of preventing users from adding their own 
applications, but that's what I do!  That and preventing shell access of 
course.  I tend to follow the convention .wine_applicationname.

-- 
Chris Roberts

+------------------+--------------------------+
|     Distribution | Debian Lenny             |
|     LTSP Version | 5.2.2-1~bpo50+1          |
|      LDM Version | 2:2.1.2-1~bpo50+1        |
|  Windows Manager | KDE 3.5.10               |
|           Kernel | 2.6.32-bpo.5-686-bigmem  |
+------------------+--------------------------+
|     Distribution | Debian Lenny             |
|     LTSP Version | 5.2.2-1~bpo50+1          |
|      LDM Version | 2:2.1.2-1~bpo50+1        |
|  Windows Manager | KDE 3.5.10               |
|           Kernel | 2.6.26-2-686             |
+------------------+--------------------------+

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to