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

15th November 2005, 08:36 AM
|
|
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
|

15th November 2005, 09:32 AM
|
 |
"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.
|

15th November 2005, 12:01 PM
|
|
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
|

15th November 2005, 12:17 PM
|
 |
"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).
|

15th November 2005, 03:05 PM
|
|
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
|

15th November 2005, 08:16 PM
|
|
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
|

16th November 2005, 09:33 AM
|
 |
"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.
|

16th November 2005, 02:45 PM
|
|
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! :-)
|

16th November 2005, 03:33 PM
|
 |
"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...
|

17th November 2005, 06:46 AM
|
|
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
|

3rd January 2006, 03:00 PM
|
 |
"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.
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 05:59 (Sunday, 26-05-2013)
|
|
 |
 |
 |
 |
|
|