Vnc ssh upgrade failure caused by

z recently scanned ssh version is too low, yum update can be resolved, rose to 7.4

But to see the Internet that update to version 8.0 above it may solve the problem, then compile and install ssh 8

./configure --with-md5-passwords --with-pam --with-selinux --with-privsep-path=/var/lib/sshd/ --sysconfdir=/etc/ssh
make
make install

init 6

Then dumbfounded, vnc Rom. Ssh Fortunately, version did rise up, to 8.2

So the solution

Reinstall the desktop, reinstall vnc

# yum groups -y remove "GNOME Desktop"
# yum groups -y install "GNOME Desktop"

yum install -y xrdp tigervnc-server
vncserver :1
vim /usr/lib/systemd/system/xrdp.service
-p 3389

stemctl daemon-reload
systemctl restart xrdp


# systemctrl restart xrdp

Or not,

Error: 

(imsettings-check:7384): IMSettings-WARNING **: 14:05:06.355: Could not connect: Connection refused

(imsettings-check:7384): GLib-GIO-CRITICAL **: 14:05:06.355: g_dbus_proxy_call_sync_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed

** (process:7285): WARNING **: 14:05:06.529: Could not make bus activated clients aware of XDG_CURRENT_DESKTOP=GNOME environment variable: Could not connect: Connection refused

 

Search, he said that the issue annaconda path, so to find a meal. Annaconda is installed, but forget which document the path wrote.

Dig the pit, find, delete it. It is already in use miniconda, than annaconda easy to use.

Remote look, and finally went in.

Want to show off with my colleagues about ssh version 8.2. ,,,, look silly version back. Because delete desktop reloading when there replace the 7.4 ....

Continue to toss

Finally, finally came out want:

OpenSSH_8.2p1, OpenSSL 1.0.2k-fips 26 Jan 2017

In memory of.

 

https://www.tecmint.com/install-openssh-server-from-source-in-linux/

https://www.cyberciti.biz/faq/centos-ssh/

 

Guess you like

Origin www.cnblogs.com/tekikesyo/p/12539295.html