Results 1 to 4 of 4

Thread: Howto xhost or equivalent tool?

  1. #1
    Just burned his ISO
    Join Date
    Jan 2009
    Posts
    4

    Default Howto xhost or equivalent tool?

    Hi there ...

    First sorry for my english, isnt my first spoken language, so sometimes, i use the false words - plz forgive me ..

    It's not first time that i use backtrack, but its my first time, that i have replace my normal linux desktop with backtrack3 and i have no problems with it, only one that i can not solve self..

    In my old distro (openSUSE) i was able to open a exported display from my server to my desktop. But under Backtrack the command "xhost" does not exist - so i was not able to allow the connection.

    I know that this isnt a secure environment but can someone explain me, how i can this get to work?

    Thanks and for further information, please contact ...

    Cheers
    truthCH

  2. #2
    Moderator KMDave's Avatar
    Join Date
    Jan 2010
    Posts
    2,281

    Default

    Try using ssh with X forwarding.

    ssh -X <host>
    Tiocfaidh ár lá

  3. #3
    Just burned his ISO
    Join Date
    Jan 2009
    Posts
    4

    Default

    Hi Dave...

    Thanks for your help ..

    That's normal, i have use the X11 forwarding (ssh -X) but i cant set with xhost on backtrack that the server is allowed to send the Display. Xhost isnt available on Backtrack

    Cheers
    truthCH

    P.S
    This is what my server say's when i connect with ssh -X

    X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
    Major opcode of failed request: 55 (X_CreateGC)
    Resource id in failed request: 0x2800000
    Serial number of failed request: 1
    Current serial number in output stream: 4

    Every other distro works, because there's the tool xhost to allow it ...

  4. #4
    Just burned his ISO
    Join Date
    Jan 2009
    Posts
    4

    Default Solved...

    Hi there ...

    I have solved the problem. Download the xhost source package, compile it and then i can set the xhost that's allowed to send display to my backtrack.

    But this was not alone the solution. Must also edit xserverrc, so that the X Server starts not with -nolisten tcp.

    Thanks anyway for helping me....

    Cheers
    truthCH

    P.S Thread can be closed

Posting Permissions

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