IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> 系统运维 -> Ubuntu install vncserver -> 正文阅读

[系统运维]Ubuntu install vncserver

Ubuntu 20自带的vnc server

Ubuntu 20.04已内置了默认的VNC服务vino, 如果只是简单使用,那么不需要安装其他类型的VNC Server.

进入 设置-共享-屏幕共享-打开,然后,后台才会运行vino.

disable 加密:

gsettings set org.gnome.Vino require-encryption false

缺点:

遇到一个现象,远程机器不接显示器或者关闭显示器后,本地只能看到远端机器的桌面,不能控制。自己安装tigervnc可以解决。

Ubuntu 20.04 VNC服务开启-远程桌面设置_健忘的老菜鸟的博客-CSDN博客_ubuntu 开启vnc服务

?

Install tigervnc

https://tecadmin.net/install-vnc-server-on-ubuntu-20-04/#:~:text=1%20How%20To%20Install%20and%20Configure%20VNC%20Server,%E2%80%93%20Create%20a%20Systemd%20Service%20File%20for%20VNC.

-- 从step2开始即可;

Others:

GDM, KDM, LightDM, SDDM的区别和安装配置_JASON凯伊-菜鸟一枚的博客-CSDN博客_gdm3 lightdm sddm哪个好


Display issues when connecting to VNC Server running on Linux

From:
https://help.realvnc.com/hc/en-us/articles/360005081572-Display-issues-when-connecting-to-VNC-Server-running-on-Linux

In some circumstances, your Linux remote computer will not display correctly in VNC Viewer. The commonly reported issues are:

  • a black or blank screen
  • application windows are white
  • slow refresh of images

The issue is most commonly seen when connecting to a computer with no monitors attached (headless), or a monitor using HDMI/DisplayPort is connected but powered off.

It appears that in the above situations, Linux does not correctly report graphical updates to be captured by VNC Server. At this time, there are some known workarounds you can try below:

  1. Upgrade VNC Server to version 6.5.0, as this version contains some changes to try and automatically recover from a blank screen
  2. If you are running VNC Server on Ubuntu 18.04 LTS or later, or CentOS/RHEL 8 or later, you need to?disable Wayland
  3. Change your Power settings on the Linux computer to never turn off the monitors/displays
  4. Check that Linux is not set to a "Battery Saver" power mode
  5. Connect an EDID emulator to the VNC Server computer. An example EDID emulator can be seen?here
    Note:?RealVNC have not tested this particular emulator and it is only provided as an example
  6. Change the VNC Server?CaptureMethod?parameter:
    • On the remote Linux computer, open the?VNC Server?dialog.
    • Select?Options?from the hamburger menu.
    • On the?Expert?tab, filter the list for?CaptureMethod, and set?the value to?1
    • Restart VNC Server

      This can also be specified using a configuration file:?/root/.vnc/config.d/vncserver-x11
  7. Install the X11 dummy driver, by running:
    • Ubuntu
      sudo apt update
      sudo apt install xserver-xorg-video-dummy
      sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak # this file may not exist so if there is an error, it can be ignored
      sudo cp /etc/X11/vncserver-virtual-dummy.conf /etc/X11/xorg.conf
    • RHEL / CentOS
      sudo yum install xorg-x11-drv-dummy
      sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.bak # this file may not exist so if there is an error, it can be ignored
      sudo cp /etc/X11/vncserver-virtual-dummy.conf /etc/X11/xorg.conf
    • Reboot the machine, and you should now be able to connect as expected.
    • Note:?Following these steps will result in any connected monitors displaying a blank screen. If you need to use a monitor, run?sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.dummy?and reboot
    • Note 2:?This method is using the X11 dummy driver, so some graphical features may not be available. If you want your own driver to work, you will have to research what changes are needed and make your own xorg.conf

  系统运维 最新文章
配置小型公司网络WLAN基本业务(AC通过三层
如何在交付运维过程中建立风险底线意识,提
快速传输大文件,怎么通过网络传大文件给对
从游戏服务端角度分析移动同步(状态同步)
MySQL使用MyCat实现分库分表
如何用DWDM射频光纤技术实现200公里外的站点
国内顺畅下载k8s.gcr.io的镜像
自动化测试appium
ctfshow ssrf
Linux操作系统学习之实用指令(Centos7/8均
上一篇文章      下一篇文章      查看所有文章
加:2022-06-29 19:27:13  更:2022-06-29 19:28:18 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年4日历 -2024/4/16 19:02:15-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码