Edward's suggestion worked.� Coot doesn't work, several library and module error messages, but I'm going to try to get 0.6 running anyway, since the current CCP4 still includes the older 0.5.2.� Thanks to everyone for their feedback.
Stuart On Mon 12/14/09 11:27 PM , "Edward A. Berry" wrote: Mark A. White wrote: > 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. Another way around this (assuming you have ssh server running) is login to a graphics desktop as yourself, then "ssh r...@localhost" Depending how your SSH, SSHD are configured, you may have to ssh -X or ssh -Y, but the X11 server will be available to the "remote" session so you can run ccp4i (or nedit or xclock or whatever X application), with copy and paste between the remote session window(s) and local, all without having to violate the taboo of never starting X as root. > > 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. This is also great for setting up crystallography for a number of workstations- install all the programs as a normal user on an nfs-mounted disk. Now whoever mounts that disk can source your master setup file and run the programs. Rather than installing as root in the usual /usr/local/bin/ or wherever, on every workstation. The actual system disks then just contain the operating system, which you can reinstall in a few hours (or less from an image) if they become corrupted or need to be updated to the latest distro. Stuart Endo-Streeter wrote: > I was running from a root shell. Ubuntu does not let me login as root. That is normally a good thing, but if I remember correctly to finish the ccp4i setup last time I on a CentOS system I had to login as root. I will try to reinstall tomorrow using sudo, but frankly I hate using it. > I don't think you need to reinstall- just open a terminal in your graphics desktop, ssh -X r...@localhost, verify that $DISPLAY is set and "xclock" works, then source ccp4.setup and run ccp4i. (could be wrong about that, though) Ed
