Howdy Qgh,

I'm no whiz at VNC, I'm pretty new to it myself but I'm wondering a 
couple things here.

On your linux machine, look in both your ~/root/.vnc and ~/you/.vnc 
areas to see if there are any files that that have .log or .pid 
suffixes. Mine have 
   nameofmyserver:2.pid
for example. I'm wondering if you started the server as you, but are 
now trying to kill it as root and it doesn't show up as a process for 
root. Which ever one has the .pid is the person you should be logged in 
as to kill it. Also notice that the name of the file also tells you 
what window it is using, :2 in my case, so kill that one.

If all this fails you can try
  ps -aux |grep yournamehere
to show all the processes you have running. As root this might be a big 
list so maybe instead use
  ps -aux |grep yournamehere |grep vnc
to narrow it down.

Once you see the line that is the vnc process you can kill it directly 
from the command line with the linux kill command instead pointing at 
the process ID number.

I hope some of this helps a bit, like I say I'm pretty new to all this 
VNC stuff.
Alan D.


Date sent:              Fri, 17 Jun 2005 13:19:07 -0700 (PDT)
From:                   Qgh Rohgy <[EMAIL PROTECTED]>
Subject:                Re: problems with killing vncserver :0
To:                     [email protected]

> No I not using :1 at all.
> 
> I connect to myofficemachine:0
> beacuse my understanding was that :0 will give me my
> already opened browser sessions on my office Linux
> machine.
> What do you mean by 'servers local X session' ?
> 
> I have changed the geometry in
> /root/.vnc/xstartup script
> and also in
> /home/me/.vnc/xstartup script
> 
> But that has not helped too.
> 
> I want to know how do I kill the already existing
> vncserver :0 ?? cuz vncserver -kill :0 does not work
> It says I have to manually kill the Xvnc and I cannot
> find any process which has Xvnx mentioned in it.
> 
> 
> 
> --- William Hooper <[EMAIL PROTECTED]> wrote:
> 
> > Qgh Rohgy wrote:
> > > Hello all,
> > >
> > >
> > > I am trying to connect from my Windows(home)
> > machine
> > > to my Red Hat Linux(office) machine's Desktop.
> > >
> > > When I connect from home, I see a my office
> > desktop
> > > but its very small i.e it does not occupy the
> > entire screen. I have tried
> > > changing the xstartup script -geometry but it has
> > not helped.
> > >
> > > So today I decided to kill my :0 and start again
> > with
> > > explicitly specifying the geometry
> > >
> > > when I do - vncserver -kill :0 I get -
> > > Can't find file /root/.vnc/officemachine:0.pid
> > > You'll have to kill the Xvnc process manually
> > 
> > Are you running vncserver to start this server?  If
> > so, you probably are
> > using display :1, because display :0 is reserved for
> > the local X session.
> > 
> > If you are trying to use the VNC module to view the
> > local X session, you
> > need to change the servers local X session geometry
> > in order to change the
> > VNC geometry.
> > 
> > -- 
> > William Hooper
> > _______________________________________________
> > VNC-List mailing list
> > [email protected]
> > To remove yourself from the list visit:
> > http://www.realvnc.com/mailman/listinfo/vnc-list
> > 
> 
> 
> 
> 
> 
> __________________________________ 
> Do you Yahoo!? 
> Make Yahoo! your home page 
> http://www.yahoo.com/r/hs
> _______________________________________________
> VNC-List mailing list
> [email protected]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to