How to kill all VNC sessions

barnowl@uronramp.net barnowl "at" uronramp.net
Sat, 12 Jan 2002 17:11:24 +0000


Also check the Redhat script. Is does some wierd and unneed things to get VNC to start at boot time. This maybe the source of the trouble.

EVan

On Thu, 10 Jan 2002 09:16:57 -0000
"David Colliver" <david.colliver "at" revilloc.com> wrote:

> I found that as well.
> 
> Watch the placing of the colon after kill. It should be vncserver -kill :1
> 
> The :1 is togethor. There is a space between kill and :1 so it
> is -kill<space>:1
> 
> Hope this helps.
> 
> Dave.
> ~~
> All I ask is a chance to prove that money can't make me happy.
> 
> Collectible dolls from http://www.collectorsdolls.com
> Web design? http://www.revilloc.com is the answer.
> Tips, tricks and articles for programmers of all languages on
> http://www.sourcecodecorner.com
> Planning a wedding? http://www.bmcweddings.com
> Advertise your car for free on http://www.drivingseat.com
> 
> 
> ----- Original Message -----
> From: "Daniel Tan" <danieltan "at" shopnsave.com.sg>
> To: <vnc-list "at" uk.research.att.com>
> Sent: Thursday, January 10, 2002 1:40 AM
> Subject: How to kill all VNC sessions
> 
> 
> > Hi,
> >      i have encounter a rather troublesome problem, is there a command or
> > way to kill off a VNC session? i tried using vncserver -kill:1 but it
> > doesn't die off but reload. I found out that to kill off any VNC session i
> > had to do the following
> > 1) ps -ef (to check Xvnc session pid)
> > 2) kill -9 "Xvnc pid"
> > 3) delete .X1-lock file under /tmp and .X1 file under /tmp/.X11-unix
> >       then after that can start new Vnc session for number 1.
> > 4)and i also deleted the /home/user/.vnc/server:1.log and server:1.pid
> files
> > it is tedious to do all these steps...or there only way out is to kill my
> > own script?
> >
> > i am using Redhat 7.0 and the default Vnc installed together in the
> package
> > ---------------------------------------------------------------------
> > To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
> > 'unsubscribe vnc-list' in the message BODY
> > See also: http://www.uk.research.att.com/vnc/intouch.html
> > ---------------------------------------------------------------------
> >
> >
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To download your own free RevilloC mailserver, visit http://www.revilloc.com/mailserver
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ---------------------------------------------------------------------
> To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
> 'unsubscribe vnc-list' in the message BODY
> See also: http://www.uk.research.att.com/vnc/intouch.html
> ---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------