Re: Problem with pgaccess
От | Andreas Kretzer |
---|---|
Тема | Re: Problem with pgaccess |
Дата | |
Msg-id | 3C98B97A.BBE87DFB@kretzer-berlin.de обсуждение исходный текст |
Ответ на | Re: Problem with pgaccess ("Ricardo Javier Aranibar León"<ricardo_jal@hotmail.com>) |
Список | pgsql-interfaces |
Ricardo Javier Aranibar León schrieb: > Hi,.. > Sorry for this letter, but I have problems again with pgaccess, I send you > the file "env " > I use Linux SuSE 7.3. and KDE2 the messages when I execute pgaccess is: > postgres@kepos:>pgaccess > Application initialization failed: no display name and no $DISPLAY > enviroment variable. I assume you made 'su' to become user postgres .... In this case you have no default display and are not allowed to write to the display which is used by the user-id under which you really logged in. So you must do the following: 1. as the original user allow access to your display: 'xhost +' 2. as user postgres set your DISPLAY variable: exportDISPLAY=localhost:0.0 Don't forget to disable this global access (security!!!!) with 'xhost -' after finishing your su'd postgres session.
В списке pgsql-interfaces по дате отправления: