[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] OT: Weird OpenOffice behavior



On Mon, 2009-01-05 at 07:36 -0600, Les Mikesell wrote:
> David Hopkins wrote:
> > 
> > Now, to make it really strange, if I open a terminal and then su -
> > their_username (in essence creating a login terminal session
> > environment?), now, from this second login in the shell staroffice8
> > -writer WORKS!! ????  .... Why?  It implies there is something wrong
> > with their initial terminal session.  How is su - different from just
> > opening a terminal from a gnome session where they are logged in?
> 
> The only difference should be in the way environment variables are set. 
>   Try running 'env >filename' from a terminal session before and after 
> the su and diff the files.  I'm not sure about all the differences but I 
> think a graphical login will source .profile where a bash shell login 
> (which su - will emulate) will source .bash_profile instead if it exists 
> - and there may be some other differences.
> 
Also bear in mind that gnome add it's own layer of environment stuff. So
even if you su - in a terminal window, you will not get the gnome
environment with out going through the gdm login. You will get a null
environment.

Try backing up the affected users .gnome2 to a new name (mv the old one
out of the way.). Now have the user login from scratch. This will pull
in a new, generic .gnome2. Test the soffice issue. Now they log out and
you run a diff. I suspect they twiddled something using gconf-tool2 and
broke something. Also diff a working user .gnome2 (and maybe .gconf)
with the busted one.

> -- 
>    Les Mikesell
>     lesmikesell gmail com
> 
> _______________________________________________
> K12OSN mailing list
> K12OSN redhat com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
> 
-- 
James P. Kinney III          
CEO & Director of Engineering 
Local Net Solutions,LLC                           
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney localnetsolutions com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]