
Are you a QOTWer? Do you want to start a thread that isn't a direct answer to the current QOTW? Then this place, gentle poster, is your friend.
( , Sun 1 Apr 2001, 1:00)
« Go Back | Popular

(sorry!)
Debian 4.0, running Gnome desktop.
How do I set a Gtkwindow? I receive an error message which reads:
"Gtk-WARNING : screen for Gtkwindow is not set; you must always set a screen for a Gtkwindow before using the window"
The quick search of Linux forums hasn't been too helpful. Anyone know any quick fixes?
EDIT: Never mind, just found another way round it!
( , Thu 5 Feb 2009, 11:42, 6 replies, latest was 16 years ago)

Receive from where? Is this your code or a random program? If your code, got a snippet?
( , Thu 5 Feb 2009, 12:02, Reply)

So: I've got my Debian box SSH'ed into the Red Hat machine at work. I'm trying to run a GUI program from this remote computer, so obviously I've used export display, to which it raised no objections.
Hmmm...update: I've done the export display command again, just to make sure I gave it the right address. Now, when I try to launch the program, I get no message at all. but no program either. I'll get back to you on this one...
( , Thu 5 Feb 2009, 12:08, Reply)

If you export display, it'll make an Xwindows connection to that IP/display number.
Unless you've set up some fruity forwarding to/from your home machine, this prob wont work.
What you need to do is get SSH to set it up for you - give it a -X and it'll make an X listener on the machine you connect to and set the display environment for you. Then it'll just work, forwarding the X traffic down the pipe.
Have a look at the man page for SSH.
Bert, I want to make an SSH tunnel to your X window system and forward my script output through your encrypted pipe.
Edit: Out of the box, X wont be listening to remote IP traffic anyway, for security. So trying to do it using just DISPLAY and not ssh will never work.
( , Thu 5 Feb 2009, 12:41, Reply)

ssh -X did the trick. I'd just got used to using export DISPLAY due to some funny set-up I've got at work where I'm ssh-ing in from Windows to the same Red Hat machine. But of course for that I've got to run an X server program alongside the SSH client, so that never cropped up as an issue before...
( , Thu 5 Feb 2009, 13:58, Reply)

It's all coming from your donkey flange. Yup, it's clogging up your St Elmo's pipe trench.
( , Thu 5 Feb 2009, 18:21, Reply)
« Go Back | Reply To This »