Results 1 to 2 of 2

Thread: vncserver: connection to "Knoppix:1.0" refused by

  1. #1
    Junior Member registered user
    Join Date
    Aug 2003
    Location
    Esquipulas, Oax. México
    Posts
    19

    vncserver: connection to "Knoppix:1.0" refused by

    When I run svncviewer, I get the following error:

    Xlib: connection to "Knoppix:1.0" refused by server
    Xlib: Invalid MIT-MAGIC-COOKIE-1 key
    xsetroot: unable to open display 'Knoppix:1'

    This is running on the CD, remastered to have svncviewer.
    Does anybody know how to rectify that?

    Thanks!

    Hugo.

  2. #2
    Junior Member registered user
    Join Date
    Jul 2003
    Posts
    12
    I don't know if this helps or not, but XFree86 has the TCP/IP ports closed by default for Debian. You may have to grep for all occurances (there are 3 to 5, I can't remember) of the line " -nolisten tcp" in the major directories such as /etc and /usr. ***Warning: this will lower your security, allowing someone to run displays on your machine. Use with caution!*** You may also need to edit files according to the following advice I got from Kodjo Agbenu at the following website:
    http://bizforums.itrc.hp.com/cm/Ques...9cd0f9,00.html

    **********************************

    Hello Khalid,

    I guess you are using XDMCP for that connection (X Display Manager Control Protocol). To read more about it, read the manpage of "xdm" on any Unix-like system.

    XDMCP implements security mechanisms that are disabled by default on Hp-ux 11.00, but enabled on Linux.

    On your Mandrake system, you will then have to disable that security before being able to connect.

    => Edit /etc/X11/xdm/xdm-config. Make sure that the DisplayManager.requestPort variable is set to 177 instead of 0.

    => Edit /etc/X11/xdm/Xaccess. There should be a line with a single star "*" at beginning.

    * #any host can get a login window

    You can also enable the line :

    * CHOOSER BROADCAST #any indirect host can get a chooser

    => This applies only if you are using gdm (Gnome Display Manager) : edit /etc/X11/gdm/gdm.conf (may be also located in /etc/opt/gnome2/gdm/gdm.conf). In the [xdmcp] section, make sure that "Enable" is set to "true" and optionally "HonorIndirect" too.

    => This applies only if you are using kdm (KDE display manager) : edit /usr/share/config/kdm/kdmrc. In the [Xdmcp] section, make sure that "Enable" is "true" and "Port" is "177".


    After you applied that changes, close all graphical connections, open a telnet or local console and kill the xdm (or kdm or gdm) process. It will be automatically restarted with the new settings.

    Then you will be able to use Exceed.

    Good luck.

    Kodjo

    **************************************

    You will then need to run xhost xxxxx:0.0 where xxxxx is the name of the machine you want run the program from. If this does not help, then you will want to change the settings back where they were because security on your machine will be lower, so make backups! Good luck!

Similar Threads

  1. Xlib: connection to ":0.0" refused by server
    By LeManu in forum General Support
    Replies: 9
    Last Post: 05-20-2004, 10:19 PM
  2. Nessus "Could not open connection" Knoppix 3.4 (20
    By victorhooi in forum General Support
    Replies: 1
    Last Post: 05-11-2004, 08:25 AM
  3. "Intel(R) PRO/1000 MT Mobile Connection" with Knop
    By jasperlevink in forum Hardware & Booting
    Replies: 2
    Last Post: 09-22-2003, 10:59 PM
  4. "Connection Reset by Peer" or "hang"
    By oreo in forum General Support
    Replies: 11
    Last Post: 07-23-2003, 06:33 PM
  5. vncserver startup fails on "default font 'fixed'"
    By andyed in forum Hdd Install / Debian / Apt
    Replies: 6
    Last Post: 01-12-2003, 04:36 AM

Posting Permissions

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


CSE-118 Supermicro 1U 3x GPU Server  2.6Ghz 20-C 128GB CX353A 2x1600W PSU Rails picture

CSE-118 Supermicro 1U 3x GPU Server 2.6Ghz 20-C 128GB CX353A 2x1600W PSU Rails

$454.03



Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU picture

Dell PowerEdge R630 8SFF 2.6Ghz 20-Core 128GB Mem 2x10G+2x1G NIC 2x750W PSU

$399.04



Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays picture

Dell Poweredge R640 Server | 2x Xeon Gold 6132 | 128GB | H730P | 8x HDD Trays

$1849.00



Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS picture

Dell Poweredge R640 Server | 2x Silver 4114 20 Cores | 96GB | 8x 1.8TB Dell SAS

$2749.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$39.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor picture

SR1XP Intel Xeon E5-2680 v3 12 Core 30MB 2.5GHz LGA 2011-3 A Grade Processor

$5.09



Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia picture

Dell Precision T5600/t5610 Xeon E5-2670 2.6Ghz 16GB DDR3 RAM NO HDD Nvidia

$90.00



Rare WaterCooled HP Z800 Workstation Dual Xeon X5680 16GB RAM 120GB SSD Nvidia picture

Rare WaterCooled HP Z800 Workstation Dual Xeon X5680 16GB RAM 120GB SSD Nvidia

$279.56