I have an application that spawns a GTK+ dialog. When running from the terminal, it works correctly. The problem is my application runs as a daemon and is started by a script inside /etc/init.d
I think everything that is launched using an init script is placed inside tty1, where no GNOME is available (it's on tty7). I don't know if that is correct, but how can I solve this issue?
Thank you in advance!