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

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@gmail.com> 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.

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 , and then start the program you want.

···


Morten

On Thu, Jul 26, 2012 at 7:04 PM, Ese Egerega ese@cis.com.ng 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@gmail.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

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@gmail.com 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 , and then start the program you want.


Morten

On Thu, Jul 26, 2012 at 7:04 PM, Ese Egerega ese@cis.com.ng 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@gmail.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

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@cis.com.ng 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@gmail.com 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 , and then start the program you want.


Morten

On Thu, Jul 26, 2012 at 7:04 PM, Ese Egerega ese@cis.com.ng 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@gmail.com 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@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Yes I think we have a section in our manual that refers to gedit on
ubuntu server which won't work. Instead of gedit you need to use a
terminal based editor like vi (if you already know it) or nano or pico
which may be easier for beginners.

You also won't be able to run pgadmin directly on the server. Either
use the psql command interface or access using pgadmin from a client
machine (if you've set up postgres permissions to allow you to do
this).

Bob

···

On 27 July 2012 18:45, Jason Pickering <jason.p.pickering@gmail.com> wrote:

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@cis.com.ng> 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@gmail.com> >> 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@cis.com.ng> 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@gmail.com> 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: DHIS 2 Users in Launchpad
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : DHIS 2 Users in Launchpad
More help : ListHelp - Launchpad Help

_______________________________________________
Mailing list: DHIS 2 Users in Launchpad
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : DHIS 2 Users in Launchpad
More help : ListHelp - Launchpad Help

_______________________________________________
Mailing list: DHIS 2 Users in Launchpad
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : DHIS 2 Users in Launchpad
More help : ListHelp - Launchpad Help

Thanks Bob, as Bob mentioned,i like using Vi and pico are good editors i think these will help if gedit fails.

Thanks!

···

Muhire Andrew

  • HMIS/Ministry of Health*

First say to yourself what you would be; and then do what you have to do..


From: Bob Jolliffe <bobjolliffe is @gmail.com>

To: Jason Pickering jason.p.pickering@gmail.com
Cc: dhis2-users@lists.launchpad.net
Sent: Friday, July 27, 2012 8:55 PM
Subject: Re: [Dhis2-users] Error: Unable to initialize gtk, is display set properly?

Yes I think we have a section in our manual that refers to gedit on
ubuntu server which won’t work. Instead of gedit you need to use a
terminal based editor like vi (if you already know it) or nano or pico
which may be easier for beginners.

You also won’t be able to run pgadmin directly on the server. Either
use the psql command interface or access using pgadmin from a client
machine (if you’ve set up postgres permissions to allow you to do
this).

Bob

On 27 July 2012 18:45, Jason Pickering jason.p.pickering@gmail.com wrote:

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@cis.com.ng 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@gmail.com >> 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 , and then start the
program you want.


Morten

On Thu, Jul 26, 2012 at 7:04 PM, Ese Egerega ese@cis.com.ng 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@gmail.com 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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp

Thanks Bob, Andrew;

I downloaded and installed an X windows server on the client machine I am connecting from and gedit started working. It was very slow though. I ended up using nano.

You are correct Bob. There is an area in your manual that talks about PgAdmin3 but like you said, it is not working. I had to use psql instead.

There is also an area in the manual that talks about apache-tomcat; I followed the steps on “preparing tomcat for dhis”. Tomcat is now running but it is not executing dhis. Is there something else i need to do? Please advice.

If you have the time, I can provide you with the login details to my server so you can login and check.

Thanks,

Ese

···

Sent from my iPhone

On Jul 27, 2012, at 7:13 PM, Muhire Andrew muhireandrew@yahoo.com wrote:

Thanks Bob, as Bob mentioned,i like using Vi and pico are good editors i think these will help if gedit fails.

Thanks!


Muhire Andrew

  • HMIS/Ministry of Health*

First say to yourself what you would be; and then do what you have to do..


From: Bob Jolliffe <bobjolliffe is @gmail.com>

To: Jason Pickering jason.p.pickering@gmail.com
Cc: dhis2-users@lists.launchpad.net
Sent: Friday, July 27, 2012 8:55 PM
Subject: Re: [Dhis2-users] Error: Unable to initialize gtk, is display set properly?

Yes I think we have a section in our manual that refers to gedit on
ubuntu server which won’t work. Instead of gedit you need to use a
terminal based editor like vi (if you already know it) or nano or pico
which may be easier for beginners.

You also won’t be able to run pgadmin directly on the server. Either
use the psql command interface or access using pgadmin from a client
machine (if you’ve set up postgres permissions to allow you to do
this).

Bob

On 27 July 2012 18:45, Jason Pickering jason.p.pickering@gmail.com wrote:

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@cis.com.ng 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@gmail.com > >> 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 , and then start the
program you want.


Morten

On Thu, Jul 26, 2012 at 7:04 PM, Ese Egerega ese@cis.com.ng 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@gmail.com 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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp