LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-04-2005, 01:34 AM   #1
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 227

Rep: Reputation: 30
X forwarding denied


i have a slackbox(tincat1) set up w/ a wireless ethernet bridge(linksys wet11) and want to access it with a zaurus handheld. i can ssh into tincat1 but cannot seem to get X to go along. i have tried the -X option w/ssh and i have disabled access control(via xhost) on tincat1. i still get x forwarding denied. any ideas on what i'm missing will be appreciated. thanx
 
Old 02-04-2005, 01:39 AM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Check your /etc/ssh/sshd_config file on the slack box and see what the X11-Forwarding options are. Also, stupid question, you are running an xserver on the zaurus right?
 
Old 02-04-2005, 03:01 AM   #3
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 227

Original Poster
Rep: Reputation: 30
thanx for your quick attention-i do have the XQt server running on the zaurus and am running blackbox and rxvt on it. when i ssh -X into it i get a "remote host denied X11 forwarding". i've been into ssh_config and have the line "ForwardX11 yes" uncommented-all the rest are still hashed. i can move around and do non x commands on tincat1 from zaurus and from the messages i get the idea that the blockage is with tincat1-i have played w/this and searched and so on, but i'm no expert, so i certainly may have missed something.
as i understand it, ssh adds 1 to the local display :0- so i issue konqueror -display :1 on the zaurus and i get "cannot connect to the Xserver"(same with display :0)

Last edited by tincat2; 02-04-2005 at 03:15 AM.
 
Old 02-04-2005, 09:55 AM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Did you try: ssh -Y to connect ?
 
Old 02-04-2005, 01:07 PM   #5
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 227

Original Poster
Rep: Reputation: 30
i gave "ssh -Y" a quick try, keefaz, and i just get the ssh "help" screen listing options; among which there does not appear a "Y" choice. perhaps i need a newer ssh-will do more later-thanx
 
Old 02-05-2005, 06:18 AM   #6
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Usage: ssh -Y server

My ssh package is : openssh-3.9p1-i486-1
 
Old 02-06-2005, 03:37 AM   #7
BinaryBob
Member
 
Registered: Aug 2002
Posts: 117

Rep: Reputation: 15
On tincat1 run

Code:
xhost +<ip of thing you want to access it>
Or to disable the checking of it all together:

Code:
xhost +
NOTE: That last method allows, pretty much anything in your network to access your X Server - BAD SECURITY. (but good for testing purposes)

This might help..... I hope =)
 
Old 02-07-2005, 01:28 AM   #8
tincat2
Member
 
Registered: Feb 2002
Location: hills of WV
Distribution: slackware
Posts: 227

Original Poster
Rep: Reputation: 30
thanx for your suggestions, BinaryBob; this is a bit frustrating. i did "xhost + 192.168.1.225(ip of wet11) on tincat1" and i also did "xhost +"on tincat1" and then a plain "xhost" to see if the changes were effected. in each case it appears they were-i now have "access control disabled".
your post makes me wonder if the problem lies in the bridge(wet11) and its ip as opposed to the zaurus' actual ip or even its mac. i would think that tincat1 sees a remote coming in wireless over the bridge would see it at the bridge ip and since i can get in(as a user not root, which is another issue-none of these currently connects to anything but each other; i will try to get to know what i'm doing before i do security for an outside cnxn-i believe i'm too far in the woods for anyone but nsa to pick up the wifi as of now.
getting back to the problem at hand; i realize that i also have much to learn about the zaurus itself, so i'm going to look into that some-i have xqt server on it and the problem may be there.
any thoughts are always appreciated; i'll post more later.
 
Old 02-07-2005, 03:06 AM   #9
BinaryBob
Member
 
Registered: Aug 2002
Posts: 117

Rep: Reputation: 15
I dunno if its been covered, but you might want to try other kinds of connections. basic PINGs, maybe FTP or ssh shell login. And see if any of that connects. The bridge should be ok, all its doing is temporarily converting 10/100BaseT to WiFi, and then back at some point, if I'm assuming the setup correctly. What is your setup exactly? That might lend us some insight here. Does the Zarus connect directly via wireless to the tincat1? or is it through an access point of some kind? Maybe a lil ASCII art is in order
 
  


Reply



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
Mail Forwarding in postfix/maildrop/redhat (like yahoo mail forwarding) topcat Linux - Software 1 08-31-2007 12:10 PM
IPCHAINS port forwarding and IPTABLES port forwarding ediestajr Linux - Networking 26 01-14-2007 07:35 PM
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 12:08 PM
Permission Denied ryancoolest Linux - Newbie 7 10-03-2004 10:12 PM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:25 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
Open Source Consulting | Domain Registration