← Back to team overview

dhis2-users team mailing list archive

Re: Error: Unable to initialize gtk, is display set properly?

 

If you use putty,you are on windows. Are you sure your windows machine
supports remote X windows? You will need extra software for this.

Better to use command line tools (psql and vi) instead of the graphical
tools if you connect through putty.

Regards,
Jason

--
Sent from my mobile
On Jul 27, 2012 12:51 PM, "Ese Egerega" <ese@xxxxxxxxxx> wrote:

> Thanks for your time Morten. What I meant is gedit *or* pgadmin3.
>
> gedit is a graphical text editor in Ubuntu. pgadmin3 is also a graphical
> application that can be used to administer postgresql database. I get the
> error message* (Error: Unable to initialize gtk, is display set
> properly?) *each time I try to run any of those programs.
> I am connecting through Putty to the Ubuntu 10.0.4 server.
>
> On Fri, Jul 27, 2012 at 2:38 PM, Morten Olav Hansen <mortenoh@xxxxxxxxx>wrote:
>
>> Hi
>>
>> Not really sure what you mean by gedit of pgadmin3...
>>
>> The kind of error you are getting is usually caused by the X environment
>> missing its DISPLAY property. Did you do this through an SSH session? To
>> use SSH forwarding with X, you need to use ssh -x <IP>, and then start the
>> program you want.
>>
>> --
>> Morten
>>
>>
>> On Thu, Jul 26, 2012 at 7:04 PM, Ese Egerega <ese@xxxxxxxxxx> wrote:
>>
>>>  Hello,
>>>
>>> Can anyone be of help?
>>>
>>> I get the following error message each time I try to run gedit of
>>> pgadmin3 on ubuntu 10.0.4
>>>
>>> Error: Unable to initialize gtk, is display set properly?
>>>
>>> Thanks,
>>> Ese
>>>
>>> On 7/20/12, Suneel Kumar Chevvu <suneelkumar.chevvu@xxxxxxxxx> wrote:
>>> > Dear Lars,
>>> >
>>> >       Can user set his own login page means once login into application
>>> > whether user can see his own option / Module.
>>> >
>>> > Say for example - If Healthworker/ Data entry operator login dataentry
>>> > module should display as login screen, if another level user say State
>>> > person logins he wants to see Dashboard as his default page.
>>> >
>>> > Currently we can set login module in system settings which means the
>>> same
>>> > can be applied for all users. If any user change the start page
>>> according
>>> > to his choice , the same page is showing for all other users.
>>> > Can we make user specific login page?
>>> >
>>> >
>>> >
>>> > --
>>> > Thanks & Regards,
>>> > Suneelkumar .ch
>>> > HISP India.
>>> >
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References