Results 1 to 5 of 5

Thread: Pgaccess interface to Postgre

  1. #1
    Join Date
    May 2016
    Location
    Helsinki, Finland
    Posts
    62

    Default Pgaccess interface to Postgre

    Tried to use pgacces with my postgresql, both installed through Yast. When starting pgaccess in terminal, I got the following error message:
    ----
    ...# pgaccess
    application-specific initialization failed: no display name and no $DISPLAY environment
    variable
    Error in startup script: invalid command name "image"
    while executing
    "image create bitmap dnarw -data {
    #define down_arrow_width 15
    #define down_arrow_height 15
    static char down_arrow_bits[] = {
    0x00,0x80,0x00,0x80,0x0..."
    (file "/usr/bin/pgaccess" line 17)
    ---
    Any ideas, how to fix it?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,136

    Default Re: Pgaccess interface to Postgre

    To me it looks that this program is to be used from the GUI (and thus not by root).
    Henk van Velden

  3. #3
    Join Date
    Oct 2011
    Location
    Germany (Ore Mountains)
    Posts
    427

    Default Re: Pgaccess interface to Postgre

    A missing $DISPLAY indicates, that you are trying to run the software under the wrong user account. Don't use postgres, but your normal user account under which you are logged in to the graphical desktop.
    btw.: pgadmin3 is an actively developed and maintained alternative.

    Hendrik


  4. #4
    Join Date
    May 2016
    Location
    Helsinki, Finland
    Posts
    62

    Default Re: Pgaccess interface to Postgre

    Thanks Hank, it worked. :-)

    Quote Originally Posted by hcvv View Post
    To me it looks that this program is to be used from the GUI (and thus not by root).

  5. #5
    Join Date
    May 2016
    Location
    Helsinki, Finland
    Posts
    62

    Default Re: Pgaccess interface to Postgre

    Quote Originally Posted by hendwolt View Post
    A missing $DISPLAY indicates, that you are trying to run the software under the wrong user account. Don't use postgres, but your normal user account under which you are logged in to the graphical desktop.
    btw.: pgadmin3 is an actively developed and maintained alternative.

    Hendrik

    Hendrik, pgadmin3 looks fine. Thanks!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •