[CentOS] VNC Questions

Warren Michelsen Warren at MDCCLXXVI.com
Mon Feb 1 20:05:25 UTC 2010


At 1:53 PM -0600 2/1/10, Frank Cox sent email regarding Re: [CentOS] 
VNC Questions:
>On Mon, 2010-02-01 at 12:41 -0700, Warren Michelsen wrote:
>>
>>  I got the error that the command 'service' was not found.
>
>The /sbin directory is not on the standard path for normal users.
>
>Use this command:
>
>/sbin/service vncserver start
>
>Or use "su -" instead of "su" when switching to the root user and you
>will get root's environment, which includes /sbin on the path.

Ah! This is something I've not run across before. Using "su -" did the trick.




More information about the CentOS mailing list