Results 1 to 7 of 7

Thread: HOWTO: VNC Client / Server setup

  1. #1
    Senior Member registered user
    Join Date
    Jun 2003
    Location
    Piraeus / Hellas
    Posts
    121

    HOWTO: VNC Client / Server setup

    Dear Sirs,
    I found very interesting the "vnc way" to connect (using local network) a knoppix box with a m$ box.
    Bacause I am not very experienced on subject, is it possible for someone to guide me in a step by step manner and using as much details as necessary to be able to do that???
    Please include the steps that required to configure my m$ box (as VNC viewer) and knoppix box (as VNC Server).

    For your info the required programs (RealVNC Viewer + RealVNC Server) it is already installed at m$ box and my knoppix box but not configured yet.

    Thanks a lot for your time and your help.

    Best Regards
    Mike Kranidis

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    Germany
    Posts
    297

    Re: VNC Client / Server setup

    Quote Originally Posted by mikekgr
    Dear Sirs,
    I found very interesting the "vnc way" to connect (using local network) a knoppix box with a m$ box.
    Bacause I am not very experienced on subject, is it possible for someone to guide me in a step by step manner and using as much details as necessary to be able to do that???
    Please include the steps that required to configure my m$ box (as VNC viewer) and knoppix box (as VNC Server).

    For your info the required programs (RealVNC Viewer + RealVNC Server) it is already installed at m$ box and my knoppix box but not configured yet.

    Thanks a lot for your time and your help.

    Best Regards
    Mike Kranidis
    Knoppix:

    K, System, "Share Desktop" or similar ... In german its "Arbeitsflδche freigeben"

    ready!

    On MS Box, point your viewer to the ip of the knoppix box ...

    cu

    Fabian

  3. #3
    Senior Member registered user
    Join Date
    Jun 2003
    Location
    Piraeus / Hellas
    Posts
    121
    Dear Fabianx,

    thanks a lot for your reply. Seems very easy!!!

    I will tried tomorrow.

    Best Regards
    Mike Kranidis.

  4. #4
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    --If sharing the KDE desktop doesn't work:

    ' jstar ~/.vncrc '
    Code:
    $vncStartup = "~/.vnc/XSession";
    ' mkdir ~/.vnc '
    ' jstar ~/.vnc/XSession '
    Code:
    #!/bin/sh
    #
    # Based on /etc/X11/Xsession
    #
    # global Xsession file -- used by display managers and xinit (startx)
    
    # initialize variables for use by all session scripts
    
    OPTIONFILE=/etc/X11/Xsession.options
    
    SYSMODMAP=/etc/X11/Xmodmap
    USRMODMAP=$HOME/.Xmodmap
    SYSRESOURCES=/etc/X11/Xresources
    USRRESOURCES=$HOME/.Xresources
    
    SYSSESSIONDIR=/etc/X11/Xsession.d
    STARTUP=$HOME/.xsession
    ALTSTARTUP=$HOME/.Xsession
    ERRFILE=$HOME/.xsession-errors
    
    xrdb $HOME/.Xresources
    xsetroot -solid grey
    # XXX You can also use ' xloadimage ' to load pics instead
    
    #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
    #twm &
    #icewm &
    #/opt/gnome/bin/sawfish &
    ##/usr/bin/sawfish &
    xset s off
    
    rxvt -geometry 80x34+10+10 -ls -title "$VNCDESKTOP Desktop" &
    
    # XXX load desired windowmanager here
    /usr/bin/sawfish &
    # Note: See ~/.xsession for which window manager to load!
    ' chmod +x ~/.vnc/XSession ' == Make sure it's executable

    --You need to set a one-time password:
    ' vncpasswd '

    --Now, to start the X window session on the Linux side:
    ' vncserver :2 -geometry 900x700 ' == Or whatever size you want

    # Connect using vncviewer linuxbox:5902 - OR - http://linuxbox:5802

    #vncserver -kill :2 == To bring VNC down

    # IF ssh -2 -C -L 5992:linuxbox:5902 linuxbox
    # THEN vncviewer localhost:5992

    --In my experience you will get much better response when using a compressed ssh session as indicated above. Also dink around with the VNCviewer options on the windows side - different encodings can give faster displays. I've gotten good results over compressed ssh with RRE encoding and restricting pixels to 8-bit, even when running over 100Mb Ethernet. You can gauge the response by window-shading (in Sawfish, double click on a window titlebar and it rolls up like a window shade) and then unshading the window, and seeing how long it takes for the display to resolve itself. Using a slow encoding can take several seconds!

    --A couple of notes:
    o DO NOT run vncserver as root! Always run as a less-privileged user, for security and safety reasons.

    o By starting vncserver as :2, you have room for an extra X-session locally on the Linux box (default is :0, and if you want you can still startx -- :1 as another user.)

    --Where to get "putty", an SSH client for Windows:
    http://www.chiark.greenend.org.uk/~sgtatham/putty/

    ! Edit 2003.1002 Added some comments for xloadimage and how to load WM

    Quote Originally Posted by mikekgr
    Dear Fabianx,

    thanks a lot for your reply. Seems very easy!!!

    I will tried tomorrow.

    Best Regards
    Mike Kranidis.

  5. #5
    Senior Member registered user
    Join Date
    Jun 2003
    Location
    Piraeus / Hellas
    Posts
    121
    Dear Dave_Bechtel,

    thanks a lot for your time to write this very detailed answer to me.
    I will try this after 5 or so hours (when home) and if a hit to a problem I will post again.

    Again thank you and appreciate your great help.

    Best Regards
    Mike Kranidis

  6. #6
    Senior Member registered user
    Join Date
    Jun 2003
    Location
    Piraeus / Hellas
    Posts
    121
    Dear Dave_Bechtel,
    your receipt is 100% working solution for me.

    Many many thanks for your help

    Best Regards
    Mike Kranidis

  7. #7
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041
    --Thanks, that made my day!

    Quote Originally Posted by mikekgr
    Dear Dave_Bechtel,
    your receipt is 100% working solution for me.

    Many many thanks for your help

    Best Regards
    Mike Kranidis

Similar Threads

  1. Client Verbindung zu Windows 2000 Server
    By RALLE12 in forum German Forum
    Replies: 0
    Last Post: 02-23-2005, 02:53 PM
  2. SSH Client Session on a Knoppix 3.6 SSH Server
    By user1 in forum General Support
    Replies: 2
    Last Post: 11-18-2004, 11:06 PM
  3. How do I setup ftp server
    By chain in forum General Support
    Replies: 0
    Last Post: 07-20-2004, 07:10 AM
  4. Replies: 0
    Last Post: 02-12-2004, 02:55 PM
  5. How can I setup Terminal Server
    By DATA101 in forum General Support
    Replies: 4
    Last Post: 01-29-2004, 10:14 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


CISCO MERAKI MS120-24P-HW 24-PORT GIGABIT CLOUD MANAGED PoE SWITCH - UNCLAIMED picture

CISCO MERAKI MS120-24P-HW 24-PORT GIGABIT CLOUD MANAGED PoE SWITCH - UNCLAIMED

$103.74



Cisco WS-C3750X-48PF-S 48 Port PoE Gigabit Switch w/ C3KX-NM-10G & Dual 1100WAC picture

Cisco WS-C3750X-48PF-S 48 Port PoE Gigabit Switch w/ C3KX-NM-10G & Dual 1100WAC

$121.88



Cisco Catalyst WS-C2960X-24PD-L GigE PoE 370W, 2 x 10G SFP+, LAN Base H22 picture

Cisco Catalyst WS-C2960X-24PD-L GigE PoE 370W, 2 x 10G SFP+, LAN Base H22

$94.00



GENUINE CISCO DS-SFP-FC32G-SW SFP NEW SEALED SEE PHOTOS SHIPS FREE picture

GENUINE CISCO DS-SFP-FC32G-SW SFP NEW SEALED SEE PHOTOS SHIPS FREE

$69.99



πŸ”₯πŸ”₯πŸ”₯ CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module πŸ”₯πŸ”₯πŸ”₯ picture

πŸ”₯πŸ”₯πŸ”₯ CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi Module πŸ”₯πŸ”₯πŸ”₯

$6.80



Cisco Nexus N3K-C3064PQ-10GX 48P 10GbE SFP+ 4P QSFP+ Switch (Fair) picture

Cisco Nexus N3K-C3064PQ-10GX 48P 10GbE SFP+ 4P QSFP+ Switch (Fair)

$85.00



Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850 picture

Cisco C3850-NM-2-10G 2 Port Network Exp.Module for 3850

$30.99



Cisco C3KX-NM-10G 3K-X Network Module for 3750-X 3560-X picture

Cisco C3KX-NM-10G 3K-X Network Module for 3750-X 3560-X

$23.99



Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch picture

Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch

$499.00



Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack picture

Cisco WS-C2960X-48FPD-L 48 V07 POE+ GE+2 10G SFP+, LAN BASE 740W w/ C2960X-Stack

$110.00