LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-26-2004, 01:47 PM   #1
zepplin611
Member
 
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187

Rep: Reputation: 30
HELP!! Error in GXSTRT: Unable to connect to X server


Hello...

I need your help fedora users...

I have an application that runs on a remote machine and I want the display window to pop up on local machine:

local machine: Fedora C1
remote machine: RedHat 9.0

Here's the setup: I login into Local machine (console)...I type: xhost + remote.machine from that same terminal, I then ssh into the remote machine. While on the remote machine I type: setenv DISPLAY local.machine.ipaddr:0.0 after typing return. To check: I type....
echo $DISPLAY (from the remote machine and the display variable is set to display on the local machine).

Now i try to start the application that is fully installed on the remote machine and I get the following error:

Error in GXSTRT: Unable to connect to X server

FYI: the local machine is in runlevel 5 initially and when i type:


ps -eaf |grep X on the remote machine I get the following:

root 2401 2400 15 Feb17 ? 1-09:45:09 /usr/X11R6/bin/X :0 -auth /var/gdm/:0.Xauth vt7

user 2410 2400 0 Feb17 ? 00:00:00 -/bin/tcsh -c /usr/bin/ssh-agent /usr/share/apps/switchdesk/Xclients.kde

user 2466 2465 0 Feb17 ? 00:00:00 /usr/bin/ssh-agent /usr/share/apps/switchdesk/Xclients.kde

user 10460 2508 0 Feb20 ? 00:00:00 kdeinit: kio_file file /tmp/ksocket-user/klauncherXFwDhc.slave-socket /tmp/ksocket-user/konquerorZd547b.slave-socket




ps -eaf |grep X on the local machine get the following:

root 3337 3336 23 Feb24 ? 11:29:18 /usr/X11R6/bin/X :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7

user 6338 3336 0 14:25 ? 00:00:00 -/bin/tcsh -c /usr/bin/ssh-agent /home/user/.Xclients

user 6384 6383 0 14:25 ? 00:00:00 /usr/bin/ssh-agent /home/user/.Xclients
root 7071 7021 0 14:35 pts/1 00:00:00 grep X


Could the -nolisten tcp (on the local machine) be stopping this xserver from starting?

The odd thing is, is that when I use a Redhat 9.0 Local Machine and keeping the remote machine the same...the x-application works fine!!!!!! so it seems that the X settings on Fedora C1 may need to be changed. Could someone help me with this???

many thanks

zepplin611
 
Old 02-26-2004, 04:48 PM   #2
zepplin611
Member
 
Registered: Jan 2004
Distribution: AIX 4.3 RH 7,8,9 / Fedora C1/
Posts: 187

Original Poster
Rep: Reputation: 30
I figured this one out:

The x-application that I was using was not compatible with Fedora C1...so i retrieved the latest version (beta) of the app and it worked...turns out that being on the bleeding edge does have its downfalls!

Zepplin611
 
Old 05-06-2004, 02:47 PM   #3
joseph.ervin
LQ Newbie
 
Registered: Aug 2003
Posts: 12

Rep: Reputation: 0
same problem here...

I'm having the same problem trying to X some applications on
Solaris back to my Linux desktop. So far, none of the basic applications
I've tried seem to work, including things like mozilla.

Something is amiss. The behavior is just as though the remote application
is being refused a connection by X11 on Fedora (FC2T3, to be exactl).

Is this a known issues with Fedora? I had no similar issues with
RH9 (which had a completely different X implementation, of course).

Help! So far I love Fedora except for this problem...

>>>Joe
 
Old 05-07-2004, 02:50 PM   #4
joseph.ervin
LQ Newbie
 
Registered: Aug 2003
Posts: 12

Rep: Reputation: 0
Figured it out.

I needed to uncheck the box that says
"Always disallow TCP connections to X server".

It's located under "System Setting"->"Login Screen",...on the Security tab.

>>>Joe
 
Old 09-18-2007, 02:34 PM   #5
allansjc
LQ Newbie
 
Registered: Sep 2007
Posts: 1

Rep: Reputation: 0
GXSTRT error

Try install the program xming, configure for enable X11. This procedure resolve your problem.
PS: Donīt forget "xhost +" and "export DISPLAY=<ip for display>:0.0

I hope help you
 
  


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
VHCS: ERROR: Unable to connect SQL server ! Travis_NOOB Linux - Software 4 06-27-2009 06:12 PM
Unable to connect to remote server Suresh Chowta Linux - Networking 1 02-13-2005 06:29 AM
MNF2 : unable to connect to Web Interface MandrakeSecurity + X server install error syxys Mandriva 3 12-30-2004 12:03 PM
CUPS : unable to connect to server lefevre2 Linux - General 1 05-24-2004 03:25 PM
Suddenly unable to connect to my web server and my ftp server. HELP! Silly22 Linux - Software 4 05-23-2004 04:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:06 AM.

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