I have some scripts that are running manually executed by menu entry or called from other scripts.
When called from other scripts X is not already running then.
But the scripts usually shows Xdialog messages.
So, how can I check, if X is already running, to avoid error messages in /tmp/bootsysinit.log.
Code: Select all
Xdialog: Error initializing the GUI...
Do you run under X11 with GTK+ v1.2.0+ installed ?
RSH