GithubHelp home page GithubHelp logo

john-shine / docker-codeweavers_crossover-vnc Goto Github PK

View Code? Open in Web Editor NEW
452.0 13.0 89.0 36.26 MB

A docker for run CrossOver though VNC remote manage

Shell 28.59% Dockerfile 71.41%
crossover vnc-server docker-image dockerfile baiduyun thunder wine

docker-codeweavers_crossover-vnc's Introduction

CodeWeavers.CrossOver.VNC Docker image

A docker image for run CrossOver Linux though VNC remote manager.

With the docker image, U can run windows softwares under docker container, instead of much heavier virtual machines. Current installed version: CrossOver Linux 18.1.0

Pull latest image from Docker hub:

sudo docker pull johnshine/crossover-vnc:latest

Then run the image as pull finished:

sudo docker run -d -p ${VNC_PORT}:5901 -e vnc_password=${YOUR_VNC_PASSWORD} johnshine/crossover-vnc:latest

If YOUR_VNC_PASSWORD or vnc_password argument leave empty, no password need to connect to VNC server, which most used in one`s own local home network.

After buy CrossOver Linux license, you could add license file to container as following, that can be downloaded at codeweavers.com -> My Account -> My Orders:

sudo docker run -d -p ${VNC_PORT}:5901 -v /path/to/license/license.sig:/opt/cxoffice/etc/license.sig -v /path/to/license/license.txt:/opt/cxoffice/etc/license.txt -e vnc_password=${YOUR_VNC_PASSWORD} johnshine/crossover-vnc:latest

Another solution, Wine VNC: Free, but maybe less stable.

Change history

1.4 (2019-04-29)

  • update CrossOver Linux to v18.5.0

1.3 (2018-12-17)

  • fix vnc server fail to start
  • update CrossOver Linux to 18.1.0

1.2

  • retry delete the install binary
  • fix bug: vnc password not work!
  • fix issue: license files is permission denied

1.1

  • change install directory
  • decrease image size
  • fix issue: vncserver start at another port.

1.0

  • initialized

VNC clients recommend

  1. VNC Viewer
  2. jump desktop
  3. TightVNC

Built-in applications

docker-codeweavers_crossover-vnc's People

Contributors

ashesofdream avatar bugparty avatar john-shine avatar ttimasdf 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

docker-codeweavers_crossover-vnc's Issues

反复登录问题

挂机下载一定时间后会出现重新登录,更长时间例如隔夜后重新登录进去任务没有速度要暂停再开始。
反复登录问题可以解决吗?

将容器中默认下载目录绑定到host上的补充教程

解决将容器中默认下载目录绑定到host上后,下载时并没有按照预期将文件存储到host中。及百度云不能修改下载存放目录。

如果要将容器中默认下载目录绑定到host上,在创建容器时,就需要带上参数:“-v /path/to/download/folder:/mnt/drive_d”
除此之外,还需要在使用VNC登录容器,并执行下载任务前,在host上执行如下修改:
$ sudo chown 100:0 /path/to/download/folder
然后再VNC登录到容器,并执行下载任务。此时就会按照预期将文件存储到host中。

如果需要将 /path/to/download/folder 目录权限改回(如 ~/下载 这样的目录),则需待百度云客户端成功创建 BaiduNetdiskDownload 文件夹后,就可以将原来的 /path/to/download/folder 目录权限改回,参考命令:
$ sudo chown 1000:1000 /path/to/download/folder

============================================================================

以上步骤可以简化为(我没亲测过,但理论上是可行的):
1、在创建容器时,就需要带上参数:“-v /path/to/download/folder:/mnt/drive_d”
2、在host上创建目录:
$ mkdir /path/to/download/folder/BaiduNetdiskDownload
3、修改host上 BaiduNetdiskDownload 目录的权限:
$ sudo chown 100:0 /path/to/download/folder/BaiduNetdiskDownload
4、登录VNC,并使用百度云下载

docker run后,不能直接使用vnc登录图形界面

docker run后,不能直接使用vnc登录图形界面,无论是否执行“-e vnc_password=your_password”。
如果需要正常使用,要补充执行如下步骤:
sudo docker exec -it 容器名 /bin/bash
ip address # 查看容器IP
vncserver -kill :1 # 关闭已自动开启的vnc会话
vncpasswd # 输入两次新的密码,及可选的只读密码。
vncserver :1 # 启动vnc会话

无法输入用户名密码

openmediavault5上运行docker;
客户端win10,chrome,搜狗浏览器,web登录及vnc登录均只能看到一个网盘图标,没有用户名密码的对话框

关于 docker 速度问题

大佬,

我在群晖装了你的 docker, 可以用,很不错。首先非常感谢你。

然后我尝试对比一下 docker 的速度和 直接 运行百度云客户端对比。

发现 docker 的速度明显低于直接客户端下载,请问有什么可以优化的么?
例如端口之类的?

谢谢。

Crossover版本问题

感谢作者制作这个镜像!
请问自带crossover版本是什么呢?我购买的是17版本的crossover,无法激活。

关于下载缓存位置的疑问

非常感谢您提供了这么棒的解决方案,我有一个疑问,如果您方便的话帮忙解答一下。
使用环境:ESXI+Koolshare LEDE Docker+ Docker-CodeWeavers_CrossOver-VNC
以上都装在SSD上,下载目录映射到10T的机械硬盘,您的这个方案,是直接下载文件到映射的机械硬盘,还是缓存文件到一定大小之后分次写入呢?如果是分次写入的话,缓存位置是在内存还是SSD上,会增加SSD的写入量吗?

非法文件名

下载了一个文件,再下载任何文件就出现非法文件名的提示,无法下载了

Use of uninitialized value $proto in socket

VNC客户端连接不上 容器有以下日志 是否正常启动了呢?

Please be aware that you are exposing your VNC server to all users on the,
local machine. These users can access your server without authentication!,
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 355.,
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 355.,
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 355.,
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 355.,
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 355.,
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 355.,
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 355.,
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 355.,
Use of uninitialized value $proto in socket at /usr/bin/vncserver line 355.,
,
New '2e19e0d10b99:1 (baidu)' desktop at :1 on machine 2e19e0d10b99,
,
Starting applications specified in /home/baidu/.vnc/xstartup,
Log file is /home/baidu/.vnc/2e19e0d10b99:1.log,
,
Use xtigervncviewer -SecurityTypes None,TLSNone :1 to connect to the VNC server.,
,

求个IDM for Docker

我看作者有搞迅雷 for Docker的志向,何不先搞个IDM试试手?

请问为何宿主机的下载目录里没有下载的文件?

创建容器的时候已经绑定了宿主机文件目录到/mnt/drive_d,但是文件下载完毕后宿主机目录是空的,通过sudo docker exec -it $container_id /bin/bash之后可以看到文件确实在baidunetdiskdownload文件夹内,只是宿主机目录里看不到

关于微博等第三方账号登陆百度云

你好,感谢发布这个镜像。
请问,这个镜像可以使用微博等第三方软件登陆吗?我看 README.md 的1.1中提到”修复第三方登录“,具体应该怎么操作。谢谢!

关于下载位置

你好,我绑定了下载文件夹,可是尝试下载后,下载成功了,但我的绑定文件夹内却是空的,也不知到下载文件去哪了?

百度云普通会员无法下载

突然发现普通会员的话 无法添加下载任务(点击下载没有反映),换成普通用户就可以添加下载了。

关于下载文件权限

我下载的文件拥有者权限可以更改吗?我尝试在创建这个docker时,指定了UID和用户名,但是不起作用,下载下来的文件拥有者是TimeMachine[100]
有办法改成其他用户吗?

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.