No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

eLog V200R007C10 Installation Guide

Describes the installation process of product software. Includes plans, environmental requirements, and procedures for installation, as well as commissioning procedures.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Using the VNC to Remotely Log In to the Server GUI

Using the VNC to Remotely Log In to the Server GUI

To install the eLog by remotely logging in to the server through the VNC, you need to enable the VNC service. If the VNC service is no longer required, disable it in a timely manner. Otherwise, the operating system memory will be severely consumed.

Prerequisites

  • VNC Server is automatically installed in the operating system installed before delivery or installed using the eLog system disk.
  • The PuTTY and VNC Viewer have been installed on the PC or laptop through which you will remotely log in to the server.
  • The root remote connection is disabled during security hardening. To use the SSH client or VNC to remotely log in to the server as the root user, ensure that root remote connection is enabled and adding exceptions on the firewall. For details, see How to Enable or Disable Root Remote Connection and Adding Exceptions on the Firewall. If you use the omm account to log in to the VNC tool, ensure that adding exceptions on the firewall. For details, see Adding Exceptions on the Firewall.

Procedure

  1. Log in to the analyzer server as the root user.
  2. Run the vncserver :X command to enable the VNC service and set the password for the VNC Viewer login. X specifies the port number. In this example, the port number is 1.

    eLogServer:~ # vncserver :1
    
    You will require a password to access your desktops.
    
    Password:
    Verify:
    Would you like to enter a view-only password (y/n)? y
    Password:
    Verify:
    
    New 'eLogServer:1 (root)' desktop is eLogServer:1
    
    Creating default startup script /root/.vnc/xstartup
    Creating default config /root/.vnc/config
    Starting applications specified in /root/.vnc/xstartup
    Log file is /root/.vnc/eLogServer:1.log
    
    NOTE:

    If the port is occupied, delete the old VNC port and reconfigure the port.

    1. Run the vncserver -kill :1 command to delete the old VNC port.
    2. Run the vncserver :1 command to configure the VNC port again.

  3. Open the VNC Viewer on the PC or laptop and enter the IP address and port of the server.

  4. Click Connect and enter the password that you have set in the previous step.

  5. Click OK to remotely log in to the server GUI.

  6. Disable the VNC service.

    1. Run the ps -ef | grep vnc command to check the enabled port. In this example, port 1 is enabled.

      eLogServer:~ # ps -ef | grep vnc
      root       3585      1  0 Jan17 ?        00:00:15 /usr/bin/Xvnc :1 -auth /root/.Xauthority -desktop eLogServer:1 (root) -fp /usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/Speedo,/usr/share/fonts/Type1 -geometry 1024x768 -httpd /usr/share/vnc/classes -pn -rfbauth /root/.vnc/passwd -rfbport 5901 -rfbwait 30000
      root       3605      1  0 Jan17 ?        00:00:00 /usr/bin/vncconfig -nowin
      root     154205 153949  0 09:29 pts/0    00:00:00 grep --color=auto vnc
    2. Run the vncserver -kill :1 command to disable the VNC service.

      eLogServer:~ # vncserver  -kill :1 
      eLogServer:~ # ps -ef | grep vnc
      root     158852 153949  0 09:32 pts/0    00:00:00 grep --color=auto vnc

Follow-Up Procedure

What if I forget the VNC port number or password?

  1. Run the ps -ef | grep vnc command to check the enabled port. In this example, the port number is 3.
    LFG1000311668:~ # ps -ef | grep vnc
    root     115388      1  0 11:20 pts/0    00:00:00 Xvnc :3 -desktop X -httpd /usr/share/vnc/classes -auth /root/.Xauthority -geometry 1676x982 -depth 24 -pixelformat rgb888 -rfbwait 120000 -rfbauth /root/.vnc/passwd -rfbport 5903 -fp /usr/share/fonts/misc:unscaled,/usr/share/fonts/local,/usr/share/fonts/75dpi:unscaled,/usr/share/fonts/100dpi:unscaled,/usr/share/fonts/Type1,/usr/share/fonts/URW,/usr/share/fonts/Speedo,/usr/share/fonts/truetype,/usr/share/fonts/uni,/usr/share/fonts/CID -noreset
    root     119953  96474  0 11:25 pts/2    00:00:00 grep vnc
  2. Run the vncpasswd command to change the VNC password.
    LFG1000311668:~ # vncpasswd
    Using password file /root/.vnc/passwd
    Password: 
    Warning: password truncated to the length of 8.
    Verify:   
    Would you like to enter a view-only password (y/n)? y
    Password: 
    Warning: password truncated to the length of 8.
    Verify:  
  3. Use the enabled port and new password to log in to the VNC again.
Translation
Download
Updated: 2019-04-01

Document ID: EDOC1100073937

Views: 9570

Downloads: 16

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next