Install the VNC server and client in Linux, enable the VNC server, and provide a remote desktop shar

Updated on technology 2024-05-03
2 answers
  1. Anonymous users2024-02-08

    Take CentOS 7 as an example.

    Install the VNC service.

    yum install tigervnc-server, modify the configuration file, and add the service.

    usr lib systemd system) vim usr lib systemd system to start the service. systemctl start vncserver client installation.

    yum install tigervnc

  2. Anonymous users2024-02-07

    1 Installing the GUI:

    1) Install Login: $sudo apt-get install gdm

    2) Install the desktop environment, install only the most basic components: $sudo apt-get install gnome-core (after installation, you can use the startx command to start the ** interface).

    3) Install the GUI (automatically install the application): $sudo apt-get install ubuntu-desktop (reboot the system after the installation is completed).

    2 Install the vnc server (vnc server) under ubuntu

    sudo apt-get install vnc4server

    3 Start the VNC service: $vncserver:1 (the number 1 indicates the desktop number).

    To achieve how many simultaneous connections to Ubuntu Server are used, use the following command: $vncserver -geometry 1280 800 -alwaysshared :1 (-geometry 1280 800 is the resolution, -alwaysshared means running multiple people connected to the same desktop at the same time).

    Stop the VNC service: $vncserver -kill: 1

    4 Set Allow Login in Ubuntuc Server GUI:

    System - Preferences - Remote Desktop, set as follows:

    Set the password, and the Windows client should be able to connect to Ubuntu Server remotely through VNC Viewer!

Related questions
14 answers2024-05-03

Occupy a place, go back to you at night, what I do is a small program for socket communication in C language, I first created a daemon, my daemon, and the task I do is the work of the relay program you said, the client of communication, first send the message to the daemon, and then the daemon ** to another client. >>>More

6 answers2024-05-03

Installation requirements. The server security dog software is installed on the user's server to protect the user's server from DDOS, ARP and other attacks. >>>More

2 answers2024-05-03

"Linux Server Construction Practice" first provides an overview of the Linux operating system, and explains the relevant knowledge of installing Red Hat Enterprise Linux 5 and the Gnome and KDE desktop managers in Red Hat Enterprise Linux 5. Then, the configuration management methods and related applications of various common services in the Linux operating system are introduced, including FTP service, e-mail service, Web service, DHCP service, DNS service, ** service, Samba service, NFS service, LDAP directory service, SSH service and MySQL database service. At the same time, "Detailed Practical Explanation of Linux Server Construction" also adds common network management knowledge and basic system management knowledge, including network connectivity testing of Linux operating system, network management, software foundation management, advanced management of software packages, user and process management, Linux file system and disk management, and Linux operating system security management.

6 answers2024-05-03

Don't talk too much to him about what he doesn't understand!

13 answers2024-05-03

I haven't encountered this before, so I can't help it, but I can discuss it together if I encounter a Linux problem in the future.