2 Replies Latest reply: Aug 12, 2013 12:45 AM by Billy~Verreynne RSS

    xhost +  and trying to run graphical app

    Franklin Montes

      xhost +  and trying to run graphical app

       

      I have an oracle linux basic server updated.

       

      I need to test and installation with an GUI but I cannot do it. I found a lot of information so I did this:

       

      connect with putty on an ssh to my server oracle linux with it´s ip address 192.168.100.62

      I did the connection with my desktop with it´s ip addresss 192.168.100.34

      When connecting I did with oracle user and I export DISPLAY as

       

      export DISPLAY=192.168.100.34:0.0

      then

      xhost + 192.168.100.34 but show me xhost:  unable to open display ""

      and of course did not let me run for example xclock Error: Can't open display:

       

      I am a basic linux user but I like to learn, but I need how to configure my server oracle linux to run some GUI apps or installation

       

      Thanks

        • 1. Re: xhost +  and trying to run graphical app
          EdStevens

          948268 wrote:

           

          xhost +  and trying to run graphical app

           

          I have an oracle linux basic server updated.

           

          I need to test and installation with an GUI but I cannot do it. I found a lot of information so I did this:

           

          connect with putty on an ssh to my server oracle linux with it´s ip address 192.168.100.62

          I did the connection with my desktop with it´s ip addresss 192.168.100.34

          When connecting I did with oracle user and I export DISPLAY as

           

          export DISPLAY=192.168.100.34:0.0

          then

          xhost + 192.168.100.34 but show me xhost:  unable to open display ""

          and of course did not let me run for example xclock Error: Can't open display:

           

          I am a basic linux user but I like to learn, but I need how to configure my server oracle linux to run some GUI apps or installation

           

          Thanks

          You need to have an x-server running on your desktop, in order to receive the redirected GUI output.  I use xming.  Like putty, it is free and lightweight.

          Also, you don't need to fool with DISPLAY or xhost.  Just configure you putty session to allow x-11 port forwarding.

          • 2. Re: xhost +  and trying to run graphical app
            Billy~Verreynne

            948268 wrote:

            I need to test and installation with an GUI but I cannot do it.

             

            Use VNC.

             

            Install VNC server, a X Display Manager and xterm on server:

             

            yum install tigervnc.x86_64 xorg-x11-twm.x86_64 xterm.x86_64

             

            As the o/s user (e.g. grid or oracle) to run the GUI install as, run vncserver. Specify a password for accessing the desktop.

             

            Now from your client PC, use vncviewer (free download from http://www.tightvnc.com/download.php) and connect to GUI desktop on the server.

             

            That easy...