[CentOS] Reg. VNC server and Windows and Centos interworking

Rob Lockhart rlockhar at gmail.com
Mon Feb 25 18:52:40 UTC 2008


Reply bottom-posted:

On Mon, Feb 25, 2008 at 12:52 AM, Padmaja <padmaja.rv at vodcalabs.com> wrote:

> Hi,
>
> Thanks for your response, I could connenct to the Centos PC from Windows
> using VNC. However, I do not see the icons etc., that I see when I access
> any windows PC. I ran the command ps aux and saw there is a vnc process
> running for iconic view, but 'm not able to view the icons on the desktop.
> What should I do to get access to the GUI?
>
> Thanks for your help,
> Padmaja
>
> ----- Original Message -----
> From: "Les Mikesell" <lesmikesell at gmail.com>
> To: "CentOS mailing list" <centos at centos.org>
> Sent: Monday, February 25, 2008 5:23 AM
> Subject: Re: [CentOS] Reg. VNC server and Windows and Centos interworking
>
>
> > Padmaja wrote:
> >> Hi,
> >>
> >> Thanks for such a fast response. I typed vncserver at the command line
> >> and it asked me for a password. It said I would require password to
> enter
> >> the desktop. I did not set any before so gave some dummy password. It
> >> again showed Verify and I typed the same password again. Then the
> screen
> >> showed something like
> >>
> >> for user padmaja, the startup script is in /home/padmaja/.vnc/Xstartup
> >> the startup applications are in /home/padmaja/.vnc/Xstartup
> >> the log file is in /home/padmaja/.vnc/sipserver.com.log
> >>
> >> After this I typed ps aux and saw that there is a Xvnc running againt
> pid
> >> 11435.
> >>
> >> Now, I tried to connect to the Centos PC from Windows using Vnc client
> >> and it gave the error
> >>
> >> "unable to connect to host: connection refused (10061)."
> >>
> >> I cant understand what the issue is. I am however able to connect to
> >> Windows PCs from VNC on windows.
> >
> >
> > Vncserver creates separate desktops for each instance and should have
> > given you a 'screen number" when you started it - probably :1 for the
> > first one.   Then you have to specify the matching screen when you
> connect
> > from the client:  hostname:1.  If you have the firewall running on
> Centos,
> > you have to permit the appropriate port in ( 5900 + screen number).  If
> > you are expecting to access the desktop running on the console you need
> a
> > different approach.  KDE and Gnome have 'screen sharing' options for the
> > running desktop.
>

You need some sort of xstartup, I believe.  I run VNC at home and it works
great, once it's set up correctly.  Not sure if this will work, it was the
first google hit (and it looks like it's set up for RHEL4):

http://www.skullbox.net/vncserver.php

I use Gnome since it's the default.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20080225/086c9b57/attachment.html>


More information about the CentOS mailing list