Linux automation

Linux automation

Home Forums Ask Expert Linux automation

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #32597
    Sergey ZAP
    Keymaster

      Hello Mohammed!
      ZAPTEST uses VNC protocol to connect to a remote Linux machine.
      This video guides through VNC server installation process:
      https://www.zaptest.com/user-zone/product-training/zaptest/remote-control/unix/unix-linux-configuration

      After that use the ZAP Viewer to connect to your Linux box:
      https://www.zaptest.com/user-zone/product-training/zaptest/remote-control/unix/connecting-with-zap-fix-unix-viewer

      After connecting run your Linux application, use ZAPTEST to scan the ZAP Viewer, and build your test script.

      #32599
      Mohammed Ghouse
      Participant

        Hi Sergey,

        Thanks for your immediate response. We have followed the instruction and completed installation, but after connecting to Linux machine through zap-view from windows machine empty screen is coming. PFA taken in windows 10 machine.

        Regards,
        Mohammed Ghouse

        Attachments:
        #32600
        Sergey ZAP
        Keymaster

          Your Linux likely has few displays, and the VNC server started on a wrong one.
          Check the below commands. Hope this helps.

          ps -ef|grep vnc “to see vnc related processes”
          vncserver -kill :1 “to kill vnc server on display #1”
          vncserver :2 “to start vnc server on display #2”

          #32602
          Mohammed Ghouse
          Participant

            Tried these commands. Only VNC server 2 is running in Linux machine now, but the same blank screen is coming in zap-viewer. please do the needful.

            #32606
            Sergey ZAP
            Keymaster

              Please try to use different vnc server – x11vnc.
              This server allows remote access to an existing X session.
              Here are the X11VNC instructions:
              1. Install x11vnc package:
              sudo apt-get install x11vnc
              2. Start VNC Server (in terminal):
              x11vnc -passwd pass
              3. Connect using “ZAP Viewer”

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.

            Virtual Expert

            ZAPTEST

            ZAPTEST Logo