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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html ---------------------------------------------------------------------
