Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: X Windows display from Unix  (Read 3525 times)

0 Members and 1 Guest are viewing this topic.

vibhor_agarwalin

    Topic Starter


    Adviser

    X Windows display from Unix
    « on: June 05, 2013, 01:22:19 AM »
    Hello Folks,

    Have X-Win 32 installed on my desktop.

    With Windows XP, following commands on unix system work like charm.
    export DISPLAY=<desktop ip>:0.0
    xterm (opens an xterm session).

    But they don't work on Windows 7 desktop.
    Setting the display & triggering xterm doesn't work. It error's out saying:
    Error: Can't open display: <desktop id>:0.0

    Is there anything specific that needs to be done for Windows 7.
    Advice please.
    Vibhor Kumar Agarwal

    BC_Programmer


      Mastermind
    • Typing is no substitute for thinking.
    • Thanked: 1140
      • Yes
      • Yes
      • BC-Programming.com
    • Certifications: List
    • Computer: Specs
    • Experience: Beginner
    • OS: Windows 11
    Re: X Windows display from Unix
    « Reply #1 on: June 05, 2013, 01:26:37 AM »
    From the X-Win32 wiki:
    Quote
    That usually means either you haven't started X-Win 32 or you are trying to open a Teer machine and did not check the Enable X-11 forwarding box in PuTTY
    I was trying to dereference Null Pointers before it was cool.

    vibhor_agarwalin

      Topic Starter


      Adviser

      Re: X Windows display from Unix
      « Reply #2 on: June 05, 2013, 01:35:13 AM »
      X-Win 32 is installed.

      Don't much insights into the second half.
      <you are trying to open a Teer machine and did not check the Enable X-11 forwarding box in PuTTY>

      While i google it, please let me know if you are aware what above requires.
      Vibhor Kumar Agarwal

      vibhor_agarwalin

        Topic Starter


        Adviser

        Re: X Windows display from Unix
        « Reply #3 on: June 05, 2013, 03:14:17 AM »
        Gotcha
        I need to enable X11 forwarding in Putty.
        Mine was old & didn't support that.
        Got a new one & things started working good.

        Query:
        Thoughts on why this X11 forwarding is required with Windows 7 & not earlier in XP?
        Vibhor Kumar Agarwal

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: X Windows display from Unix
        « Reply #4 on: June 06, 2013, 12:13:11 AM »
        Thoughts on why this X11 forwarding is required with Windows 7 & not earlier in XP?
        My only guess might be related to changes starting in Vista that made the Windows desktop composited, rather than a single 2-D bitmap.
        I was trying to dereference Null Pointers before it was cool.

        vibhor_agarwalin

          Topic Starter


          Adviser

          Re: X Windows display from Unix
          « Reply #5 on: June 06, 2013, 12:44:56 AM »
          Thanks
          Let's see if anyone else has something more concrete.
          Vibhor Kumar Agarwal