Giter VIP home page Giter VIP logo

docker-qq's Introduction

Docker Image Image Layers and Size

本镜像基于深度操作系统

提供一种在linux下运行QQ的方式

Supported tags

准备工作

允许所有用户访问X11服务,运行命令:

    xhost +

查看系统组ID

为了使用声音和对应的视频设备,需要具有系统特定组的权限,因此需要获得对应的组ID。

获取 audio 组 ID

$ getent group audio | cut -d: -f3
63

这里取得的 63 就是 audio 组的组 ID,替换下面命令中对应的ID。

获取 video 组 ID

$ getent group video | cut -d: -f3
44

更新

进入docker容器:docker exec -it qq bash 运行以下命令更新深度软件包:

apt-get update


# 更新企业版
# apt-get install -y deepin.com.qq.b.eim 
# 更新QQ
apt-get install -y deepin.com.qq.im
# 更新轻聊版
# apt-get install -y deepin.com.qq.im.light 
# 更新TIM
# apt-get install -y deepin.com.qq.office

运行QQ

docker-compose

建立 docker-compose.yml 文件,内容如下:

version: '2'
services:
  qq:
    image: bestwu/qq:office
    container_name: qq
    ipc: host
    devices:
      - /dev/snd #声音
    volumes:
      - /tmp/.X11-unix:/tmp/.X11-unix
      - /home/peter/TencentFiles:/TencentFiles #使用自己的用户路径
    environment:
      - DISPLAY=unix$DISPLAY
      - XMODIFIERS=@im=fcitx #中文输入
      - QT_IM_MODULE=fcitx
      - GTK_IM_MODULE=fcitx
      - AUDIO_GID=63 # 可选 默认63(fedora) 主机audio gid 解决声音设备访问权限问题
      - GID=$GID # 可选 默认1000 主机当前用户 gid 解决挂载目录访问权限问题
      - UID=$UID # 可选 默认1000 主机当前用户 uid 解决挂载目录访问权限问题

然后在命令行运行:

docker-compose up -d

docker run

也可以使用 docker run 命令直接在命令行执行:

  docker run -d --name qq \
    --device /dev/snd --ipc="host"\
    -v $HOME/TencentFiles:/TencentFiles \
	-v /tmp/.X11-unix:/tmp/.X11-unix \
    -e XMODIFIERS=@im=fcitx \
    -e QT_IM_MODULE=fcitx \
    -e GTK_IM_MODULE=fcitx \
    -e DISPLAY=unix$DISPLAY \
    -e AUDIO_GID=`getent group audio | cut -d: -f3` \
    -e VIDEO_GID=`getent group video | cut -d: -f3` \
    -e GID=`id -g` \
    -e UID=`id -u` \
    bestwu/qq:office

可以写入一个脚本来方便以后调用。

维护

停止容器

docker stop qq

删除容器

docker rm qq

如果容器没有退出需要强行删除,可以加 -f 参数

docker rm -f qq

已知问题

  • 界面未显示异常

如果界面未显示,运行:

docker logs qq

如果出现如下错误:

X Error of failed request: BadAccess (attempt access private resource ***)
 Major opcode of failed request:130(MIT-SHM)

这是因为本地的linux中默认开启了“MIT-SHM”共享X进程内存的功能,禁用该共享功能即可。

具体操作:

vi /etc/X11/xorg.conf

增加:

 Section "Extensions"
     Option "MIT-SHM" "Disable"
 EndSection

重启系统

  • 无声音

请尝试以下配置

version: '2'
services:
  qq:
    image: bestwu/qq:office
    container_name: qq
    volumes:
      - /tmp/.X11-unix:/tmp/.X11-unix
      - /run/user/1000/pulse/native:/run/user/1000/pulse/native
      - /home/peter/TencentFiles:/TencentFiles
    environment:
      - DISPLAY=unix$DISPLAY
      - PULSE_SERVER=unix:/run/user/1000/pulse/native
      - XDG_RUNTIME_DIR=/run/user/1000
      - QT_IM_MODULE=fcitx
      - XMODIFIERS=@im=fcitx
      - GTK_IM_MODULE=fcitx
      - AUDIO_GID=63 # 可选 默认63(fedora) 主机audio gid 解决声音设备访问权限问题
      - GID=$GID # 可选 默认1000 主机当前用户 gid 解决挂载目录访问权限问题
      - UID=$UID # 可选 默认1000 主机当前用户 uid 解决挂载目录访问权限问题
  docker run -d --name qq \
    -v ${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native \
    -v $HOME/TencentFiles:/TencentFiles \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e XMODIFIERS=@im=fcitx \
    -e QT_IM_MODULE=fcitx \
    -e GTK_IM_MODULE=fcitx \
    -e PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native \
    -e XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR} \
    -e DISPLAY=unix$DISPLAY \
    -e GID=`id -g` \
    -e UID=`id -u` \
    bestwu/qq:office
  • 非gnome桌面无法显示界面
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Resource id in failed request:  0x0
  Serial number of failed request:  10
  Current serial number in output stream:  10

解决方法:安装gnome-settings-daemon,然后运行/usr/lib/gsd-xsettings

  • 检测不到摄像头,不能视频

  • (TIM)同意加好友申请后崩溃

  • Wayland 显示服务器,截图功能异常

  • 无法直接点击打开链接

  • 无法拖拽发送文件。使用挂载目录方式,点击发送文件按钮,选择文件

docker-qq's People

Contributors

gsgtzq avatar twang2218 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docker-qq's Issues

输入法问题

请问下有遇到输入法无效的问题吗,无法打汉字

qq和tim窗口经常消失

系统是xububtu 20.04,安装启动正常,但登录后经常窗口消失,尤其是发送文件、拖动窗口、放大缩小窗口时。
日志如下:
tim | X Error of failed request: BadValue (integer parameter out of range for operation)
tim | Major opcode of failed request: 130 (MIT-SHM)
tim | Minor opcode of failed request: 3 (X_ShmPutImage)
tim | Value in failed request: 0x240
tim | Serial number of failed request: 151440
tim | Current serial number in output stream: 151440
tim | 退出

$ sudo docker-compose ps -a
Name Command State Ports

qq /entrypoint.sh Exit 137
tim /entrypoint.sh Exit 0

上不了网

系统:manjaro i3 5.4.18-1-MANJARO
之前装好没问题, 突然连不上网络了。

运行 docker logs qq 结果如下
`realpath: missing operand
Try 'realpath --help' for more information.
2020年 02月 17日 星期一 18:37:03 UTC:Run Deepin-TIM 2.0.0deepin4
2020年 02月 17日 星期一 18:37:03 UTC:run Deepin-TIM progress pid

7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,32 bits,8 CPUs Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz (806EA),ASM,AES-NI)

Scanning the drive for archives:
1 file, 87597038 bytes (84 MiB)

Extracting archive: /opt/deepinwine/apps/Deepin-TIM/files.7z

Path = /opt/deepinwine/apps/Deepin-TIM/files.7z
Type = 7z
Physical Size = 87597038
Headers Size = 16349
Method = LZMA2:26 BCJ2
Solid = +
Blocks = 1

Everything is Ok

Folders: 272
Files: 1483
Size: 289707192
Compressed: 87597038
total 0
lrwxrwxrwx 1 qq qq 10 2月 17 18:37 c: -> ../drive_c
lrwxrwxrwx 1 qq qq 10 2月 17 18:37 com1 -> /dev/ttyS0
lrwxrwxrwx 1 qq qq 10 2月 17 18:37 com2 -> /dev/ttyS1
lrwxrwxrwx 1 qq qq 10 2月 17 18:37 com3 -> /dev/ttyS2
lrwxrwxrwx 1 qq qq 10 2月 17 18:37 com4 -> /dev/ttyS3
lrwxrwxrwx 1 qq qq 8 2月 17 18:37 lpt1 -> /dev/lp0
lrwxrwxrwx 1 qq qq 1 2月 17 18:37 z: -> /
2020年 02月 17日 星期一 18:37:09 UTC:CallApp Deepin-TIM
2020年 02月 17日 星期一 18:37:09 UTC:kill TIM.exe block
2020年 02月 17日 星期一 18:37:09 UTC:No wine process found
2020年 02月 17日 星期一 18:37:09 UTC:start running...
wine: cannot find L"C:\windows\system32\winemenubuilder.exe"
wine version: 2.18
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/qq/.deepinwine/Deepin-TIM' has been updated.
wine: cannot find L"c:\Program Files\Tencent\TIM\Bin\TXPlatform.exe"
`

Ubuntu 18.10 没有界面

jia@jia:~/developer/tim$ docker ps 
CONTAINER ID        IMAGE               COMMAND             CREATED              STATUS              PORTS               NAMES
91cabf62db96        bestwu/qq:office    "/entrypoint.sh"    About a minute ago   Up About a minute                       qq
jia@jia:~/developer/tim$ docker logs qq
/entrypoint.sh: line 6: [: !=: unary operator expected
/entrypoint.sh: line 9: [: !=: unary operator expected
启动 TIM
realpath: missing operand
Try 'realpath --help' for more information.
2019年 04月 17日 星期三 21:27:00 UTC:Run Deepin-TIM 2.0.0deepin4
2019年 04月 17日 星期三 21:27:01 UTC:run Deepin-TIM progress pid 

7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,32 bits,8 CPUs Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz (806EA),ASM,AES-NI)

Scanning the drive for archives:
1 file, 87597038 bytes (84 MiB)

Extracting archive: /opt/deepinwine/apps/Deepin-TIM/files.7z
--
Path = /opt/deepinwine/apps/Deepin-TIM/files.7z
Type = 7z
Physical Size = 87597038
Headers Size = 16349
Method = LZMA2:26 BCJ2
Solid = +
Blocks = 1

Everything is Ok

Folders: 272
Files: 1483
Size:       289707192
Compressed: 87597038
total 0
lrwxrwxrwx 1 qq qq 10 4月  17 21:27 c: -> ../drive_c
lrwxrwxrwx 1 qq qq 10 4月  17 21:27 com1 -> /dev/ttyS0
lrwxrwxrwx 1 qq qq 10 4月  17 21:27 com2 -> /dev/ttyS1
lrwxrwxrwx 1 qq qq 10 4月  17 21:27 com3 -> /dev/ttyS2
lrwxrwxrwx 1 qq qq 10 4月  17 21:27 com4 -> /dev/ttyS3
lrwxrwxrwx 1 qq qq  8 4月  17 21:27 lpt1 -> /dev/lp0
lrwxrwxrwx 1 qq qq  1 4月  17 21:27 z: -> /
2019年 04月 17日 星期三 21:27:05 UTC:CallApp Deepin-TIM  
2019年 04月 17日 星期三 21:27:05 UTC:kill TIM.exe block
2019年 04月 17日 星期三 21:27:05 UTC:No wine process found
2019年 04月 17日 星期三 21:27:05 UTC:start running...
wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
wine version: 2.18
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/qq/.deepinwine/Deepin-TIM' has been updated.
jia@jia:~/developer/tim$ docker pull bestwu/qq:office
office: Pulling from bestwu/qq
Digest: sha256:b1d28065e662419091fd5854c59d547a6038ff7ed3e17ff95db4a5be1568dd4c
Status: Image is up to date for bestwu/qq:office
jia@jia:~/developer/tim$ 

命令模式

命令模式的账号密码登录可以实现吗

centos 上无法运行

我的系统是centos 7,如果运行bestwu/qq:office这个映像,可以出界面但是提示版本旧需要升级,如果运行bestwu/qq这个映像(qqlight?),则不出界面,错误信息为:

启动 QQLight

7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,32 bits,8 CPUs Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz (906EA),ASM,AES-NI)

Scanning the drive for archives:
1 file, 57028555 bytes (55 MiB)

Extracting archive: /opt/deepinwine/apps/Deepin-QQLight/files.7z

Path = /opt/deepinwine/apps/Deepin-QQLight/files.7z
Type = 7z
Physical Size = 57028555
Headers Size = 13846
Method = LZMA2:26 BCJ2
Solid = +
Blocks = 1

Everything is Ok

Folders: 197
Files: 1236
Size: 200038625
Compressed: 57028555
wine: cannot find L"C:\windows\system32\winemenubuilder.exe"
wine version: 2.18
wine: Unhandled page fault on read access to 0xc60b770e at address 0x7e814050 (thread 0019), starting debugger...
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/qq/.deepinwine/Deepin-QQLight' has been updated.

我的桌面是KDE,不是GNOME,不知道是否和这个有关(但是TIM能出界面,又不像)。
希望帮忙解决,非常感谢!

身份验证界面过不去

qq登录后,要求身份验证,手机qq上确认验证,然后一直没有到下一个界面(应该是成功登录,显示登录后的界面)

无法安装 sudo apt-get install -y deepin.com.qq.office

sudo apt-get install -y deepin.com.qq.office
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
正在读取状态信息... 完成
E: 无法定位软件包 deepin.com.qq.office
E: 无法按照 glob ‘deepin.com.qq.office’ 找到任何软件包
E: 无法按照正则表达式 deepin.com.qq.office 找到任何软件包

fcitx5 无法输入中文

默认的创建容器的脚本无法调出输入法,根据我使用的输入法(fcix5),将脚本调整为以下,虽然能调出输入法,但是却依然无法输入中文。

docker run -d --name qq \
    --device /dev/snd \
    -v $HOME/TencentFiles:/TencentFiles \
        -v /tmp/.X11-unix:/tmp/.X11-unix \
    -e XMODIFIERS\ DEFAULT=@im=fcitx5 \
    -e QT_IM_MODULE\ DEFAULT=fcitx5 \
    -e GTK_IM_MODULE\ DEFAULT=fcitx5 \
    -e DISPLAY=unix$DISPLAY \
    -e AUDIO_GID=`getent group audio | cut -d: -f3` \
    -e VIDEO_GID=`getent group video | cut -d: -f3` \
    -e GID=`id -g` \
    -e UID=`id -u` \
    bestwu/qq:im

环境:

OS: Arch Linux x86_64 
Host: 911K 
Kernel: 5.8.1-arch1-1 
Uptime: 14 hours, 2 mins 
Packages: 808 (pacman) 
Shell: zsh 5.8 
Resolution: 1920x1080 
DE: Plasma 5.19.4 
WM: KWin 
WM Theme: McMojave 
Theme: McMojave [Plasma], Os-Catalina-Gtk-night [GTK2/3] 
Icons: McMojave-circle-dark [Plasma], McMojave-circle-dark [GTK2/3] 
Terminal: konsole 
Terminal Font: Hack 16 
CPU: Intel i7-7700HQ (8) @ 3.800GHz 
GPU: Intel HD Graphics 630 
GPU: NVIDIA GeForce GTX 1050 Ti Mobile 
Memory: 5197MiB / 15652MiB

No protocal specified

昨天都还能正常启动, 现在报错:

total 0
lrwxrwxrwx 1 qq qq 10 2月 17 13:41 c: -> ../drive_c
lrwxrwxrwx 1 qq qq 10 2月 17 13:41 com1 -> /dev/ttyS0
lrwxrwxrwx 1 qq qq 10 2月 17 13:41 com2 -> /dev/ttyS1
lrwxrwxrwx 1 qq qq 10 2月 17 13:41 com3 -> /dev/ttyS2
lrwxrwxrwx 1 qq qq 10 2月 17 13:41 com4 -> /dev/ttyS3
lrwxrwxrwx 1 qq qq 8 2月 17 13:41 lpt1 -> /dev/lp0
lrwxrwxrwx 1 qq qq 1 2月 17 13:41 z: -> /
2020年 02月 17日 星期一 13:41:17 UTC:CallApp Deepin-TIM
2020年 02月 17日 星期一 13:41:17 UTC:kill TIM.exe block
2020年 02月 17日 星期一 13:41:17 UTC:No wine process found
2020年 02月 17日 星期一 13:41:17 UTC:start running...
No protocol specified
No protocol specified
No protocol specified
wine: cannot find L"C:\windows\system32\winemenubuilder.exe"

Ubuntu 20.04 tim 登录后闪退

第一次扫码登录后界面和消息加载出来了,然后立即闪退;
第二次扫码登录中即闪退。

脚本如下

sudo docker run -d --name Tim \
  --device /dev/snd \
  -v $HOME/QQ/TencentFiles:/TencentFiles \
      -v /tmp/.X11-unix:/tmp/.X11-unix \
  -e XMODIFIERS=@im=fcitx \
  -e QT_IM_MODULE=fcitx \
  -e GTK_IM_MODULE=fcitx \
  -e DISPLAY=unix$DISPLAY \
  -e AUDIO_GID=`getent group audio | cut -d: -f3` \
  -e VIDEO_GID=`getent group video | cut -d: -f3` \
  -e GID=`id -g` \
  -e UID=`id -u` \
  bestwu/qq:office

字体问题

arch linux下运行

字体看起来有点难看啊,不像是在deepin下tim的字体,请问他的字体是读取deepin下的吗

Fedora27 运行失败

Fedora27 运行失败
[root@toolman toolman17]# docker-compose up -d
ERROR: Couldn't connect to Docker daemon at http://localhost:4243 - is it running?

If it's at a non-standard location, specify the URL with the DOCKER_HOST environment variable.
[root@toolman toolman17]# docker logs qq
Cannot connect to the Docker daemon at tcp://localhost:4243. Is the docker daemon running?

docker restart policy very slow

I can use docker start and docker restart to start the program in seconds.
But then I tried this:
docker update --restart always qq
and rebooted.
Then docker ps command immediately confirmed that the container is started but it took minutes for the UI to appear.
What could be the problem?

执行 sh后,无法展示出页面

打印日志是这样的
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 20 (X_GetProperty)
Resource id in failed request: 0x0
Serial number of failed request: 10
Current serial number in output stream: 10

-- 系统 Arch Linux + kde 桌面

运行后不显示

wine: cannot find L"C:\windows\system32\winemenubuilder.exe"
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/qq/.deepinwine/Deepin-TIM' has been updated.

Fedora27 运行失败

[mzz@mzz-pub ~]$ docker logs qq
chown: 正在更改'/TencentFiles' 的所有者: 权限不够
启动 TIM
7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,32 bits,8 CPUs Intel(R) Xeon(R) CPU E3-1230 V2 @ 3.30GHz (306A9),ASM,AES-NI)
Scanning the drive for archives:
1 file, 73454263 bytes (71 MiB)
Extracting archive: /opt/deepinwine/apps/Deepin-TIM/files.7z
--
Path = /opt/deepinwine/apps/Deepin-TIM/files.7z
Type = 7z
Physical Size = 73454263
Headers Size = 15402
Method = LZMA2:26 BCJ2
Solid = +
Blocks = 1
Everything is Ok
Folders: 269
Files: 1314
Size:       253220795
Compressed: 73454263
/usr/bin/env: "python2": 没有那个文件或目录
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/qq/.deepinwine/Deepin-TIM' has been updated.

试过更改/etc/ssh/ssh_config了,追加了

   ForwardX11 yes
   ForwardX11Trusted yes

还是不行。

运行不出界面

1.登录时:
fgh@debian:~$ sudo ./qq.sh
44b942c1c0b1ea6c3bdede9cf5852703dd262d52c9c4040b6fbf2822a6aa9977

日志:
fgh@debian:~$ sudo docker logs qq

启动 TIM

7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,32 bits,4 CPUs Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz (40651),ASM,AES-NI)

Scanning the drive for archives:
1 file, 73454263 bytes (71 MiB)

Extracting archive: /opt/deepinwine/apps/Deepin-TIM/files.7z
--
Path = /opt/deepinwine/apps/Deepin-TIM/files.7z
Type = 7z
Physical Size = 73454263
Headers Size = 15402
Method = LZMA2:26 BCJ2
Solid = +
Blocks = 1

Everything is Ok

Folders: 269
Files: 1314
Size:       253220795
Compressed: 73454263
/usr/bin/env: "python2": 没有那个文件或目录
X Error of failed request:  BadWindow (invalid Window parameter)
  Major opcode of failed request:  20 (X_GetProperty)
  Resource id in failed request:  0x0
  Serial number of failed request:  10
  Current serial number in output stream:  10
退出

2.运行过命令:pip3 install python2 且安装成功

3./usr/bin/目录里:

lrwxrwxrwx 1 root root       9 9月  18 16:17 python -> python2.7
lrwxrwxrwx 1 root root       9 11月 26 07:38 python2 -> python2.7
-rwxr-xr-x 1 root root 3701568 9月  18 02:50 python2.7
lrwxrwxrwx 1 root root      33 9月  18 02:50 python2.7-config -> x86_64-linux-gnu-python2.7-config
lrwxrwxrwx 1 root root      16 9月  18 16:17 python2-config -> python2.7-config
-rwxr-xr-x 1 root root     399 11月 16 03:43 python2-jsonschema
-rwxr-xr-x 1 root root     154 11月 11 04:26 python2-pbr
-rwxr-xr-x 1 root root    5694 9月   8  2016 python2-wsdump
lrwxrwxrwx 1 root root       9 10月 27 03:09 python3 -> python3.6
-rwxr-xr-x 2 root root 4568920 10月  4 05:16 python3.6
lrwxrwxrwx 1 root root      33 10月  4 05:16 python3.6-config -> x86_64-linux-gnu-python3.6-config
-rwxr-xr-x 2 root root 4568920 10月  4 05:16 python3.6m
lrwxrwxrwx 1 root root      34 10月  4 05:16 python3.6m-config -> x86_64-linux-gnu-python3.6m-config
lrwxrwxrwx 1 root root      16 10月 27 03:09 python3-config -> python3.6-config
lrwxrwxrwx 1 root root      10 10月 27 03:09 python3m -> python3.6m
lrwxrwxrwx 1 root root      17 10月 27 03:09 python3m-config -> python3.6m-config
lrwxrwxrwx 1 root root      16 9月  18 16:17 python-config -> python2.7-config

qq界面没有出现,不明白怎么回事,求解答,谢谢

不能发送中文

ubuntu18.04安装了tim后,能正常访问,但是无法获取系统自带的中文输入法,输入中文,这个请问怎么解决,docker新手

每天自动关闭进程

这几天都是8点多开启,下午17点多自动关闭,每天自动关闭进程,是否哪里可以设置?

~# docker ps -l
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ced5707c66cd bestwu/qq:office "/entrypoint.sh" 11 days ago Exited (0) 15 hours ago qq

提示版本存在安全风险

安装好之后正常使用,然后忽然无法输入中文,随后关掉容器再开,提示当前版本存在安全风险

system:deepin 15.11 (base on debian 9.0)
core:4.15.0-29deepin-generic
docker:19.03.4
image: bestwu/qq:im

深度截图_选择区域_20191107125637.png

是否考虑集成一个谷歌浏览器?

比如点击QQ面板的邮箱图标,因为容器内部并没有集成浏览器所以无法打开邮箱页面了。
是否考虑加入该功能呢?
或者是否有办法设置参数将浏览器映射到主机的默认浏览器

ubuntu20.04

ubuntu20.04在登录密码的时候无法输入字母,只能扫码,而且有一定概率没有界面

字体发虚

system:deepin 15.11 (base on debian 9.0)
core:4.15.0-29deepin-generic
docker:19.03.4
image: bestwu/qq:im

深度截图_选择区域_20191107133703.png

在Centos7.5下能用吗?运行时弹出错误窗口“initialization failure:0X00000030”

在Centos7.5下运行时弹出错误窗口“initialization failure:0X00000030”

运行#docker logs TIM显示如下错误:
启动 TIM
2021年 02月 23日 星期二 16:41:37 UTC:Run Deepin-TIM 2.0.0deepin4
2021年 02月 23日 星期二 16:41:37 UTC:run Deepin-TIM progress pid

** (zenity:46): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-eYTkxMFJ4g: 拒绝连接
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
total 0
lrwxrwxrwx 1 root root 10 2月 23 16:42 c: -> ../drive_c
lrwxrwxrwx 1 root root 10 2月 23 16:41 com1 -> /dev/ttyS0
lrwxrwxrwx 1 root root 10 2月 23 16:41 com2 -> /dev/ttyS1
lrwxrwxrwx 1 root root 10 2月 23 16:41 com3 -> /dev/ttyS2
lrwxrwxrwx 1 root root 10 2月 23 16:41 com4 -> /dev/ttyS3
lrwxrwxrwx 1 root root 8 2月 23 16:41 lpt1 -> /dev/lp0
lrwxrwxrwx 1 root root 1 2月 23 16:42 z: -> /
2021年 02月 23日 星期二 16:42:59 UTC:CallApp Deepin-TIM
2021年 02月 23日 星期二 16:42:59 UTC:kill TIM.exe block
2021年 02月 23日 星期二 16:42:59 UTC:No wine process found
2021年 02月 23日 星期二 16:42:59 UTC:start running...
wine: cannot find L"C:\windows\system32\winemenubuilder.exe"
wine version: 2.18
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/qq/.deepinwine/Deepin-TIM' has been updated.
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 130 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Value in failed request: 0x1ef
Serial number of failed request: 542
Current serial number in output stream: 543

提示版本过低,运行了您的update脚本也是如此

hi~,这是更新日志:

`➜ update sh run.sh
[sudo] wu 的密码:
qq
renamed '/entrypoint.sh' -> '/entrypoint.sh.bk'
renamed '/update.sh' -> '/entrypoint.sh'
qq
/entrypoint.sh: line 6: [: !=: unary operator expected
/entrypoint.sh: line 9: [: !=: unary operator expected
启动 QQ
realpath: missing operand
Try 'realpath --help' for more information.
2021年 01月 01日 星期五 19:08:01 UTC:Run Deepin-QQ 8.9.19983deepin23
2021年 01月 01日 星期五 19:08:01 UTC:run Deepin-QQ progress pid

7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=zh_CN.UTF-8,Utf16=on,HugeFiles=on,32 bits,4 CPUs Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz (906E9),ASM,AES-NI)

Scanning the drive for archives:
1 file, 103108486 bytes (99 MiB)

Extracting archive: /opt/deepinwine/apps/Deepin-QQ/files.7z

Path = /opt/deepinwine/apps/Deepin-QQ/files.7z
Type = 7z
Physical Size = 103108486
Headers Size = 26282
Method = LZMA2:26 BCJ2
Solid = +
Blocks = 1

Everything is Ok

Folders: 768
Files: 2151
Size: 411712910
Compressed: 103108486
total 0
lrwxrwxrwx 1 qq qq 10 1月 1 19:08 c: -> ../drive_c
lrwxrwxrwx 1 qq qq 10 1月 1 19:08 com1 -> /dev/ttyS0
lrwxrwxrwx 1 qq qq 10 1月 1 19:08 com2 -> /dev/ttyS1
lrwxrwxrwx 1 qq qq 10 1月 1 19:08 com3 -> /dev/ttyS2
lrwxrwxrwx 1 qq qq 10 1月 1 19:08 com4 -> /dev/ttyS3
lrwxrwxrwx 1 qq qq 8 1月 1 19:08 lpt1 -> /dev/lp0
lrwxrwxrwx 1 qq qq 1 1月 1 19:08 z: -> /
2021年 01月 01日 星期五 19:08:07 UTC:CallApp Deepin-QQ
2021年 01月 01日 星期五 19:08:07 UTC:kill QQ.exe block
2021年 01月 01日 星期五 19:08:07 UTC:No wine process found
2021年 01月 01日 星期五 19:08:07 UTC:start running...
wine: cannot find L"C:\windows\system32\winemenubuilder.exe"
wine version: 2.18
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/qq/.deepinwine/Deepin-QQ' has been updated.
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 130 (MIT-SHM)
Minor opcode of failed request: 3 (X_ShmPutImage)
Value in failed request: 0x1ef
Serial number of failed request: 540
Current serial number in output stream: 541
/entrypoint.sh: line 6: [: !=: unary operator expected
/entrypoint.sh: line 9: [: !=: unary operator expected
启动 QQ
realpath: missing operand
Try 'realpath --help' for more information.
2021年 01月 01日 星期五 19:08:47 UTC:Run Deepin-QQ 8.9.19983deepin23
2021年 01月 01日 星期五 19:08:47 UTC:run Deepin-QQ progress pid
total 0
lrwxrwxrwx 1 qq qq 10 1月 1 19:08 c: -> ../drive_c
lrwxrwxrwx 1 qq qq 1 1月 1 19:08 z: -> /
2021年 01月 01日 星期五 19:08:47 UTC:CallApp Deepin-QQ
2021年 01月 01日 星期五 19:08:47 UTC:kill QQ.exe block
2021年 01月 01日 星期五 19:08:47 UTC:No wine process found
2021年 01月 01日 星期五 19:08:47 UTC:start running...
wine: cannot find L"C:\windows\system32\winemenubuilder.exe"
wine version: 2.18
wine: cannot find L"c:\Program Files\Tencent\QQ\Bin\TXPlatform.exe"
init server success 127.0.0.1 12291
Ign:1 https://mirrors.aliyun.com/deepin stable InRelease
Err:2 https://mirrors.aliyun.com/deepin stable Release
404 Not Found [IP: 113.142.161.240 443]
Reading package lists...
E: The repository 'https://mirrors.aliyun.com/deepin stable Release' does not have a Release file.
Reading package lists...
Building dependency tree...
Reading state information...
deepin.com.qq.im is already the newest version (8.9.19983deepin23).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
renamed '/entrypoint.sh.bk' -> '/entrypoint.sh'
/entrypoint.sh: line 6: [: !=: unary operator expected
/entrypoint.sh: line 9: [: !=: unary operator expected
启动 QQ
realpath: missing operand
Try 'realpath --help' for more information.
2021年 01月 01日 星期五 19:10:18 UTC:Run Deepin-QQ 8.9.19983deepin23
2021年 01月 01日 星期五 19:10:18 UTC:run Deepin-QQ progress pid
total 0
lrwxrwxrwx 1 qq qq 10 1月 1 19:10 c: -> ../drive_c
lrwxrwxrwx 1 qq qq 1 1月 1 19:10 z: -> /
2021年 01月 01日 星期五 19:10:18 UTC:CallApp Deepin-QQ
2021年 01月 01日 星期五 19:10:18 UTC:kill QQ.exe block
2021年 01月 01日 星期五 19:10:18 UTC:No wine process found
2021年 01月 01日 星期五 19:10:18 UTC:start running...
wine: cannot find L"C:\windows\system32\winemenubuilder.exe"
wine version: 2.18
wine: cannot find L"c:\Program Files\Tencent\QQ\Bin\TXPlatform.exe"
init server success 127.0.0.1 12291
Ign:1 https://mirrors.aliyun.com/deepin stable InRelease
Err:2 https://mirrors.aliyun.com/deepin stable Release
404 Not Found [IP: 113.142.161.248 443]
Reading package lists...
E: The repository 'https://mirrors.aliyun.com/deepin stable Release' does not have a Release file.
Reading package lists...
Building dependency tree...
Reading state information...
deepin.com.qq.im is already the newest version (8.9.19983deepin23).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
renamed '/entrypoint.sh.bk' -> '/entrypoint.sh'
/entrypoint.sh: line 6: [: !=: unary operator expected
/entrypoint.sh: line 9: [: !=: unary operator expected
启动 QQ
realpath: missing operand
Try 'realpath --help' for more information.
2021年 01月 01日 星期五 19:14:12 UTC:Run Deepin-QQ 8.9.19983deepin23
2021年 01月 01日 星期五 19:14:12 UTC:run Deepin-QQ progress pid
total 0
lrwxrwxrwx 1 qq qq 10 1月 1 19:14 c: -> ../drive_c
lrwxrwxrwx 1 qq qq 1 1月 1 19:14 z: -> /
2021年 01月 01日 星期五 19:14:12 UTC:CallApp Deepin-QQ
2021年 01月 01日 星期五 19:14:12 UTC:kill QQ.exe block
2021年 01月 01日 星期五 19:14:12 UTC:No wine process found
2021年 01月 01日 星期五 19:14:12 UTC:start running...
wine: cannot find L"C:\windows\system32\winemenubuilder.exe"
wine version: 2.18
wine: cannot find L"c:\Program Files\Tencent\QQ\Bin\TXPlatform.exe"
init server success 127.0.0.1 12291
退出
/entrypoint.sh: line 6: [: !=: unary operator expected
/entrypoint.sh: line 9: [: !=: unary operator expected
启动 QQ
realpath: missing operand
Try 'realpath --help' for more information.
2021年 01月 01日 星期五 19:22:49 UTC:Run Deepin-QQ 8.9.19983deepin23
2021年 01月 01日 星期五 19:22:49 UTC:run Deepin-QQ progress pid
total 0
lrwxrwxrwx 1 qq qq 10 1月 1 19:22 c: -> ../drive_c
lrwxrwxrwx 1 qq qq 1 1月 1 19:22 z: -> /
2021年 01月 01日 星期五 19:22:49 UTC:CallApp Deepin-QQ
2021年 01月 01日 星期五 19:22:49 UTC:kill QQ.exe block
2021年 01月 01日 星期五 19:22:49 UTC:No wine process found
2021年 01月 01日 星期五 19:22:49 UTC:start running...
wine: cannot find L"C:\windows\system32\winemenubuilder.exe"
wine version: 2.18
wine: cannot find L"c:\Program Files\Tencent\QQ\Bin\TXPlatform.exe"
init server success 127.0.0.1 12291
Ign:1 https://mirrors.aliyun.com/deepin stable InRelease
Err:2 https://mirrors.aliyun.com/deepin stable Release
404 Not Found [IP: 113.137.53.178 443]
Reading package lists...
E: The repository 'https://mirrors.aliyun.com/deepin stable Release' does not have a Release file.
Reading package lists...
Building dependency tree...
Reading state information...
deepin.com.qq.im is already the newest version (8.9.19983deepin23).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
renamed '/entrypoint.sh.bk' -> '/entrypoint.sh'
/entrypoint.sh: line 6: [: !=: unary operator expected
/entrypoint.sh: line 9: [: !=: unary operator expected
启动 QQ
realpath: missing operand
Try 'realpath --help' for more information.
2021年 01月 01日 星期五 19:23:28 UTC:Run Deepin-QQ 8.9.19983deepin23
2021年 01月 01日 星期五 19:23:28 UTC:run Deepin-QQ progress pid
total 0
lrwxrwxrwx 1 qq qq 10 1月 1 19:23 c: -> ../drive_c
lrwxrwxrwx 1 qq qq 1 1月 1 19:23 z: -> /
2021年 01月 01日 星期五 19:23:28 UTC:CallApp Deepin-QQ
2021年 01月 01日 星期五 19:23:28 UTC:kill QQ.exe block
2021年 01月 01日 星期五 19:23:28 UTC:No wine process found
2021年 01月 01日 星期五 19:23:28 UTC:start running...
wine: cannot find L"C:\windows\system32\winemenubuilder.exe"
wine version: 2.18
wine: cannot find L"c:\Program Files\Tencent\QQ\Bin\TXPlatform.exe"
init server success 127.0.0.1 12291
Ign:1 https://mirrors.aliyun.com/deepin stable InRelease
Err:2 https://mirrors.aliyun.com/deepin stable Release
404 Not Found [IP: 113.137.53.178 443]
Reading package lists...
E: The repository 'https://mirrors.aliyun.com/deepin stable Release' does not have a Release file.
Reading package lists...
Building dependency tree...
Reading state information...
deepin.com.qq.im is already the newest version (8.9.19983deepin23).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
renamed '/entrypoint.sh.bk' -> '/entrypoint.sh'
/entrypoint.sh: line 6: [: !=: unary operator expected
/entrypoint.sh: line 9: [: !=: unary operator expected
启动 QQ
realpath: missing operand
Try 'realpath --help' for more information.
2021年 01月 01日 星期五 19:28:28 UTC:Run Deepin-QQ 8.9.19983deepin23
2021年 01月 01日 星期五 19:28:28 UTC:run Deepin-QQ progress pid
total 0
lrwxrwxrwx 1 qq qq 10 1月 1 19:28 c: -> ../drive_c
lrwxrwxrwx 1 qq qq 1 1月 1 19:28 z: -> /
2021年 01月 01日 星期五 19:28:28 UTC:CallApp Deepin-QQ
2021年 01月 01日 星期五 19:28:28 UTC:kill QQ.exe block
2021年 01月 01日 星期五 19:28:28 UTC:No wine process found
2021年 01月 01日 星期五 19:28:28 UTC:start running...
wine: cannot find L"C:\windows\system32\winemenubuilder.exe"
wine version: 2.18
wine: cannot find L"c:\Program Files\Tencent\QQ\Bin\TXPlatform.exe"
init server success 127.0.0.1 12291
Ign:1 https://mirrors.aliyun.com/deepin stable InRelease
Err:2 https://mirrors.aliyun.com/deepin stable Release
404 Not Found [IP: 113.137.53.178 443]
Reading package lists...
E: The repository 'https://mirrors.aliyun.com/deepin stable Release' does not have a Release file.
Reading package lists...
Building dependency tree...
Reading state information...
deepin.com.qq.im is already the newest version (8.9.19983deepin23).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
renamed '/entrypoint.sh.bk' -> '/entrypoint.sh'
/entrypoint.sh: line 6: [: !=: unary operator expected
/entrypoint.sh: line 9: [: !=: unary operator expected
启动 QQ
realpath: missing operand
Try 'realpath --help' for more information.
2021年 01月 01日 星期五 19:32:15 UTC:Run Deepin-QQ 8.9.19983deepin23
2021年 01月 01日 星期五 19:32:15 UTC:run Deepin-QQ progress pid
total 0
lrwxrwxrwx 1 qq qq 10 1月 1 19:32 c: -> ../drive_c
lrwxrwxrwx 1 qq qq 1 1月 1 19:32 z: -> /
2021年 01月 01日 星期五 19:32:15 UTC:CallApp Deepin-QQ
2021年 01月 01日 星期五 19:32:15 UTC:kill QQ.exe block
2021年 01月 01日 星期五 19:32:15 UTC:No wine process found
2021年 01月 01日 星期五 19:32:15 UTC:start running...
wine: cannot find L"C:\windows\system32\winemenubuilder.exe"
wine version: 2.18
wine: cannot find L"c:\Program Files\Tencent\QQ\Bin\TXPlatform.exe"
init server success 127.0.0.1 12291
退出
/entrypoint.sh: line 6: [: !=: unary operator expected
/entrypoint.sh: line 9: [: !=: unary operator expected
启动 QQ
realpath: missing operand
Try 'realpath --help' for more information.
2021年 01月 01日 星期五 19:38:29 UTC:Run Deepin-QQ 8.9.19983deepin23
2021年 01月 01日 星期五 19:38:29 UTC:run Deepin-QQ progress pid
total 0
lrwxrwxrwx 1 qq qq 10 1月 1 19:38 c: -> ../drive_c
lrwxrwxrwx 1 qq qq 1 1月 1 19:38 z: -> /
2021年 01月 01日 星期五 19:38:29 UTC:CallApp Deepin-QQ
2021年 01月 01日 星期五 19:38:30 UTC:kill QQ.exe block
2021年 01月 01日 星期五 19:38:30 UTC:No wine process found
2021年 01月 01日 星期五 19:38:30 UTC:start running...
wine: cannot find L"C:\windows\system32\winemenubuilder.exe"
wine version: 2.18
wine: cannot find L"c:\Program Files\Tencent\QQ\Bin\TXPlatform.exe"
Ign:1 https://mirrors.aliyun.com/deepin stable InRelease
Err:2 https://mirrors.aliyun.com/deepin stable Release
404 Not Found [IP: 124.115.10.236 443]
Reading package lists...
E: The repository 'https://mirrors.aliyun.com/deepin stable Release' does not have a Release file.
Reading package lists...
Building dependency tree...
Reading state information...
deepin.com.qq.im is already the newest version (8.9.19983deepin23).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
renamed '/entrypoint.sh.bk' -> '/entrypoint.sh'
qq
`

xhost +x 了,但是没有界面

wechat    | 2018-08-11T03:10:32.449638692Z 启动 WeChat
wechat    | 2018-08-11T03:10:32.623979948Z wine: cannot find L"C:\\windows\\system32\\winemenubuilder.exe"
wechat    | 2018-08-11T03:10:32.677665374Z wine version: 2.18
wechat    | 2018-08-11T03:10:33.477653181Z [0811/111033:ERROR:network_change_notifier_win.cc(158)] WSALookupServiceBegin failed with: 8
wechat    | 2018-08-11T03:10:33.535379478Z X Error of failed request:  BadValue (integer parameter out of range for operation)
wechat    | 2018-08-11T03:10:33.535402703Z   Major opcode of failed request:  130 (MIT-SHM)
wechat    | 2018-08-11T03:10:33.535407995Z   Minor opcode of failed request:  3 (X_ShmPutImage)
wechat    | 2018-08-11T03:10:33.535411842Z   Value in failed request:  0x13e
wechat    | 2018-08-11T03:10:33.535415509Z   Serial number of failed request:  345
wechat    | 2018-08-11T03:10:33.535419027Z   Current serial number in output stream:  346

这是log,请问如何处理

无法点击图标调整窗口

请问什么类型的linux支持最好,我安装;了centos7,无法点击tim图标,发送消息按钮只有半个,无法调整,以及刚启动容器无法安装flash

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.