loaden / nspawn-qq Goto Github PK
View Code? Open in Web Editor NEW利用systemd-nspawn容器跑Deepin 20.5或者Debian 11,安装deepinwine,稳定运行QQ、微信、深度商店等应用。低内存,高性能,沙盒机制不污染宿主机,支持多用户,可在所有systemd作为init的Linux发行版上运行。
License: GNU General Public License v3.0
利用systemd-nspawn容器跑Deepin 20.5或者Debian 11,安装deepinwine,稳定运行QQ、微信、深度商店等应用。低内存,高性能,沙盒机制不污染宿主机,支持多用户,可在所有systemd作为init的Linux发行版上运行。
License: GNU General Public License v3.0
现在容器里面的清华源其实速度并不快了(很多时候会断连)
可以切换到他们的另外一个站点(北外镜像源):https://mirrors.bfsu.edu.cn/debian/
最近CB在搞LSP,见:
Code completion using LSP and clangd — https://forums.codeblocks.org/index.php/topic,24357.0.html
it works well, but when I run deepin-terminal it sees:
Connected to machine deepin. Press ^] three times within 1s to exit session.
Connection to machine deepin terminated.
Failed to bind mount: Failed to mount: No such file or directory
error: machinectl bind --read-only --mkdir deepin /run/user/1000/pulse
Failed to bind mount: Failed to mount: No such file or directory
Failed to bind mount: Failed to mount: No such file or directory
Failed to bind mount: Failed to mount: No such file or directory
error: machinectl bind --mkdir deepin /home/shey/Documents /home/u1000/Documents
Failed to bind mount: Failed to mount: No such file or directory
Failed to bind mount: Failed to mount: No such file or directory
Failed to bind mount: Failed to mount: No such file or directory
Failed to bind mount: Failed to mount: No such file or directory
Failed to bind mount: Failed to mount: No such file or directory
Failed to bind mount: Failed to mount: No such file or directory
Failed to bind mount: Failed to mount: No such file or directory
Failed to bind mount: Failed to mount: No such file or directory
Failed to bind mount: Failed to resolve source path: No such file or directory
Failed to bind mount: Failed to mount: No such file or directory
Failed to bind mount: Failed to mount: No such file or directory
error: machinectl bind --read-only --mkdir deepin /home/shey/.Xauthority /home/u1000/.Xauthority
non-network local connections being added to access control list
Connected to machine deepin. Press ^] three times within 1s to exit session.
** (lxterminal:391): WARNING **: 16:48:08.806: Bind on socket failed: permission denied
those don't affect the program i run itself, but the program can't read and write the host system's file.
Any way, thank you for providing nspawn-deepinwine project. such a good project that I love it when I got it
使用deepin-qq-base安装qq之后,运行deepin-config-qq报错显示:
error: machinectl bind --mkdir deepin /home/hh/ /home/u1000/
执行完sudo ./nas...deepin.sh 的脚本后 安装软件 执行 报错如下。提示没有用户,找不到文件夹。
HOST_HOME=/home/hyj
HOST_USER=hyj
USER_UID=1000
Connected to machine deepin. Press ^] three times within 1s to exit session.
'/home/hyj' -> '/home/u1000'
Connection to machine deepin terminated.
**Failed to bind mount: Failed to mount: No such file or directory**
error: machinectl bind --read-only deepin /run/user/1000/gdm/Xauthority /home/u1000/.Xauthority
non-network local connections being added to access control list
Connected to machine deepin. Press ^] three times within 1s to exit session.
su: user u1000 does not exist
Connection to machine deepin terminated.
系统是Ubuntu20.04
容器安装的是deepin
目前已经尝试过升级deepin 系统 , 按照readme 的命令update updrade都尝试了 还是不行。
除此之外,尝试了高级功能, 登入用户---无法登入u1000 用户。
以上.............
1 . 另外想问问应该怎么做此次安装删除干净--我目前已经删除了软件。
OS: Archlinux
DM: Gnome 41.5
Windows System: Wayland
warning: debootstrap-1.0.126-1 is up to date -- skipping
there is nothing to do
ln: failed to create symbolic link '/var/lib/machines/deepin': Operation not permitted
'/usr/share/debootstrap/scripts/apricot' -> '/usr/share/debootstrap/scripts/stable'
mkdir: cannot create directory '/var/lib/machines/deepin': Operation not permitted
mknod: /var/lib/machines/deepin/test-dev-null: No such file or directory
E: Cannot install into target '/var/lib/machines/deepin' mounted with noexec or nodev
容器 deepin 已存在或者创建失败!请将运行日志反馈给我,谢谢。
发行版: arch linux - Kde
容器qq版本 3.7.1
状况描述:
在qq中一切关于网络图片下载的地方都不正常
ubuntu 22.04下运行nspawn-deepin.sh报错
I: Configuring libpam-runtime...
I: Configuring login...
I: Configuring util-linux...
I: Configuring mount...
I: Configuring sysvinit-utils...
I: Configuring libc-bin...
I: Unpacking the base system...
W: Failure trying to run: chroot "/var/lib/machines/deepin" dpkg --force-overwrite --force-confold --skip-same-version --install
W: See /var/lib/machines/deepin/debootstrap/debootstrap.log for details
容器 deepin 已存在或者创建失败!请将运行日志反馈给我,谢谢。
./install.sh
deepin-update
和deepin-upgrade
deepin-install-wemeet
deepin-wemeet
, 无法启动./configure && make && make install
, 现容器内systemd 252 (252)deepin-wemeet
, 仍无法启动两次无法启动的日志如下:
$ deepin-wemeet
SHELL_OPTIONS=--uid=1000 --setenv=HOST_USER=xxxx --setenv=HOST_HOME=/home/xxxx
HOST_HOME=/home/xxxx
HOST_USER=xxxx
USER_UID=1000
Connected to machine deepin. Press ^] three times within 1s to exit session.
'/home/xxxx' -> '/home/u1000'
Connection to machine deepin terminated.
/dev/video3
/dev/video2
/dev/video1
/dev/video0
Connected to machine deepin. Press ^] three times within 1s to exit session.
SHELL=/bin/bash
_MITSHM=0
GTK_IM_MODULE=fcitx
QT4_IM_MODULE=fcitx
INPUT_METHOD=fcitx
XMODIFIERS=@im=fcitx
PWD=/home/u1000
LOGNAME=u1000
XDG_SESSION_TYPE=tty
LD_PRELOAD=disable-MIT-SHM.so
HOME=/home/u1000
LANG=en_US.UTF-8
SDL_IM_MODULE=fcitx
XDG_SESSION_CLASS=user
TERM=xterm-256color
USER=u1000
DISPLAY=:1
SHLVL=1
QT_IM_MODULE=fcitx
XDG_SESSION_ID=c2
XDG_RUNTIME_DIR=/run/user/1000
LC_ALL=zh_CN.UTF-8
_X11_NO_MITSHM=1
BROWSER=thunar
PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/sbin:/usr/sbin
MAIL=/var/mail/u1000
PULSE_SERVER=unix:/run/user/1000/pulse/native
QT_X11_NO_MITSHM=1
_=/usr/bin/env
Authorization required, but no authorization protocol specified
xrdb: Resource temporarily unavailable
xrdb: Can't open display ':1'
File does not exist: /opt/apps/com.qq.wemeet/entries/applications/com.qq.wemeet.desktop
Connection to machine deepin terminated.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.