Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-07-2007, 10:41 PM   #1
Registered: Aug 2004
Location: Philadelphia,PA
Posts: 185

Rep: Reputation: 17
chkconfig ??

I am trying to setup vnc server for my fedora 7 box. I keep seeing references to chkconfig but I can not make the command run. I did a search for a file with that name with no luck.

The tell me to run this command:

chkconfig vncserver off

But I can not run it I get:

[savone@bighat ~]$ chkconfig 35 vncserver off
-bash: chkconfig: command not found
[savone@bighat ~]$
Old 11-07-2007, 10:50 PM   #2
LQ Newbie
Registered: Jan 2007
Location: Montreal
Distribution: RedHat, Suse & Fedora
Posts: 2

Rep: Reputation: 0
You need to be root in order to run chkconfig:

su -
(enter root password)
chkconfig --level 345 vncserver off

Old 11-08-2007, 12:44 AM   #3
LQ Newbie
Registered: Nov 2007
Posts: 6

Rep: Reputation: 0
or setup sudo access

chkconfig and other system tools are normally in the /sbin directory in which regular users do not have access to. if you use sudo, you will need to edit ~/.bash_profile to add it to your path



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
Why do I get "bash: chkconfig: command not found" when I try to run chkconfig? non-thrash Fedora 10 05-20-2010 01:31 PM
chkconfig --add noir911 Linux - General 3 11-23-2006 02:26 AM
chkconfig question BajaNick Linux - General 3 07-02-2004 10:10 AM
chkconfig ?? jchin Linux - Newbie 4 10-16-2003 02:59 AM
Help on chkconfig ztopher Linux - Software 0 04-09-2003 04:29 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:42 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration