Ask a Question related to Debian, Design and Development.
-
Kourosh #1
Re: Gtk-WARNING **: cannot open display:
On Tue, 2003-08-05 at 10:57, ZekeVarg wrote:
Zeke,> Hi!
>
> Have just installed debian and run a dist-upgrade to sid. Now when I try
> to open a gtk based program I get this error message:
>
> Gtk-WARNING **: cannot open display:
>
> Any idee's on what's the problem and how to fix it?
>
> Zeke
IIRC, the display is not set by default for root. If you are
trying to do this as root you need to set the display manually,
or better yet, start X as a regular user, not root, and then
only use root when you absolutely have to. Of course I'm assuming
you're actually trying to use the program under X and not at the
console.
Regards
--
Kourosh <debian@mindwaresystems.com>
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
Kourosh Guest
-
#40068 [NEW]: Warning: Unknown: failed to open stream: No such file or directory in Unknown..
From: triphius at tripslair dot com Operating system: FreeBSD 6.1 PHP version: 5.2.0 PHP Bug Type: Scripting Engine problem... -
Portal display to open up the full record
Hi I just created a simple demo database in FMP6, DB is CUSTOMERS and PROPERTIES Customers is the main database Properties is the related... -
Little Job - Open POP Mailbox and Display
.. Hello I have a little job. Does anyone want to help? Prepared to pay if necessary. I want to open a pop mailbox to display/view headers.... -
cron & cannot open display
Hello I have been trying to get cron to execute programs at set times, As a test I am trying to execute dillo (loads fast!) I setup cron as user... -
Odd open but no warning
Recently I had to look at a perl script which was misbehaving. When I looked at it the code was pretty horrific, among other horrors was the... -
Greg Folkert #2
Re: Gtk-WARNING **: cannot open display:
On Tue, 2003-08-05 at 13:57, ZekeVarg wrote:
Yeah... shutdown X and then restart it. If that doesn't work...> Hi!
>
> Have just installed debian and run a dist-upgrade to sid. Now when I try
> to open a gtk based program I get this error message:
>
> Gtk-WARNING **: cannot open display:
>
> Any idee's on what's the problem and how to fix it?
Are you using the "local Display" and running locally?
or Are you trying to spawn an X program to your local Display from a
Remote machine... with the local machine being upgraded?
or Are you trying to run locally and export remotely?
Give us some details MAN... :)
--
greg, [email]greg@gregfolkert.net[/email]
REMEMBER ED CURRY! [url]http://www.iwethey.org/ed_curry[/url]
Convexion sees between your eyes. Herds of gazelle concave at your feet!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
iD8DBQA/L/jc7WZpcbUkaHwRAgC3AJ9VsqMDdHtjyyOMdvSWKS4VfSr5JQCg u7jB
36uPc9ENl7yxOLsV1VAVa28=
=2yp+
-----END PGP SIGNATURE-----
Greg Folkert Guest
-
ZekeVarg #3
Re: Gtk-WARNING **: cannot open display:
I'm running X as a user. QT programs works just fine.
Zeke
> IIRC, the display is not set by default for root. If you are
> trying to do this as root you need to set the display manually,
> or better yet, start X as a regular user, not root, and then
> only use root when you absolutely have to. Of course I'm assuming
> you're actually trying to use the program under X and not at the
> console.
>
> Regards
> --
> Kourosh <debian@mindwaresystems.com>
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
ZekeVarg Guest
-
ZekeVarg #4
Re: Gtk-WARNING **: cannot open display:
> Yeah... shutdown X and then restart it. If that doesn't work...
That helpt, thanks. I'm new to debian, used to run RedHat.
Zeke
--
To UNSUBSCRIBE, email to [email]debian-user-request@lists.debian.org[/email]
with a subject of "unsubscribe". Trouble? Contact [email]listmaster@lists.debian.org[/email]
ZekeVarg Guest



Reply With Quote

