Another use for VNC has nothing to do with running it on the mainframe linux itself. You can run VNC on a smaller server and use it as a "go-between" allowing you to start long-running gui tasks (such as system installs) and then close your laptop and go home or to the coffee shop, where you can pick back up in your install without any loss or interruption.
A second use, which we do here quite a bit, is the feature that a VNC session can be viewed by more than one user at a time (the -share option). This allows you to show a problem to a coworker or vendor, or to watch someone do a procedure and learn how to do it, or to share a desktop during a conference call. -- Bob Nix On 3/9/07 8:49 AM, "James Melin" <[EMAIL PROTECTED]> wrote: > Greetings Warren. > > I've encountered times where I had NO choice but to use a GUI installer (Neon > Shadow Direct Driver, for instance). When that happens, I would start a > VNCserver. One comes with the SLES distribution. There are ones that have less > overhead, but since I use this only rarely, I've not bothered. > > Starting the vncserver: > > vncserver -depth 24 -geometry 1024x768 :0 > > This creates a VNC server on which you can do something by connecting a vnc > viewer to. You basically get an xterm shell and nothing else. No desktop > overhead, no full blown KDE or GNOME. But it is enough* to use a GUI tool. > > Once you run this it wil prompt for a password to use to access things. It > will also create a directory in your $HOME dir called .vnc - in that > directory is a file called xstartup > > cat xstartup > #!/bin/sh > > xrdb $HOME/.Xresources > xsetroot -solid grey > xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & > twm & > > The default seems to be to start twm - Tiny window Manager. It's ok. It works. > it's ugly. You could choose to use another window manager as personal > preference dictates. > > If you change this while the vncserver is running you need to stop and start > it: vncserver -kill :0 - Where :0 is your X windows screen. Since there > is no desktop running on z, :0 is available. On an intel box, you'd want to > default to :1 or :2. > > Restart the server per above, and connect to the DNS resolveable name OR IP > address using a PC based VNC viewer. Note: this is a great way to burn CPU > resources on your z box. Get in, get done, get out. > > > I hope this helps. > > -J > > > > > > Warren Taylor <[EMAIL PROTECTED]> > Sent by: Linux on 390 Port > <[email protected]> > To > > [email protected] > > cc > 03/08/2007 04:57 PM > > Subject > Re: What > is vnc > Please respond to > Linux on 390 Port <[email protected]> > > > > > > > > > For my RHEL4 on a VM guest, all I can see is using emacs through putty to do > our editing. (we are a heavy editing environment). I have managed to used > gedit from a linux desktop but that was somewhat painful and now refuses to > work at all (but I don't really miss its instability). Am I stuck with > putty and emacs? > > > ----- Original Message ---- > From: Mark Post <[EMAIL PROTECTED]> > To: [email protected] > Sent: Thursday, March 8, 2007 2:48:31 PM > Subject: Re: What is vnc > > >>>> On Thu, Mar 8, 2007 at 5:35 PM, in message > <[EMAIL PROTECTED]>, Warren Taylor > <[EMAIL PROTECTED]> wrote: >> and how can this be applied to Linux running on VM? There is no desktop on >> VM? > > Correct. You would use VNC to connect to a graphical desktop environment on a > Linux guest. Typically _not_ recommended for performance reasons, but > sometimes required to install things such as WebSphere, DB2, Oracle, etc. It > is considered somewhat more "lightweight" than just using X, but I've > always found it to be just as painful. > > > Mark Post > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 -- .~. Robert P. Nix Mayo Foundation /V\ RO-OC-1-13 200 First Street SW / ( ) \ 507-284-0844 Rochester, MN 55905 ^^-^^ ----- "In theory, theory and practice are the same, but in practice, theory and practice are different." ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
