unix-like 图形服务组件(ubuntu)
ubuntu18.04 准备回归wayland, 因为手机平板的ubuntu无人使用,开发成本太高。所以弃用Unity8, 重新改用 waylang 的GNOME
sudo systemctl disable gdm
sudo systemctl enable lightdm
Stop gdm with sudo systemctl stop gdm
Start lightdm with sudo systemctl start lightdm
1.Mir Mir is a display server technology.
https://en.wikipedia.org/wiki/Mir_(software)
https://wiki.ubuntu.com/Mir
目前 ubuntu 16.04~17.04 Unity8 默认都是用Mir, milestones ubuntu17.04 Zesty 应该会用上 Mir1.0
可以看到RPC用的是Google的 ProtoBuffer3 (估计是Unix Domain Socket(socket Pair), 共享内存还是太危险)
UNIX Domain Socket是在socket架构上发展起来的用于同一台主机的进程间通讯(IPC),它不需要经过网络协议栈,不需要打包拆包、计算校验和、维护序号和应答等,只是将应用层数据从一个进程拷贝到另一个进程。UNIX Domain Socket有SOCK_DGRAM或SOCK_STREAM两种工作模式,类似于UDP和TCP,但是面向消息的UNIX Domain Socket也是可靠的,消息既不会丢失也不会顺序错乱。
UNIX Domain Socket可用于两个没有亲缘关系的进程,是全双工的,是目前使用最广泛的IPC机制,比如X Window服务器和GUI程序之间就是通过UNIX Domain Socket通讯的。
Mir is a system-level component which supplies display & input services for shells and applications. It's currently shipping in our Ubuntu Touch products and is avialable on desktop as part of our Unity8 preview experience. This document outlines the motivation for the project, describes the high level design, summarizes the scope, and provides the roadmap of the Mir display server.
The purpose of Mir is to enable the development of the Unity8.
See the license section if you have question about Mir's licensing.
when a version 1.0 will be released? Mir is now an almost stable version, and I think, after the 0.26 version should be released the first stable version (1.0) then going to sanction the arrival of Mir and unity8 default on Ubuntu 17.04
2.LXqt LXQt is a lightweight Qt desktop environment.
2013年间,洪任諭PCMan启动了将 LXDE 移植到 Qt 的项目。LXDE-Qt 的首个预览版发布于2013年7月3日。而在2013年7月21日,Razor-qt(一个与LXDE类似的桌面)与 LXDE 宣布合并,产生了 LXQt。这个桌面集合了 Razor-qt 和 LXDE 的组件。尽管 LXDE 目前的精力已经集中到 LXQt,GTK+ 2 的版本依然在维护。
目前还在更新(虽然很少)。 个人不是很看好,轻量级qtUI库,qt 自己也有提供。
参考文档
http://lxqt.org/release/2017/01/14/0.3.2-release-lxqt-build-tools-and-more/
##### 1.安装lxqt
- 1.Download and install a command line Ubuntu installation using either the minimal image or the server image. Installing from Lubuntu is not yet supported. You can get a daily image from here: amd64 i386.
- 2.Boot into the install and log in.
* Run: sudo apt install lubuntu-qt-desktop.
* Select sddm as the default display manager.
- 3.This will fail. Do not worry, it's known. It should fail on plasma-workspace.
- 4.Run sudo apt remove sddm-theme-breeze lubuntu-default-settings lubuntu-extra-sessions && sudo apt autoremove. This will clean up dependencies.
- 5.Reboot!
----------------
注意点:
##### lxqt 如果是嵌入式板子用还好,(当然debian的UI也是可以) ,但是桌面lxqt做的还是差强人意(有bug)!!! 最后我还是换回lightdm
###必须执行下面的操作,去掉plasma-workspace的依赖
```sh
sudo apt remove sddm-theme-breeze
sudo apt remove lubuntu-default-settings
sudo apt remove lubuntu-extra-sessions
sudo apt autoremove
使用lxqt
sudo dpkg-reconfigure ssdm
reboot
修复为原来的UI
- 进入任意tty*终端 ctrl + alt + F3
- 输入 sudo dpkg-reconfigure lightdm
- 修改启动界面
- reboot
其他
sudo dpkg-reconfigure lightdm或者sudo dpkg-reconfigure ssdm,执行后将显示如下界面
http://blog.csdn.net/dliyuedong/article/details/8813513
> 3.(wayland ](http://wayland.freedesktop.org/) Wayland is intended as a simpler replacement for X, easier to develop and maintain. GNOME and KDE are expected to be ported to it.
Wayland is intended as a simpler replacement for X, easier to develop and maintain. GNOME and KDE are expected to be ported to it.
2016年中旬就停止更新了
Wayland is a protocol for a compositor to talk to its clients as well as a C library implementation of that protocol. The compositor can be a standalone display server running on Linux kernel modesetting and evdev input devices, an X application, or a wayland client itself. The clients can be traditional applications, X servers (rootless or fullscreen) or other display servers.
Part of the Wayland project is also the Weston reference implementation of a Wayland compositor. Weston can run as an X client or under Linux KMS and ships with a few demo clients. The Weston compositor is a minimal and fast compositor and is suitable for many embedded and mobile use cases.
https://en.wikipedia.org/wiki/Wayland_(display_server_protocol)
Wayland is a computer protocol that specifies the communication between a display server (called a Wayland compositor[clarification needed]) and its clients, as well as a reference implementation of the protocol in the C programming language.[6]
https://wiki.ubuntu.com/Wayland
#### *** Please note that we are no longer considering Wayland, but instead we will be moving to Mir. ***
unix-like 图形服务组件(ubuntu)的更多相关文章
- iNeuOS工业互联平台,.NETCore开发的视频服务组件iNeuVideo,RTSP转WebSocket
目 录 1. 概述... 2 2. 将来集成到iNeuOS平台演示... 3 3. iNeuVideo结构... 3 4. iNeuVideo部署及 ...
- Tomcat中的服务器组件和 服务组件
开始学习Tocmat时,都是学习如何通过实例化一个连接器 和 容器 来获得一个Servlet容器,并将连接器 和 servlet容器相互关联,但是之前学习的都只有一个连接器可以使用,该连接器服务80 ...
- 升级WebService图形服务,将K10.2和K10.3写到一个类库,所有服务放在一个类库
问题描述: 平时负责电子政务和图形调用部分,凡是牵涉到图形的都需要调用WebService服务,因此很多工程都需要添加web服务引用,现在WebForm的工程一个是10.2版本,一个是10.3版本,区 ...
- 构建简单的 C++ 服务组件,第 1 部分: 服务组件体系结构 C++ API 简介
构建简单的 C++ 服务组件,第 1 部分: 服务组件体系结构 C++ API 简介 熟悉将用于 Apache Tuscany SCA for C++ 的 API.您将通过本文了解该 API 的主要组 ...
- How tomcat works 读书笔记十四 服务器组件和服务组件
之前的项目还是有些问题的,例如 1 只能有一个连接器,只能处理http请求,无法添加另外一个连接器用来处理https. 2 对容器的关闭只能是粗暴的关闭Bootstrap. 服务器组件 org.apa ...
- 实验十四 第九组 张燕~杨蓉庆~杨玲 Swing图形界面组件
实验十四 Swing图形界面组件 8-11-29 理论知识 Swing和MVC设计模式 (1)设计模式(Design pattern)是设计者一种流行的 思考设计问题的方法,是一套被反复使用,多数人 ...
- CentOS7安装OpenStack(Rocky版)-09.安装Cinder存储服务组件(控制节点)
本文分享openstack的Cinder存储服务组件,cinder服务可以提供云磁盘(卷),类似阿里云云盘 ----------------------- 完美的分隔线 -------------- ...
- 开源一款强大的文件服务组件(QJ_FileCenter)(系列一)
系列文章 1. 开源一款强大的文件服务组件(QJ_FileCenter)(系列一) 2. 开源一款强大的文件服务组件(QJ_FileCenter)(系列二 安装说明) 3. 开源一款强大的文件服务组件 ...
- XP 终端服务组件 恢复补丁包 terminal service patch
terminal 终端服务组件恢复包 下载地址(点击) winconnect server xp软件 下载地址(点击)
随机推荐
- 模式识别开发之项目---基于opencv的手势识别
我使用OpenCV2.4.4的windows版本+Qt4.8.3+VS2010的编译器做了一个手势识别的小程序. 本程序主要使到了Opencv的特征训练库和最基本的图像处理的知识,包括肤色检测等等. ...
- Spring mybatis自动扫描dao
Spring注解方式会出现找不到dao的bean的情况 [解决方案] 在mybatis配置文件中加入以下绑定dao的方式: <!-- mapper接口namepspace绑定方式 -->& ...
- python 基础 1.5 python 数据类型(一)--整型 浮点型 布尔型及字符串和常用方法
一.python 数据类型:数值,字符串,列表,元组,字典.以下操作是在linux 下 ipython中进行 1.数值 1>123 与 “123”的区别 答:123为数值,“123”在pyt ...
- 连通性 保证f具有介值性质
- centos设置固定IP方法
首先网络模式设为桥接 [root@centos64 ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0HWADDR=00:0C:2 ...
- 一起来学linux:例行性任务之at和crontab
对于我们日常生活来说,有很多例行需要进行的工作,比如每天早上起床一杯水,例如家人的生日,每天的起床时间等.这性例行的工作有可能被遗忘,但是如果我们用计算机来进行提醒的话,则方便很多.这里就要介绍到Li ...
- 在JDK 6和JDK 7的substring()方法的区别?
原文链接:https://www.programcreek.com/2013/09/the-substring-method-in-jdk-6-and-jdk-7/ 在JDK 6和JDK 7中subs ...
- LeetCode:奇偶链表【328】
LeetCode:奇偶链表[328] 题目描述 给定一个单链表,把所有的奇数节点和偶数节点分别排在一起.请注意,这里的奇数节点和偶数节点指的是节点编号的奇偶性,而不是节点的值的奇偶性. 请尝试使用原地 ...
- dojo 官方翻译 dojo/string 版本1.10
官方地址:http://dojotoolkit.org/reference-guide/1.10/dojo/string.html#dojo-string require(["dojo/st ...
- 初学OpenMP
这两天在看多核计算的书,就要用到openmp,因为我使用vs2015,从微软可以看到是支持openmp2.0版本的 具体使用: 在vs里创造一个控制台项目,然后打开属性管理器,在属性管理器里找到配置属 ...