LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
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
 
LinkBack Search this Thread
Old 05-01-2006, 05:08 PM   #1
aabfm
Member
 
Registered: Jan 2006
Location: Portugal
Distribution: Fedora, Ubuntu, Knoppix
Posts: 60

Rep: Reputation: 15
Question VNC connection from WinXP


Hi you all.

First of all thanks for all the help you all provided me before since I'm a newbie in Linux.

My head is in a mess.
I've been visiting sites and sites about VNC connection and still I just can't figure out how to remotly connect from XP into Fedora.
Basically what I would like to do would be:
- stop a running xyz application;
- upload a file;
- restart the xyz application.
I've tried to install a couple of different VNCs but nothing so far.
Every time I try to connect from XP with UltraVNC it keeps saying 'Unable to connect'.
Adding to this I think I have to many VNCs installed and running on my machine and I don't know how to uninstall them.
Any ideas?
Thanks in advance.
 
Old 05-01-2006, 05:10 PM   #2
aabfm
Member
 
Registered: Jan 2006
Location: Portugal
Distribution: Fedora, Ubuntu, Knoppix
Posts: 60

Original Poster
Rep: Reputation: 15
By the way, I've been trying all this on my home network.

Last edited by aabfm; 05-01-2006 at 05:12 PM.
 
Old 05-01-2006, 05:52 PM   #3
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697

Rep: Reputation: 61
Check this link to setup vnc on a Fedora box first. You should be able to see if you have more than one session setup. http://fedoranews.org/tchung/vnc/

Then from the FC box itself run the command ' vncserver '. Enter address 127.0.0.1 and then password when asked. If this works goto the XP and go from there.

One thing to check is see if you have a firewall enabled on the Fedora box. Do this as root to stop the firewall. ' service iptables stop '. Now try connecting. If it does then you need to open port 5900 in your firewall if you wish for it to remain running. Not sure of your network so can't advise if it is ok to leave off. To open a hole then goto /etc/sysconfig/iptables and edit it as root of course. Add these to line to your iptables file before the COMMIT line. Save and Exit. Then as root run the command ' service iptables restart '.
# Add access to VNC
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 5900 -j ACCEPT

Brian1

Last edited by Brian1; 05-01-2006 at 05:55 PM.
 
Old 05-02-2006, 04:49 AM   #4
aabfm
Member
 
Registered: Jan 2006
Location: Portugal
Distribution: Fedora, Ubuntu, Knoppix
Posts: 60

Original Poster
Rep: Reputation: 15
Thanks!
It works!

Right now I will continue my quest for, and I quote from my previous post:
"Basically what I would like to do would be:
- stop a running xyz application;
- upload a file;
- restart the xyz application."

If you have any ideas, I will appreciate them very much.
 
Old 05-02-2006, 05:34 PM   #5
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,697

Rep: Reputation: 61
If I understand I would ssh to the box.
Stop the service or app. For service as root ' service service_app_name stop '
or
To stop an app then use ' pkill app_name '
Now upload the file.
Restart the service ' service service _app_name '
or
An app ' name_of_app & '
Close ssh session

Brian1
 
Old 05-24-2006, 12:29 PM   #6
aabfm
Member
 
Registered: Jan 2006
Location: Portugal
Distribution: Fedora, Ubuntu, Knoppix
Posts: 60

Original Poster
Rep: Reputation: 15
Thanks! It works!
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vnc : Connection refused dragunu Linux - Newbie 5 04-25-2006 05:54 AM
VNC WinXP to Linux canuck_barlow Linux - Newbie 3 04-01-2005 12:40 AM
Using WinXP to remotely control Linux box RDP? VNC? Fisslefink Linux - Networking 4 03-14-2005 12:38 AM
VNC connection issues... Joshoowa Linux - Networking 2 02-05-2005 07:07 AM
VNC connection failue phantompgr Linux - Software 4 10-21-2004 09:07 AM


All times are GMT -5. The time now is 02:32 AM.

Main Menu
 
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
Open Source Consulting | Domain Registration