Gnucash 1.6.6 on RedHat 7.3 only starts as root
Peter T. Abplanalp
Fri, 30 Aug 2002 16:03:51 -0600
-----BEGIN PGP SIGNED MESSAGE-----
i am moving this discussion back to the list for those that come
On Fri, Aug 30, 2002 at 11:44:53PM +0200, Daniel Brahneborg wrote:
> Thanks for your quick reply.
not a problem.
> On Fri, Aug 30, 2002 at 03:29:34PM -0600, Peter T. Abplanalp wrote:
> > On Fri, Aug 30, 2002 at 11:15:05PM +0200, Daniel Brahneborg wrote:
> > > I started using gnucash a few weeks ago, and it has worked pretty fine.
> > > One day I made the mistake of starting it as root, and since then it
> > > absolutely refuses to run when I'm my usual user. It complains about
> > > not being able to get the lock for the data file, and then it just
> > > stops. When running it with --loglevel 6 the output ended with the two
> > in the same directory as your data file, you will find a file with the
> > extension .LCK. it is probably owned by root and thus unmodifiable by
> > a mere user. remove it as root and try again to start gnucash as your
> > normal id.
> Removing it indeed gets rid of the "can't lock the database" warning,
> but after reading the data file it still blocks. I get the first splash
> screen, and some rather small (200 x 40 pixels, circa) window after a
> few seconds, but after that it just sist there doing nothing. The
> process is still active, but the screen is empty.
your data file is probably also owned by root. in the directory where
you keep your datafile execute the following as root: chown <user> *
then try again.
the reason you get a blank screen is that (this is a theory) if
gnucash can't open or can't find the data file it last used, it starts
with no data file. you can then go to the file menu and pick open
file, surf to your datafile and open it. subsequently it should work.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
-----END PGP SIGNATURE-----