LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-07-2007, 09:41 PM   #1
vonedaddy
Member
 
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, 09:50 PM   #2
lanm11
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

Regards,
 
Old 11-07-2007, 11:44 PM   #3
red80go
LQ Newbie
 
Registered: Nov 2007
Posts: 6

Rep: Reputation: 0
or setup sudo access
#visudo


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

-B
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:48 AM.

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