LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-09-2006, 01:07 PM   #1
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Rep: Reputation: 31
X Server Can't Connect and Forcing use of FQDN


Hi,
I have a commercial application that is trying to access an X server that is composed of the machine's FQDN and 0.0. Unfortunately, it seems that there is no way to override this via the application. Is there any workaround so that I can make it use the native :0.0 instead? Thanks for your help.
 
Old 04-09-2006, 01:14 PM   #2
coolb
Member
 
Registered: Apr 2006
Location: Cape Town, South Africa
Distribution: Gentoo 2006.1(2.6.17-gentoo-r7)
Posts: 222

Rep: Reputation: 30
Quote:
Originally Posted by LinuxGeek
Hi,
I have a commercial application that is trying to access an X server that is composed of the machine's FQDN and 0.0. Unfortunately, it seems that there is no way to override this via the application. Is there any workaround so that I can make it use the native :0.0 instead? Thanks for your help.
umm.. If I understand you right, your commercial app is trying to connect to your machines X windows server using it's FQDM and your X server isent listening on the FQDM, and you want the app to connect to localhost:0... I have an idea, why not edit /etc/hosts and make the FQDM(the one that the app is using) 127.0.0.1 and the it can connect to localhost(where your X server is) and magic :-)
 
Old 04-09-2006, 02:31 PM   #3
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Original Poster
Rep: Reputation: 31
Thanks for you input coolb. I tried it out quickly but unfortunately it didn't work What's I'm trying to do is get it to use :0.0 (not localhost:0.0 or FQDN:0.0). Do you think something like creating a socket under /tmp with the FQDN and soft linking it to the :0.0 socket would do the trick?
 
Old 04-10-2006, 11:35 AM   #4
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Original Poster
Rep: Reputation: 31
I did a workaround using gdm.conf and adding the necessary cookie. Another approach is to run a vnc server and make it attach to the X server that the application is looking for.
 
Old 04-10-2006, 12:22 PM   #5
LinuxGeek
Member
 
Registered: Jun 2002
Posts: 302

Original Poster
Rep: Reputation: 31
I did a workaround using gdm.conf and adding the necessary cookie. Another approach is to run a vnc server and make it attach to the X server that the application is looking for.
 
  


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
Unix-connect: can't connect to server jrdioko Linux - Software 1 01-08-2006 04:56 PM
Forcing users to use DG on server. Steve2001 Linux - Networking 1 08-27-2005 08:33 AM
server FQDN help namboi Linux - Newbie 6 05-07-2005 02:20 PM
Suddenly unable to connect to my web server and my ftp server. HELP! Silly22 Linux - Software 4 05-23-2004 04:42 PM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 12:32 AM

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

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