Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 15th November 2005, 08:36 AM
RustyJuggler Offline
Registered User
 
Join Date: Nov 2005
Location: Trondheim, Norway
Posts: 9
chkconfig and service

I am trying to install a vnc server with a how-to, where I should use service and chkconfig. But I get bad command in the terminal for both, even though at least chkconfig is installed. What should I do to use them?

I am going to use SSH tunneling, but am unsure how to logon then. Do I first SSH in with putty or something and the use a VNC client to logon?

When I logon to the VNC client and my user is already logged on the computer locally, what will happen?

Do I have to open something in the firewall, and how do I do it?

Here is the guide I am using:
http://www.raoul.shacknet.nu/2005/11...ver-in-fedora/

Alot of questions here, hope somebody can help.

Anders
Norway
Reply With Quote
  #2  
Old 15th November 2005, 09:32 AM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
Quote:
Originally Posted by RustyJuggler
I am trying to install a vnc server with a how-to, where I should use service and chkconfig. But I get bad command in the terminal for both, even though at least chkconfig is installed. What should I do to use them?
What bad command ? Can you be more specific, please ?

Quote:
Originally Posted by RustyJuggler
I am going to use SSH tunneling, but am unsure how to logon then. Do I first SSH in with putty or something and the use a VNC client to logon?
Exactly. Duplicate an existing putty working session you already have to the server you want to connect to. Set up credentials, proxy server, etc. then, on the left menu, follow the path Connection, SSH, Tunnels and add the IP and port of the machine on which the vnc server is running. For example, if you want to connect to a vnc server running on 192.168.1.1, enter 5901 in the Source port box, click Add, and 192.168.1.1:5901 in the Destination box. Remember to save your session configuration.

Quote:
Originally Posted by RustyJuggler
When I logon to the VNC client and my user is already logged on the computer locally, what will happen?
Another session will be opened for you.

Quote:
Originally Posted by RustyJuggler
Do I have to open something in the firewall, and how do I do it?
No, ssh port 22 is enough.

Last edited by giulix; 15th November 2005 at 09:35 AM.
Reply With Quote
  #3  
Old 15th November 2005, 12:01 PM
RustyJuggler Offline
Registered User
 
Join Date: Nov 2005
Location: Trondheim, Norway
Posts: 9
Quote:
Originally Posted by giulix
What bad command ? Can you be more specific, please ?
The basic one: bash: chkconfig: command not found

Quote:
Originally Posted by giulix
Another session will be opened for you.
What if I have for example aMule open from my locale machine and want to download something when I am at school, can I access aMule from the VNC session?

Quote:
Originally Posted by giulix
No, ssh port 22 is enough.
But in my router at home I have to open both 22 and for example 5903, right

Thanks for the help
Anders
Norway
Reply With Quote
  #4  
Old 15th November 2005, 12:17 PM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
Quote:
Originally Posted by RustyJuggler
The basic one: bash: chkconfig: command not found
Ah, that one... you need to be root for that

Code:
su -
/sbin/chkconfig
Quote:
Originally Posted by RustyJuggler
What if I have for example aMule open from my locale machine and want to download something when I am at school, can I access aMule from the VNC session?
I don't think so, as your emule app will be running in an entirely separate session...

Quote:
Originally Posted by RustyJuggler
But in my router at home I have to open both 22 and for example 5903, right
No, 22 is enough (traffic to port 5903 will be tunneled by ssh through port 22).
Reply With Quote
  #5  
Old 15th November 2005, 03:05 PM
RustyJuggler Offline
Registered User
 
Join Date: Nov 2005
Location: Trondheim, Norway
Posts: 9
Thanks for all the help, the problem was that I wrote chkconfig instead of /sbin/chkconfig

Anders
Norway
Reply With Quote
  #6  
Old 15th November 2005, 08:16 PM
RustyJuggler Offline
Registered User
 
Join Date: Nov 2005
Location: Trondheim, Norway
Posts: 9
Do any of you know how to set up putty after I have used the how-to. I am trying different settings with tunneling, but can't manage to start the vnc-server. I can only start it from linux.

Anders
Norway
Reply With Quote
  #7  
Old 16th November 2005, 09:33 AM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
Well, you need to open a session on Linux to start the vncserver, unless you include it in the boot startup procedure. Since you need to open a session with putty to start the tunnel anyway, you might as well use the same session to start the vncserver.
I've got a .doc howto I wrote when I first managed to get it working that explains the whole procedure. If you need it, I can send it to you.
Reply With Quote
  #8  
Old 16th November 2005, 02:45 PM
tw56 Offline
Registered User
 
Join Date: Oct 2005
Location: GA, USA
Posts: 311
Darn. Then us other newbies who want to learn how to do things won't know how to do it! :-)
Reply With Quote
  #9  
Old 16th November 2005, 03:33 PM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
I was expecting this... The fact is, to be made public it would need a complete review, as I used company IP addresses and other info that needs to be cut out. I plan to do it sometime, but haven't been able to find the time so far...
Reply With Quote
  #10  
Old 17th November 2005, 06:46 AM
RustyJuggler Offline
Registered User
 
Join Date: Nov 2005
Location: Trondheim, Norway
Posts: 9
It would be nice if you sent it to me.
Mail: andersrustad (at) yahoo (doot) no

Anders
Norway
Reply With Quote
  #11  
Old 3rd January 2006, 03:00 PM
giulix's Avatar
giulix Offline
"Fixed" by (vague) request
 
Join Date: Oct 2005
Location: GMT+ 1
Posts: 2,950
Ok, a promise's a promise. Sorry for the dodgy download link...

Last edited by giulix; 1st February 2006 at 11:22 AM.
Reply With Quote
Reply

Tags
chkconfig, service

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A service not in chkconfig neogranas Servers & Networking 3 16th July 2009 10:31 PM
chkconfig and service bghayad Using Fedora 4 19th June 2009 02:26 AM
service X does not support chkconfig arnieAustin Servers & Networking 9 10th January 2009 08:32 PM
chkconfig wokrs but service start says unknow service gkk Servers & Networking 4 10th December 2007 02:45 AM


Current GMT-time: 05:59 (Sunday, 26-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat