LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-02-2006, 10:17 AM   #1
Funkester
LQ Newbie
 
Registered: Dec 2003
Posts: 17

Rep: Reputation: 0
Question Noob help with Fed Core 4 & VNC


Hi Guys,

I'm running Fedora Core 4 and I have VNC configured and working.

However, everytime I reboot my box I have to manually start the VNC service.

Is there a way of making the VNC service start automatically each time the machine is started, as it's a real pain having to visit the box each time it gets rebooted.

Thanks in advance.

Greg.
 
Old 10-02-2006, 01:21 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
chkconfig vncserver on
should do the trick.
 
Old 10-02-2006, 02:54 PM   #3
Funkester
LQ Newbie
 
Registered: Dec 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Question

Thanks for your reply ;-)

I tried running the command at a terminal window but it says: bash: chkconfig: command not found

Is this command installed by default? If not, can I d/l it and install it from somewhere? The server is at a remote location and I don't have the media in the CD drive right now.

Thanks,

Greg.
 
Old 10-02-2006, 04:27 PM   #4
Denes
Member
 
Registered: Mar 2004
Distribution: CentOS 4.3/4.5
Posts: 72

Rep: Reputation: 15
chkconfig is in sbin on most distro's

/sbin/chkconfig --level 345 vncserver on
 
Old 10-04-2006, 10:06 AM   #5
Funkester
LQ Newbie
 
Registered: Dec 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Unhappy

Hi Guys,

I still can't get this chkconfig command to work?! I can see the file in /sbin but every time I try to run it, I just get the BASH error I mentioned earlier.

I've even tried running the chkconfig command as the root user, but that just generates the same error.

Am I doing something wrong?

Also, I come from a Windows background. Is it possible to perform an in-place upgrade of Fedora Core 4 to Fedora Core 5? Do I have to boot from the Core 5 CD/DVD to do this or can I run the upgrade from an extracted ISO on the HDD of the Fedora Core 4 machine?

I'm just a bit concerned that this Fedora Core 4 installation is not working properly and I thought an upgrade might fix it?

What do you guys think?

Thanks,

Greg.
 
Old 10-04-2006, 11:48 AM   #6
misterfuzzypants
LQ Newbie
 
Registered: Oct 2006
Posts: 6

Rep: Reputation: 0
# cd /sbin
# chkconfig

good luck
 
Old 10-04-2006, 11:58 AM   #7
Funkester
LQ Newbie
 
Registered: Dec 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Unhappy

Hi misterfuzzypants, thanks for your reply ;-)

I tried your suggestion, but it still gives the same error.

What could be wrong here?

Thanks,

Greg.
 
Old 10-04-2006, 12:28 PM   #8
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
do a
yum install chkconfig
or download the chkconfig from rpmfind.net and install it.
then try
chkconfig vncserver on
 
Old 10-04-2006, 12:36 PM   #9
Funkester
LQ Newbie
 
Registered: Dec 2003
Posts: 17

Original Poster
Rep: Reputation: 0
Unhappy

Thanks w3bd3vil I tried the yum install (which seemed to work ok - it went through and asked a few questions and appeared to install OK) but unfortunately I still get the same command not recognised error

I then tried downloading the rpm as you suggested, but when the download completed it said the package was already installed!

What the heck is going on here? This is driving me nuts!!!

Thanks for all your help trying to get this working, I really appreciate it and I'm sorry if this is causing you half as much of a headache as it is me right now ;-)

Thanks and kind regards,

Greg.
 
Old 10-04-2006, 12:51 PM   #10
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
so I guess yum installed chkconfig, thats why you got chkconfig already installed.
paste the output of
rpm -q chkconfig
and
find /sbin -name chkconfig
 
Old 10-04-2006, 03:05 PM   #11
Funkester
LQ Newbie
 
Registered: Dec 2003
Posts: 17

Original Poster
Rep: Reputation: 0
OK, the rpm -q chkconfig command gives this output:

chkconfig-1.3.23-0.4

and the find /sbin -name chkconfig command gives this output:

/sbin/chkconfig

Thanks,

Greg.
 
Old 10-04-2006, 07:08 PM   #12
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191

Rep: Reputation: 49
/sbin/chkconfig vncserver on
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ATI Drivers on Fed Core 5 on laptop Thorlax Linux - Hardware 2 05-07-2006 05:46 PM
Multiple BOOT with RH&FED&WIN Bobymc Linux - Hardware 1 04-25-2006 02:07 PM
VNC & Fedora Core 3 tebucky Linux - General 1 01-18-2006 06:14 PM
Fed Core 2 - X11 VNC jonty_11 Linux - General 0 01-06-2005 07:40 PM
clock in fed core 2 is slow mr_maximum Linux - Hardware 0 12-22-2004 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:25 PM.

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