I could have sworn you said you were running KDE 3.4. This tells me
you're running some flavor of Linux on one of your machines.

Windows installations are pretty straightforward.

Download the installer and execute, accepting all the defaults.
When complete it brings up the VNC configuration. Here you set a
connection password for the VNC server. The client doesn't need any
further config.

You will also need to configure your Windows firewall (if installed) to
allow VNC connections to the ports you use (TCP/UDP 5900 and possibly
5800). We don't use Windows firewall here since we've got a very
restrictive perimeter firewall and all VNC connections are internal. 

As long as you're only making local connections (not over the Internet)
you could simply disable the Windows firewall after installation. If you
have no separate Internet firewall, disconnect your ISP router.

Restart your Windows machines, then open VNC Viewer from the client
machine.

[Start]->[Programs]->[RealVNC]->[VNC Viewer 4]->[Run VNC Viewer]

In the "VNC Viewer:Connection Details" type in the server and display
number:

Server: machine_name:0

Click button: [OK]

The "VNC Viewer:Authentication[No Encryption]" dialog appears.

Type in the password you set when installing VNC.

You should see the desktop of the server machine exactly as it looks at
the computer's console.

Once it's working the way you want, re-enable your Windows firewall(s)
and configure them to allow VNC ports.

--Cal





On Mon, 2006-09-18 at 15:55, Lloyd Abberton wrote:
> Calvin
>  
> Thanks for the reply, in fact I am running a Windows OS XP Pro SP 2.
>  
> I am running version 4.1.2 of VNC, just donwloaded and installed.
>  
> Can you help with this?
>  
> 
> 
> ----- Original Message ----
> From: Calvin Webster <[EMAIL PROTECTED]>
> To: Christian Panten <[EMAIL PROTECTED]>
> Cc: VNC Mailing List <[email protected]>
> Sent: Monday, 18 September, 2006 8:36:11 PM
> Subject: Re: Vnc-Session with exported X
> 
> 
> You don't say what OS's you're running or versions of X, but since KDE
> 3.4 is pretty recent I'll assume you're running a 2.6 kernel with latest
> Xorg.
> 
> Here's my setup on a Red Hat Enterprise Linux 4 AS server using GNOME
> instead of KDE.
> 
> Relevant RPMS:
> 
> kernel-smp-2.6.9-42.0.2.EL
> vnc-4.1.2-1
> xorg-x11-6.8.2-1.EL.13.37
> libgnome-2.8.0-2
> 
> This setup allows connections to the native console (:0) display. It
> allso allows multiple vnc client connections to any of several
> geometry/color depth combinations. All these connections use XDMCP so it
> looks as though the user connected from the console.
> 
> Below is my setup. Yours will be different, depending upon OS, installed
> packages, and security setup.
> 
> Warning: Security settings in examples are very relaxed. You should
> consider the security implications of your specific application.
> 
> ################################
> ## Begin VNC Server on RHEL 4 ##
> ################################
> 
> ## Legend:
>         ...     The appearance of an ellipsis indicates that the entries
>                 to/from this point are insignificant or repeat.
>         ===     Encloses part or all of the contents of a sample file.
>         ---     Separates sections of a file or separates title or
>                 heading from content
> 
> ## First, download and install the latest VNC RPM at:
>         http://www.realvnc.com/download.html
> 
> ## Ensure system security is set to allow VNC connections to ports
> you've configured
> 
> 5900 is default TCP port
> I'm also using ports 5952 5953 5962 5963 5972 5973 5980
> 
> One simple way is:
> 
> ===============
> /etc/hosts.deny
> ---------------
> ALL: ALL
> ===============
> 
> ================
> /etc/hosts.allow
> ----------------
> ALL: 192.168.1. 192.168.2. 192.168.3. 192.168.32. 10.1.150.
> ================
> 
> 
> ## Ensure that your system is set to startup in run level 5 with XDM
> (GDM)
> 
> ============
> /etc/inittab
> ------------
> ...
> id:5:initdefault:
> ...
> # Run xdm in runlevel 5
> x:5:respawn:/etc/X11/prefdm -nodaemon
> ============
> 
> 
> ======================
> /etc/sysconfig/desktop
> ----------------------
> DESKTOP="GNOME"
> ======================
> 
> 
> =====================
> /etc/X11/gdm/gdm.conf
> ---------------------
> [daemon]
> AutomaticLoginEnable=false
> AutomaticLogin=
> TimedLoginEnable=false
> TimedLogin=
> TimedLoginDelay=30
> Greeter=/usr/bin/gdmgreeter
> RemoteGreeter=/usr/bin/gdmlogin
> DefaultPath=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
> RootPath=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
> User=gdm
> Group=gdm
> LogDir=/var/log/gdm
> PidFile=/var/run/gdm.pid
> PostLoginScriptDir=/etc/X11/gdm/PostLogin/
> PreSessionScriptDir=/etc/X11/gdm/PreSession/
> PostSessionScriptDir=/etc/X11/gdm/PostSession/
> DisplayInitDir=/etc/X11/gdm/Init
> XKeepsCrashing=/etc/X11/gdm/XKeepsCrashing
> ServAuthDir=/var/gdm
> BaseXsession=/etc/X11/xdm/Xsession
> DefaultSession=default.desktop
> UserAuthDir=
> UserAuthFBDir=/tmp
> UserAuthFile=.Xauthority
> StandardXServer=/usr/X11R6/bin/X
> Xnest=/usr/X11R6/bin/Xnest -audit 0 -name Xnest
> 
> [security]
> AllowRoot=true
> AllowRemoteRoot=true
> AllowRemoteAutoLogin=false
> RelaxPermissions=0
> CheckDirOwner=true
> 
> [xdmcp]
> Enable=true
> HonorIndirect=true
> DisplaysPerHost=4
> PingIntervalSeconds=300
> 
> [gui]
> GtkTheme=Bluecurve
> 
> [greeter]
> TitleBar=false
> ConfigAvailable=false
> Browser=false
> MinimalUID=500
> Logo=
> ChooserButton=true
> BackgroundColor=#20305a
> ShowGnomeFailsafeSession=false
> ShowLastSession=false
> GraphicalTheme=Default
> GraphicalThemeDir=/usr/share/gdm/themes/
> 
> [chooser]
> HostImageDir=/usr/share/hosts/
> Hosts=
> Broadcast=true
> Multicast=false
> 
> [debug]
> Enable=false
> 
> [servers]
> 0=Standard
> 
> [server-Standard]
> name=Standard server
> command=/usr/X11R6/bin/X -audit 0
> flexible=true
> 
> [server-Terminal]
> name=Terminal server
> command=/usr/X11R6/bin/X -audit 0 -terminate
> flexible=false
> handled=false
> 
> [server-Chooser]
> name=Chooser server
> command=/usr/X11R6/bin/X -audit 0
> flexible=false
> chooser=true
> =====================
> 
> 
> ## Add entries to /etc/services for display variations you will use
> 
> =============
> /etc/services
> -------------
> ...
> # VNC Servers
> vnc             5950/tcp        # VNC Service (using defaults)
> vnc1024x768x8   5952/tcp        # VNC Service 1024x768, 8-bit color
> depth
> vnc1280x1024x8  5953/tcp        # VNC Service 1280x1024, 8-bit color
> depth
> vnc1024x768x16  5962/tcp        # VNC Service 1024x768, 16-bit color
> depth
> vnc1280x1024x16 5963/tcp        # VNC Service 1280x1024, 16-bit color
> depth
> vnc1024x768x24  5972/tcp        # VNC Service 1024x768, 24-bit color
> depth
> vnc1280x1024x24 5973/tcp        # VNC Service 1280x1024, 24-bit color
> depth
> vnc1280x960x24  5980/tcp        # VNC Service 1280x960, 24-bit color
> depth
> ...
> =============
> 
> 
> ## Create a VNC startup script for xinetd to start all necessary
> services for your virtual VNC displays.
> 
> =================
> /etc/xinetd.d/vnc
> -----------------
> # default: off
> # description: VNC accepts connections from VNC viewers using XDMCP to \
> #              manage the connections.
> 
> ## [50] Default options: Color Depth: 16 Geometry 1024x768
> service vnc
> {
>         flags           = REUSE
>         protocol        = tcp
>         socket_type     = stream
>         wait            = no
>         user            = nobody
>         server          = /usr/bin/Xvnc
>         server_args     = -inetd -query localhost -once
> -securitytypes=none
>         disable         = no
> }
> 
> ## [52] Color Depth: 8-bit Geometry: 1024x768
> service vnc1024x768x8
> {
>         flags           = REUSE
>         protocol        = tcp
>         socket_type     = stream
>         wait            = no
>         user            = nobody
>         server          = /usr/bin/Xvnc
>         server_args     = -inetd -query localhost -once -geometry
> 1024x768 -depth 8 -securitytypes=none
>         disable         = no
> }
> 
> ## [53] Color Depth: 8-bit Geometry: 1280x1024
> service vnc1280x1024x8
> {
>         flags           = REUSE
>         protocol        = tcp
>         socket_type     = stream
>         wait            = no
>         user            = nobody
>         server          = /usr/bin/Xvnc
>         server_args     = -inetd -query localhost -once -geometry
> 1280x1024 -depth 8 -securitytypes=none
>         disable         = no
> }
>                                                                               
>   
> ## [62] Color Depth: 16-bit Geometry: 1024x768
> service vnc1024x768x16
> {
>         flags           = REUSE
>         protocol        = tcp
>         socket_type     = stream
>         wait            = no
>         user            = nobody
>         server          = /usr/bin/Xvnc
>         server_args     = -inetd -query localhost -once -geometry
> 1024x768 -depth 16 -securitytypes=none
>         disable         = no
> }
> 
> ## [63] Color Depth: 16-bit Geometry: 1280x1024
> service vnc1280x1024x16
> {
>         flags           = REUSE
>         protocol        = tcp
>         socket_type     = stream
>         wait            = no
>         user            = nobody
>         server          = /usr/bin/Xvnc
>         server_args     = -inetd -query localhost -once -geometry
> 1280x1024 -depth 16 -securitytypes=none
>         disable         = no
> }
> 
> ## [72] Color Depth: 24-bit Geometry: 1024x768
> service vnc1024x768x24
> {
>         flags           = REUSE
>         protocol        = tcp
>         socket_type     = stream
>         wait            = no
>         user            = nobody
>         server          = /usr/bin/Xvnc
>         server_args     = -inetd -query localhost -once -geometry
> 1024x768 -depth 24 -securitytypes=none
>         disable         = no
> }
> 
> ## [73] Color Depth: 24-bit Geometry: 1280x1024
> service vnc1280x1024x24
> {
>         flags           = REUSE
>         protocol        = tcp
>         socket_type     = stream
>         wait            = no
>         user            = nobody
>         server          = /usr/bin/Xvnc
>         server_args     = -inetd -query localhost -once -geometry
> 1280x1024 -depth 24 -securitytypes=none
>         disable         = no
> }
> 
> ## [80] Color Depth: 24-bit Geometry: 1280x960
> ## (special for Dennis)
> service vnc1280x960x24
> {
>         flags           = REUSE
>         protocol        = tcp
>         socket_type     = stream
>         wait            = no
>         user            = nobody
>         server          = /usr/bin/Xvnc
>         server_args     = -inetd -query localhost -once -geometry
> 1280x960 -depth 24 -securitytypes=none
>         disable         = no
> }
> =================
> 
> 
> ## Setup X to use the VNC Native display server for the root console :0
> (assumes that "vnc.so" is in your X11 modules path)
> (Mine is /usr/X11R6/lib/modules/extensions/vnc.so)
> 
> ==================
> /etc/X11/xorg.conf
> ------------------
> ...
> Section "Module"
>         ...
>         Load  "vnc"
> EndSection
> ...
> Section "Screen"
>         Identifier "Screen0"
>         ...
>         Option "SecurityTypes" "VncAuth"
>         Option "UserPasswdVerifier" "VncAuth"
>         Option "PasswordFile" "/root/.vnc/passwd"
> EndSection
> ...
> ==================
> 
> ## As "root" user set a vnc password for the VNC "Native Display" server
> 
> vncpasswd
> (creates /root/.vnc/passwd)
> 
> ## You'll have to restart the X server and xinetd to get things rolling.
> 
> ## You may be able to do this using <Ctrl><Alt><Backspace> at a login
> prompt.
> If you're not already setup to boot into run level 5 with a respawning
> xdm you may need to do a system restart.
> 
> ## You'll need to restart xinetd to get it to re-read the config files.
> 
> service xinetd restart
> 
> ## Lastly, you need to test connections from another machine upon which
> you've already installed a VNC Viewer (client).
> 
> ################################
> ## Begin VNC Server on RHEL 4 ##
> ################################
> 
> 
> 
> 
> 
> 
> On Mon, 2006-09-18 at 12:46, Christian Panten wrote:
> > Hi all,
> > 
> > I'm using KDE 3.4 and I want to connect to my desctop from another pc.
> > 
> > My configuration: 
> > 
> > There is a pc (called: S) where all my programs run, also KDE.
> > I login a thin-client (called: C) (IGEL). My X-Server is running here.
> > 
> > >From my other pc (called L) I call 'vncviewer S:1'. My KDE configurations 
> > >allow attaching to the session. Now, L is connected to S via vnc.
> > 
> > Keyboard and mouse works fine. But I have on L an black screen.
> > I think the problem is the X-Server running on C.
> > 
> > It's not possible to run a vncserver on C.
> > 
> > Has anyone a solution for my problem?
> > Is it possible to connect the my kde session via vnc?
> > 
> > Best regards
> > Christian
> _______________________________________________
> 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