LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices



Reply
 
Search this Thread
Old 07-08-2004, 11:02 PM   #1
elfoozo
Member
 
Registered: Feb 2004
Location: MI
Distribution: debian unstable
Posts: 252

Rep: Reputation: 32
Gtk-WARNING **: cannot open display


Ok, trying out DSL for the first time tonight.... Looks pretty cool so far except I have been stumped already.

I have DSL on client_pc1 and debian on server_pc2.

I boot DSL from cd and open a root shell.

I type "xhost +192.168.0.3" to allow Xapps to connect to the DSL client_pc1

I then "ssh 192.168.0.3 -l my_UID" to connect to server_pc2.

I type "export DISPLAY=192.168.0.2:0" to export my Xapps from the server to the client_pc1.

I type "echo $DISPLAY" and it confirms my Xapps should redirect ok.

I type "gqview &" to launch a test Xapp to the client_pc1 and after about 15 seconds it returns:
(gqview:28926): Gtk-WARNING **: cannot open display:

I also tried "xeyes &" but that returned an error referencing my IP not being allowed. So I went back to the client_pc1 and did "xhost +" to allow any host to connect to the x server.

I've been doing these exact same steps via Knoppix 3.3 as the client_pc1 for a month now but am not familiar enough with DSL to know what's different....

Anyone have any pointers on exporting Xapps onto DSL?

Last edited by elfoozo; 07-08-2004 at 11:25 PM.
 
Old 07-09-2004, 12:57 PM   #2
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
I don't know about small linux particularly, but have you checked out /etc/ssh/sshd_config yet?
You will need a:
X11Forwarding yes
line in order for the ssh daemon to pass data to the X server.
 
Old 04-20-2007, 01:07 AM   #3
hhvv
Member
 
Registered: May 2006
Location: India
Distribution: RHEL,CentOS,BSD,Ubuntu
Posts: 59
Blog Entries: 1

Rep: Reputation: 15
Double check

PLease check your disk space using df -h
If partitions like /home /tmp are at a usage above 95% it won't work
Also try removing your host entry from ~/.ssh/known_hosts
 
Old 07-12-2007, 10:41 PM   #4
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
Quote:
Originally Posted by hhvv
PLease check your disk space using df -h
If partitions like /home /tmp are at a usage above 95% it won't work
Also try removing your host entry from ~/.ssh/known_hosts
Your post is largely irrelevant, and I haven't the heart to keep quiet.

DSL (Da** Small Linux) is a bootable distro (often called a live CD) based on Knoppix. It does not install to the hard drive. It mounts a compressed loopback file on the cd and a ramdisk. Newer versions merge the two, keeping file system changes in the ramdisk. There does not even need to be a hard drive plugged into the system at all. Now if he has no RAM, that's another problem. The odds of that are very slim here though. Reading between the lines, I'd say he had X up and running without problem.

Reason number 2: his post is from July 2004. He certainly does not have the same hd contents he did then (unless the computer has been shelved). This means that any post you submit is not for him, but for anybody else browsing the forum with the same problem.

my two cents
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gtk-WARNING **: cannot open display gonzalo76 Slackware 18 12-12-2013 11:36 AM
gtk warning cannot open display bosewicht Linux - Newbie 2 03-10-2010 08:53 PM
Gtk-WARNING **: cannot open display iamjoepesci Red Hat 2 10-17-2008 12:51 PM
Gtk-WARNING **: cannot open display: lijomali Fedora 6 11-10-2005 07:43 PM
Gtk-WARNING **: cannot open display: Larsin Linux - Software 1 02-25-2004 11:47 AM


All times are GMT -5. The time now is 11:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration