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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-02-2006, 10:17 AM
|
#1
|
LQ Newbie
Registered: Dec 2003
Posts: 17
Rep:
|
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.
|
|
|
10-02-2006, 01:21 PM
|
#2
|
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191
Rep:
|
chkconfig vncserver on
should do the trick.
|
|
|
10-02-2006, 02:54 PM
|
#3
|
LQ Newbie
Registered: Dec 2003
Posts: 17
Original Poster
Rep:
|
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.
|
|
|
10-02-2006, 04:27 PM
|
#4
|
Member
Registered: Mar 2004
Distribution: CentOS 4.3/4.5
Posts: 72
Rep:
|
chkconfig is in sbin on most distro's
/sbin/chkconfig --level 345 vncserver on
|
|
|
10-04-2006, 10:06 AM
|
#5
|
LQ Newbie
Registered: Dec 2003
Posts: 17
Original Poster
Rep:
|
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.
|
|
|
10-04-2006, 11:48 AM
|
#6
|
LQ Newbie
Registered: Oct 2006
Posts: 6
Rep:
|
# cd /sbin
# chkconfig
good luck
|
|
|
10-04-2006, 11:58 AM
|
#7
|
LQ Newbie
Registered: Dec 2003
Posts: 17
Original Poster
Rep:
|
Hi misterfuzzypants, thanks for your reply ;-)
I tried your suggestion, but it still gives the same error.
What could be wrong here?
Thanks,
Greg.
|
|
|
10-04-2006, 12:28 PM
|
#8
|
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191
Rep:
|
do a
yum install chkconfig
or download the chkconfig from rpmfind.net and install it.
then try
chkconfig vncserver on
|
|
|
10-04-2006, 12:36 PM
|
#9
|
LQ Newbie
Registered: Dec 2003
Posts: 17
Original Poster
Rep:
|
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.
|
|
|
10-04-2006, 12:51 PM
|
#10
|
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191
Rep:
|
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
|
|
|
10-04-2006, 03:05 PM
|
#11
|
LQ Newbie
Registered: Dec 2003
Posts: 17
Original Poster
Rep:
|
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.
|
|
|
10-04-2006, 07:08 PM
|
#12
|
Senior Member
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,191
Rep:
|
/sbin/chkconfig vncserver on
|
|
|
All times are GMT -5. The time now is 10:25 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|