Quick navigation: Home   |    Site Map   ||    References   |    Biography   ||    Copyright   |    Other copyright   |    Contact us   |    Advert   |   
 

Re: [ccp4bb] configuration or install issue with tk

- Protein crystallography

Main steps:

   - Protein purification
   - Crystallisation

Special:

   - Programs for crystallography
   - X-ray detectors

Basic tutorials:

   - Chemistry
   - Protein
   - Peptide
   - Amino Acids

Xtal community:

   - CCP4BB

CCP4bb navigation

CCP4bb <-- 1999 <-- November 1999 <-- 30 November 1999
Previous message:
Subject: configuration or install issue with tk
From: Stuart Endostreeter stuart {- dot -} endostreeter {- at -} DUKE {- dot -} EDU
Date: 2009-12-14
Next message:
Subject: Re: configuration or install issue with tk
From: Tim Gruene tg {- at -} SHELX {- dot -} UNI-AC {- dot -} GWDG {- dot -} DE
Date: 2009-12-14


Subject: Re: configuration or install issue with tk
From: "Mark A {- dot -} White" white {- at -} XRAY {- dot -} UTMB {- dot -} EDU
Date: 2009-12-14

Stuart,

Are you logged-in as root or are you working in a root shell ( using su
or sudo)? Depending on your security settings X-windows may not permit
a program that is run from a root shell to access the display, which
belongs to the user logged-in through X-windows.

I get around the administrator access issue by installing CCP4, and all
other non-OS software, with non-root ownership, a non-root administrator
account, which shares the environment with all other users. For one
thing, I do not want to source the multitude of /etc/csh.cshrc
and .bashrc files as root. I am sure that others have different, and
probably more elegant, solutions to this problem.

PS. It also seems that the TCL/TK environment is not set in the root
shell you are using.

Good luck,
Mark


On Mon, 2009-12-14 at 16:51 -0600, Stuart Endostreeter wrote:

> Fellow users,
>
> I just installed v6.1.2 on Ubuntu 9.0.4 today and have run into the
> following problem when I try to run ccp4i for the first time as root
> to configure the program:
>
> root@########:/home/########/Documents# ccp4i
> No protocol specified
> Application initialization failed: couldn't connect to display ":0.0"
> Error in startup script: can't read "tk_version": no such variable
> while executing
> "catch "set system(TK_VERSION) $tk_version""
> (file "/usr/local/ccp4/ccp4-6.1.2/ccp4i/bin/ccp4i.tcl" line 1)
> (file "/usr/local/ccp4/ccp4-6.1.2//bin/ccp4i" line 1)
>
> The odd thing is that I can launch ccp4i just fine as a regular user,
> but then of course I get the message about the first time ccp4i has
> been run and the need to configure it, which requires administrator
> level access.
>
>
> Anyone have any ideas?
>
>
> Thanks,
> Stuart Endo-Streeter

Yours sincerely,

Mark A. White, Ph.D.
Assistant Professor, Dept. Biochemistry and Molecular Biology,
Manager, Sealy Center for Structural Biology and Molecular Biophysics
X-ray Crystallography Laboratory,
Basic Science Building, Room 6.660 C
University of Texas Medical Branch
Galveston, TX 77555-0647
Tel. (409) 747-4747
Cell. (409) 539-9138
Fax. (409) 747-4745
mailto://white@xray.utmb.edu
http://xray.utmb.edu
http://xray.utmb.edu/~white

CCP4bb navigation

CCP4bb <-- 1999 <-- November 1999 <-- 30 November 1999
Previous message:
Subject: configuration or install issue with tk
From: Stuart Endostreeter stuart {- dot -} endostreeter {- at -} DUKE {- dot -} EDU
Date: 2009-12-14
Next message:
Subject: Re: configuration or install issue with tk
From: Tim Gruene tg {- at -} SHELX {- dot -} UNI-AC {- dot -} GWDG {- dot -} DE
Date: 2009-12-14



ProteinCrystallography.org: Copyright 2006-2010 by Quid United Ltd