starting vncserver (was: RE: [wplug] (no subject))

Vanco, Don don.vanco at agilysys.com
Wed Jul 21 10:57:17 EDT 2004


Ritchie, Lauren <mailto:Lauren.Ritchie at agy.com> scribbled on Wednesday,
July 21, 2004 10:31 AM: 
> THank you, glad to know that it work...my boss said that we did not
> have vnc on RH9 so i needed to download it...thus why i did.
> 
> Ok, so now that it worked...i mean its there is this list you just
> sent me what i need to do next??

	Yes.....

> rpm -ivh "filename" (as root)
	As you know, this installed it.  It may behoove you to learn a
bit about RPM, especially the -F (freshen) and -U (upgrade) options, as
you do not always want to use "-i" (install)  

> service vncserver start (will make change in current runlevel)
	What you've added is considered a "service" - it has a listener
(daemon) that needs to run to allow connections - this command actually
starts that service (running "service vncserver" with no modifier will
give you valid options, as is true with any service you see listed in
/etc/init.d)    

> chkconfig vncserver on (will make "on" state permanent over run level
> change / reboot) vncserver :1 (or whatever)
	The chkconfig command sets the "state" of the services listed in
/etc/init.d and /etc/xinetd.d across run-level changes (e.g going from
command line (run level 3) to a GUI login daemon (runlevel 5)) which
includes reboots...
	Just trying to nail home the point that there is a difference
between starting/stopping a service "now" and affecting that change of
state over a change in runlevel/boot.

	Since VNC sessions are "per user" based there is no built-in
means to make an individual session valid over a change in runlevel -
you'd need to add that to /etc/rc.local or some other common init
structure locale.

	Welcome to the fun.  Not being a jerk, but consider non-html
email if at all possible..... (and lose the legally meaningless gigantic
signature)

Don




> PS - VNC is a part of RH9 - all you needed to do was run
> "redhat-config-packages" and search on VNC - it would have prompted
> you for the appropriate disk.  Or even use "up2date vncserver" for a
> machine on RHN.  As a new user I would strongly encourage you to look
> at the available "redhat-con*" packages, and the RH docs (which are,
> in my arguably heavily biased opinion (but you know I'm right) the
> best available). 
> 
> Don
wplug-bounces+don.vanco=agilysys.com at wplug.org <> scribbled on :

> sorry i am using redhat 9.0 and i downloaded an rpm -----Original
> Message----- From: Vanco, Don [mailto:don.vanco at agilysys.com]
> Sent: Wednesday, July 21, 2004 10:09 AM
> To: General user list
> Subject: RE: [wplug] (no subject)
> 
> 
> </html>
> What distro?  If it's Red Hat or RPM based, did you load an RPM or
> install from source? Generally:
> # /etc/init.d/vncserver start
> (on RH boxen: "service vncserver start")
> # vncserver :1
> (or :whatever screen you want) - first run will prompt for password
> (will create a .vnc directory in users home with password file - nuke
> it to reset password) 
> 
> 
> point VNCViewer to "IP.ADD.RESS:WHATEVER" and enjoy.
> Defaults to TWM for desktop/window management.  I highly recommend
> blackbox for anything over a WAN / BW constrained; can run GNOME/KDE
> on LAN (another edit in the users .vnc directory)
> HTH
> Don
> Ritchie, Lauren <> scribbled on Wednesday, July 21, 2004 9:55 AM:
>> Hello,
>> I am an intern this summer, working with linux for the very first
>> time...yikes! I am trying to learn this...and i am pretty much on my
>> own, which makes it tough!! However, I have to download and install
>> REALVNC onto my linux machine...i have downloaded but i am having a
>> hard time with the whole installation...i did an ls once it was
>> downloaded and did not see anything that would help with the
>> configuring of it...anyone really good at this and feel they can
>> help someone really dumb?? haha Thank you! Lauren




More information about the wplug mailing list