FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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:
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
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.
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:
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.