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软件 下载地址(点击)
随机推荐
- 基于Apache POI 向xlsx写入数据
[0]写在前面 0.1) these codes are from 基于Apache POI 的向xlsx写入数据 0.2) this idea is from http://cwind.iteye. ...
- asm 与 cglib(整理的)
参考博客地址 http://www.oseye.net/user/kevin/blog/304#top http://www.blogjava.net/vanadies10/archive/2011/ ...
- LeetCode -- Flatten 二叉树
这个题目主要考察二叉树的先序遍历. 1. 先序遍历2. 节点用队列存储3. 遍历队列,建立链表 实现: public class Solution { public void Flatten(Tree ...
- UITableView使用指南
本文转载至 http://blog.csdn.net/yu0089/article/details/8227402 一.概述 UITableView是iOS开发比不可少也是最重要的一个控件类.可以说任 ...
- 操作符表示指针指向的底层值 切片 nill 清空 按值引用赋值 获取地址赋值
package main import "fmt" var thisVisitedUrls [] string func tf() { p := &thisVisitedU ...
- varnish代理缓存服务器的安装与使用
1. 下载解压 cd /usr/local/src/ wget https://codeload.github.com/varnishcache/varnish-cache/zip/master ch ...
- 对A轮的追逐变得越加狂热,当前距离互联网泡沫到底有多近?
编者注:本文来自TOMASZ TUNGUZ,中文版由天地会珠海分舵进行编译. 依据NVCA披露的最新数据,在2015年第二季度.VC总共进行了167亿美元的投资,大约是2000年互联网泡沫时候同期的6 ...
- 【linux】在linux挂在windows共享目录
mount -t cifs -o username=用户名,password='密码',vers=2.0 //windows共享目录 /linux挂载目录
- Android LinearLayout线性布局
LinearLayout是线性布局控件:要么横向排布,要么竖向排布 决定性属性:必须有的! android:orientation:vertical (垂直方向) .horizontal(水平方向) ...
- 《锋利的jQuery》打造个性网站整合
搜索框文字效果 网页换肤 导航效果 广告效果 添加超链接提示 产品横向滚动效果 光标滑动列表效果 产品详细页面效果(放大镜,遮罩,选项卡,评分等) 1.搜索框文字效果 <!DOCTYPE htm ...