Subject: Re: pkg/30474: tkirc/tkirc2 user problems
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Ben Collver <collver@peak.org>
List: pkgsrc-bugs
Date: 06/12/2005 12:25:02
The following reply was made to PR pkg/30474; it has been noted by GNATS.

From: Ben Collver <collver@peak.org>
To: David Chmelik <dchmelik@hipplanet.com>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/30474: tkirc/tkirc2 user problems
Date: Sun, 12 Jun 2005 05:26:59 -0700

 The error message is pretty long, but let's tackle the first line first.
 
 > Application initialization failed: no display name and no $DISPLAY environment variable
 
 X applications need to be told which display to send their output to.
 This can be a command line argument, but is typicall an environment
 variable named DISPLAY.  Probably when you su to a user, DISPLAY is
 unset.  Try the following:
 
 DISPLAY=:0.0
 export DISPLAY
 tkirc2
 
 If this works, please let me know and I will close this PR.  KDE ought
 to work for non-root users, but that is a separate issue.
 
 Cheers,
 
 Ben