Giter VIP home page Giter VIP logo

loaden / nspawn-qq Goto Github PK

View Code? Open in Web Editor NEW
115.0 115.0 13.0 234 KB

利用systemd-nspawn容器跑Deepin 20.5或者Debian 11,安装deepinwine,稳定运行QQ、微信、深度商店等应用。低内存,高性能,沙盒机制不污染宿主机,支持多用户,可在所有systemd作为init的Linux发行版上运行。

License: GNU General Public License v3.0

Shell 97.15% C 2.85%

nspawn-qq's People

Contributors

shey-kail avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nspawn-qq's Issues

Failed to bind mount: Failed to mount: No such file or directory

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

运行软件都失败

执行完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 . 另外想问问应该怎么做此次安装删除干净--我目前已经删除了软件。

ln 失败

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 已存在或者创建失败!请将运行日志反馈给我,谢谢。

deepin-qq 图片异常

deepin-qq 图片异常


发行版: arch linux - Kde
容器qq版本 3.7.1

状况描述:
在qq中一切关于网络图片下载的地方都不正常

  1. 聊天图片(图片和表情都加载不出来, 一直处于加载中的状态)
  2. qq头像以及群头像也加载不出来 而是qq自带的随机头像

ubuntu 22.04 运行nspawn-deepin.sh报错

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 已存在或者创建失败!请将运行日志反馈给我,谢谢。

安装什么都不成功

这是我安装debian后安装qq的运行结果:
Screenshot_20211229_125616
这些是我执行脚本的运行结果:
Screenshot_20211231_182246
Screenshot_20211231_182045
这是我测试machinectl的运行结果:
Screenshot_20211231_134328
这是安装脚本中发现的异常:
Screenshot_20211231_133431
image
这是我根据提示尝试解决未果:
Screenshot_20211231_134111

无法启动应用:File does not exist

环境

  • OS: Arch Linux x86_64
  • Kernel: 6.1.7-arch1-1

软件版本

  • 最新release v3.7.1
  • 宿主机systemd 252 (252.4-2-arch)

重现步骤

  1. 下载deepin-qq-base.tar并解压
  2. 安装容器, 执行./install.sh
  3. 更新容器, 执行deepin-updatedeepin-upgrade
  4. 安装软件, 执行deepin-install-wemeet
  5. 启动软件, 执行deepin-wemeet, 无法启动
  6. 尝试更新容器内systemd, 下载源码并./configure && make && make install, 现容器内systemd 252 (252)
  7. 再次尝试启动软件, 执行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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.