LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-27-2004, 04:22 PM   #1
d4nr
LQ Newbie
 
Registered: May 2004
Posts: 15

Rep: Reputation: 0
remote X, domain name trouble


hey, im trying to understand how to run remote x applications. now, my problem is that my boxes doesnt seem to find eachother. i try to xhost +hostName.domainName but it just returns "not a valid host". The computers are connected and can ping eachother so thats not the issue.
doing it locally on each box works(xhost +localHostName) so i figure it must have something to do with the domain name im using..im behind a router that provides a domain name, and i use dhcp to pass network info. but do i need to tell linux something else about the domain to be able to get this to work?

im lost
 
Old 09-27-2004, 04:44 PM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
From the xhost man page:
Names
A complete name has the syntax ``family:name'' where the families are as follows:

inet Internet host (IPv4)
inet6 Internet host (IPv6)
dnet DECnet host
nis Secure RPC network name
krb Kerberos V5 principal
local contains only one name, the empty string

The family is case insensitive. The format of the name varies with the family.

When Secure RPC is being used, the network independent netname (e.g., "nis:unix.uid@domainname") can be specified, or a local user can be specified with just the username and a trailing at-sign (e.g., "nis:pat@").

For backward compatibility with pre-R6 xhost, names that contain an at-sign (@) are assumed to be in the nis family. Otherwise they are assumed to be Internet addresses. If compiled to support IPv6, then all IPv4 and IPv6 addresses returned by getaddrinfo(3) are added to the access list in the appropriate inet or inet6 family.

I think you need to add the 'family:' part to the name to add the site to the hosts list.

This will only provide rudimentary security. You may want to use ssh instead which would allow you to run applications remotely.
 
  


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
Trouble joining domain tbrenner Linux - Networking 4 08-22-2005 10:01 PM
Domain trouble Die Woud Linux - Networking 2 05-27-2005 03:19 PM
Connection to remote FTP server which has the same domain name as my network dws Linux - Newbie 2 05-26-2004 08:39 AM
trouble adding Xp machine to Domain redhattan Linux - Networking 2 12-28-2003 07:27 AM
Trouble with XP box joining samba domain Jason_25 Linux - Networking 2 05-09-2002 03:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:50 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