Linux on Xhost set __linux

Source: Internet
Author: User
Install Orale on Linux, the result xhost is always not good, the graphical interface does not come out, find the following data

Practical tip: Set up Xhost method steps in Linux

The first step: using Root to log Linux, start VNC service;

Step two: Based on the VNC port, set up export display=localhost:1 (1 means VNC on the first TTY), VNC launch information see annex 1;

Step Three: Execute Xhost + and prompt "Access control disabled, clients can connect to any host" is correct.

The operation log under Linux is as follows:

[Root@localhost ~]# Vncserver

New ' localhost:1 (root) ' Desktop is localhost:1

Starting applications specified In/root/.vnc/xstartuplog file Is/root/.vnc/localhost:1.log

[Root@localhost ~]# Export display=localhost:1

[Root@localhost ~]# Xhost +

Access control disabled, clients can connect to any host

When setting up Xhost, there is a unable problem. Use the appeal method to get it done.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.