The first two posts describe the graphical configuration of CentOS and Ubuntu, and in this article we are looking at the graphical configuration of SuSE. The SuSE version used in this article is SuSE SP2. Configuring graphical operations in SuSE requires you to log in as root, so it is a good idea to set the root password and switch to root, so that subsequent operations will be easier.
Use the sudo passwd root command to set the root password and then use the SU-command to switch to root
The next step is a graphical operation.
1, installation Gnome-session
Perform zypper install gnome-session command installation gnome-session as
GNOME Installation Complete
2, Installation Gnome-basic
Execute the zypper install-t pattern gnome-basic command to install Gnome-basic, as
Continue prompt to enter Y to continue
Gnome-basic Installation Complete
3. Download and install XRDP
Performing zypper in http://download.opensuse.org/repositories/X11:/RemoteDesktop/SLE_12_SP2/x86_64/xrdp-0.9.5-34.1.x86_ 64.rpm command to download the RPM package. Note: When I install the RPM package provided by openSUSE Download Center is xrdp-0.9.5-34.1.x86_64.rpm, this version will be updated, So you do not have to be 0.9.5-34.1, if you execute the command error, you may have updated the version, please go to download.opensuse.org to see the current file name, and modify the command Zypper in the following file path.
4, installation Tigervnc Xorg-x11-xvnc xterm
Execute zypper in tigervnc xorg-x11-xvnc xterm command install Tigervnc xorg-x11-xvnc xterm as
5. Open XRDP
Use the command systemctl start XRDP to turn on XRDP
Start xrdp with Systemctl enable XRDP
6. Setting the VNC login password and service configuration
Setting up a VNC password
Execute vncpasswd Set Password Password: Enter password, verify: Enter password again
Service configuration
Perform vncserver:1-geometry 1024x768-depth 24 command set to display number ' 1 ', screen resolution 1024x768, color depth 24
7. Set Port Mappings
Finally, you need to map port 5901 in Azure virtual machine, allow inbound, and use RDP to connect to SuSE in Azure as normal
The graphical configuration of SuSE is now complete. The VNC Viewer is installed on the client computer, and the VNC server and name can be completed remotely.
Encryption prompt, click Continue
Enter the VNC password set in step 6
Successfully connected to SuSE
Azure Linux Virtual Machine image configuration three: SuSE configuration