in reply to To install Tk, you need an X display

You might find that this can also happen if your X session is owned by a normal user who's su'd to root to do the installation. If this scenario bites you and you don't want to start another X session, just ssh as root to localhost with X exported (if your machine is configured to allow X exports via SSH) then perform the installation.

There's probably a cleaner way to do this, but I've never sought it out.

  • Comment on Re: To install Tk, you need an X display

Replies are listed 'Best First'.
Re^2: To install Tk, you need an X display
by ambrus (Abbot) on Feb 21, 2006 at 10:51 UTC

    In fact, that's what I did. I started X as a user, and su-ed to root in an xterm, and the installation did work.