Results 1 to 10 of 13
but it will start from every other user account. I can even run it from a root browser, but it has to be a link from someone elses home directory. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-25-2006 #1Just Joined!
- Join Date
- Aug 2006
- Posts
- 7
Open office won't start from My login
but it will start from every other user account. I can even run it from a root browser, but it has to be a link from someone elses home directory. I have checked all the links and pointers and compared them. They are all identical. I can only assume that there is a config file somewhere that is corrupt (I have already removed the user config file for OO and let it recreate the file with no luck) or some type of restriction on my user....however nothing else gives me any trouble. I guess a worst case would be moving all my junk to another login!?
Any help is appreciated.
- 08-25-2006 #2
Run 'ooffice2' from a terminal and tell us what error message you get.
- 08-25-2006 #3Just Joined!
- Join Date
- Aug 2006
- Posts
- 7
'ooffice2' yields a 'command not found'
the commands I can find are all formatted like
'oowriter'
'oocalc'
'oofromtemplate'
and none of them work while my user is logged in.
- 08-25-2006 #4
Ah, okay. You're still using OpenOffice 1.x.
Okay. Run the command "oowriter" from a terminal and tell us what error message you get.
- 08-25-2006 #5Just Joined!
- Join Date
- Aug 2006
- Posts
- 7
I type 'oowriter' ,
it looks at me as if I had done nothing and returns a prompt.
no errors, no nothing.
- 08-25-2006 #6
That is very odd.
Try this:
Run the 'which oowriter' command as the user it won't work for, and then 'which oowriter' for a user it DOES work for. Make sure they match.
- 08-25-2006 #7Just Joined!
- Join Date
- Aug 2006
- Posts
- 7
this is where I scratch my head; they
both point to /usr/bin/oowriter
- 08-26-2006 #8
Huh. Well, this is VERY strange to say the least.
The file /usr/bin/oowriter should be a script. Post that script here? Maybe something in the script is excluding this user for some reason.
- 08-26-2006 #9Just Joined!
- Join Date
- Aug 2006
- Posts
- 7
#!/usr/bin/perl -w
#************************************************* ****************************
#
# ooffice - Wrapper script for OpenOffice.org
#
# Based on the Mandrake work.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License version 2, as
# published by the Free Software Foundation.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
#************************************************* ****************************
use strict;
use IO::Handle;
use Fcntl ':flock';
my $Debug = $ENV{OOO_DEBUG};
my $DebugRH = $ENV{OOO_RH_DEBUG};
# Define the vendor of this particular OOo pacakge
my $VendorName = 'Novell';
# Define system installation directory
# Autoconf totally sucks for @libdir@ type substitution
my $SystemInstallDir = '/usr/lib/ooo-2.0';
# Suffix for parallel installable versioning
my $BinSuffix = '';
# ooo-build version
my $OOO_BUILDVERSION = '2.0.0.1';
# Debugging
if ( $DebugRH ) {
$Debug = 1;
$VendorName = "RedHat";
}
if ($Debug && $BinSuffix =~ /^\@/) {
$SystemInstallDir = "/usr/lib/ooo-1.9";
$BinSuffix = '1.9';
}
#================================================= ============================
# Main
#================================================= ============================
# Parse command line arguments
my @ooo_argv;
my $session_quickstart;
my $widgets_set;
while ($ARGV[0]) {
$_ = shift;
if (m/^--session-quickstart/) {
$session_quickstart = 1;
} elsif (m/^--widgets-set/) {
$widgets_set = shift;
(defined $widgets_set) || die "Error: The option --widgets-set requires a value\n" .
"For example: --widgets-set gtk\n";
} elsif (m/^--version/) {
print "This is OpenOffice.org built with ooo-build-$OOO_BUILDVERSION\n";
exit 0;
} else {
push @ooo_argv, $_;
}
}
if (!@ooo_argv) {
my $arg;
if ($0 =~ m/\/oo(calc|draw|impress|math|web|writer|base)$BinSuff ix$/) {
$arg = "-$1";
} elsif ($0 =~ m/\/oofromtemplate$BinSuffix$/) {
$arg = "slot:5500";
}
if ($arg) {
push @ooo_argv, "$arg";
$Debug && print "Append arg: $arg\n";
}
} else {
$Debug && print "Ignoring type - since have filenames\n";
}
if (defined $widgets_set) {
$ENV{SAL_USE_VCLPLUGIN} = $widgets_set;
}
# overcome ghastly up-stream evilness
$ENV{SAL_NOEXPANDFPICKER}='TRUE';
if ($session_quickstart) {
$Debug && print "Execute quickstarter\n";
push @ooo_argv, '-quickstart';
}
# FIXME: the following two fixes should be done by OOo itself
# create the user config directory with safe rights 700 if it we find
# the right path and the directory does not exist
if (open BOOTSTRAPRC, "/usr/lib/ooo-2.0/program/bootstraprc") {
while (my $line = <BOOTSTRAPRC>) {
chomp $line;
if (($line =~ m/^\s*UserInstallation\s*=\s*([^\s]*)\s*$/) && ($1)) {
my $userConfDir=$1;
$userConfDir =~ s|\$SYSUSERCONFIG|$ENV{HOME}|;
$userConfDir =~ s|file://||;
mkdir ($userConfDir,0700) unless (-d $userConfDir);
last;
}
}
close BOOTSTRAPRC;
}
# touch ~/.recently-used with safe rights 700 if it does not exist
if (! -f "$ENV{HOME}/.recently-used") {
open (RECENTLY_USED, ">$ENV{HOME}/.recently-used") &&
close RECENTLY_USED &&
chmod 0600, "$ENV{HOME}/.recently-used";
}
if (!(-f '/proc/version')) {
print STDERR "\n\n --- Warning - OO.o will not work without a mounted /proc filesystem --- \n\n\n";
}
# And here we go.
exec "$SystemInstallDir/program/soffice", @ooo_argv
- 08-26-2006 #10Just Joined!
- Join Date
- Aug 2006
- Posts
- 7
check this out
So I went into the properties of the shortcut on my desktop (for open office) and set the advanced option to run as a different user. Guess what.....it works! And still I scratch my head.


Reply With Quote
