Comments (10)
That fix should be unrelated; however, maybe you once run --home=~/x11docker
? That might have caused a recursive softlink.
from dockerfile-x11docker-deepin.
But even after I've removed the folder, it will be created again:
werner@X10DAi:~$ ls -l ~/x11docker/x11docker
lrwxrwxrwx 1 werner werner 1 Dec 7 16:15 /home/werner/x11docker/x11docker -> .
from dockerfile-x11docker-deepin.
But it seems that this problem has been fixed
But even after I've removed the folder, it will be created again
So the issue isn't fixed?
Which command does recreate the softlink?
from dockerfile-x11docker-deepin.
So the issue isn't fixed?
Yes.
Which command does recreate the softlink?
x11docker --runasroot 'sed -r "s/^[[:blank:]]*[|]//" <<-EOF > /etc/sudoers
|#$ sudo grep -Ev '\''^[ ]*(#|$)'\'' /etc/sudoers
|Defaults env_reset
|Defaults mail_badpass
|Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
|root ALL=(ALL:ALL) ALL
|%admin ALL=(ALL) ALL
|%sudo ALL=(ALL:ALL) ALL
|$USER ALL=(ALL) NOPASSWD:ALL
EOF' --network=host --pulseaudio --xoverip --home --share=$HOME --sudouser -c --desktop --init=systemd -- --cap-add=ALL -- hongyizhao/deepin-wine:apricot
from dockerfile-x11docker-deepin.
The related options are --home --share=$HOME
.
But I cannot reproduce the issue, have started this several times:
x11docker --desktop --home --share=$HOME x11docker/xfce
from dockerfile-x11docker-deepin.
Based on my tries, your image x11docker/xfce
doesn't have this problem.
And furthermore, I failed to start my image with the above mentioned options:
$ x11docker --desktop --home --share=$HOME hongyizhao/deepin-wine:apricot
x11docker WARNING: User werner is member of group docker.
That allows unprivileged processes on host to gain root privileges.
x11docker note: Using X server option --xephyr
x11docker note: Xephyr is a quite stable nested X server.
Less stable, but directly resizeable is nxagent with option --nxagent.
Resizing of the Xephyr window is possible with xrandr, arandr or lxrandr.
<error> xsettings.go:310: Start xsettings failed: dial unix /var/run/dbus/system_bus_socket: connect: no such file or directory
-> main.go:240
-> proc.go:201
-> asm_amd64.s:1333
<warning> main.go:242: dial unix /var/run/dbus/system_bus_socket: connect: no such file or directory
<warning> session.go:568: dial unix /var/run/dbus/system_bus_socket: connect: no such file or directory
<warning> main.go:250: export session sessionManager failed: v is not a struct pointer
<warning> manager.go:236: dial unix /var/run/dbus/system_bus_socket: connect: no such file or directory
<warning> util.go:451: failed to get current using graphics card pci id
<warning> util.go:451: failed to get current using graphics card pci id
<warning> manager.go:1089: failed to set brightness for default: The output(916) has invalid gamma size
<info> handle_event.go:198: redo map touch screen
backend_syslog.go:45: <info> syslog is not available: Unix syslog delivery error
backend_syslog.go:45: <info> syslog is not available: Unix syslog delivery error
backend_syslog.go:45: <info> syslog is not available: Unix syslog delivery error
backend_syslog.go:45: <info> syslog is not available: Unix syslog delivery error
backend_syslog.go:45: <info> syslog is not available: Unix syslog delivery error
backend_syslog.go:45: <info> syslog is not available: Unix syslog delivery error
backend_syslog.go:45: <info> syslog is not available: Unix syslog delivery error
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x79ce65]
goroutine 1 [running]:
main.(*SessionManager).launchWaitAux(0x0, 0x8bab59, 0x4, 0x8c3490, 0x16, 0x0, 0x0, 0x0, 0x1a13b8600, 0xc0002b80e0, ...)
/build/startdde-5.6.0.28/session_process.go:77 +0x185
main.(*SessionManager).launchWaitCore(0x0, 0x8bab59, 0x4, 0x8c3490, 0x16, 0x0, 0x0, 0x0, 0x1a13b8600, 0xc0002b80e0)
/build/startdde-5.6.0.28/session_process.go:129 +0x9e
main.launchCoreComponents.func1(0x8c3490, 0x16, 0x0, 0x0, 0x0, 0x8bab59, 0x4, 0x1, 0xc0002ec080)
/build/startdde-5.6.0.28/main.go:112 +0x10d
main.launchCoreComponents(0x0)
/build/startdde-5.6.0.28/main.go:132 +0x35f
main.main()
/build/startdde-5.6.0.28/main.go:267 +0x5bd
from dockerfile-x11docker-deepin.
I've tried with your full command and x11docker/deepin image and still cannot reproduce the issue:
x11docker --runasroot 'sed -r "s/^[[:blank:]]*[|]//" <<-EOF > /etc/sudoers
|#$ sudo grep -Ev '\''^[ ]*(#|$)'\'' /etc/sudoers
|Defaults env_reset
|Defaults mail_badpass
|Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
|root ALL=(ALL:ALL) ALL
|%admin ALL=(ALL) ALL
|%sudo ALL=(ALL:ALL) ALL
|$USER ALL=(ALL) NOPASSWD:ALL
EOF' --network=host --pulseaudio --xoverip --home --share=$HOME --sudouser -c --desktop --init=systemd -- --cap-add=ALL -- x11docker/deepin
And furthermore, I failed to start my image with the above mentioned options:
Of course it fails. deepin needs --init=systemd
and --cap-add=IPC_LOCK
.
from dockerfile-x11docker-deepin.
I've tried with your full command and x11docker/deepin image and still cannot reproduce the issue:
Maybe it only can be reproduced with my image. But I'm afraid that it's time-consuming for you to pull the image in your network environment.
$ docker images | grep hongyi
hongyizhao/deepin-wine apricot 3256a712a268 2 days ago 4.2GB
from dockerfile-x11docker-deepin.
Maybe it only can be reproduced with my image.
That is quite unlikely.
Just in case, run x11docker --cleanup
to remove possible old containers that might be around and cause issues.
from dockerfile-x11docker-deepin.
Just in case, run x11docker --cleanup to remove possible old containers that might be around and cause issues.
I confirm this problem is caused by the bug in one of my self-customized script. So, it does nothing with your x11docker. Sorry for my delay in identifying the source of the problem.
from dockerfile-x11docker-deepin.
Related Issues (20)
- W: Cannot check Release signature; keyring file not available /usr/share/keyrings/deepin-archive-camel-keyring.gpg HOT 2
- Deepin apricot: inputting the digits included in password with num keyboard will freeze the qq login. HOT 4
- The cleanup script will destroy the cache used by synaptic. HOT 9
- Automate the deepin image building progress on Docker hub by writing a build hook script. HOT 2
- The appstore with codename apricot should be used when extending the base Deepin apricot image. HOT 3
- File transfer with wechat in Deepin paricot docker container started through x11docker using bridge network is inefficient and unstable. HOT 3
- Extending Deepin apricot docker image for sound support with x11docker's corresponding options. HOT 23
- About the echo command used for multiple lines case in the Dockerfile. HOT 5
- The strange behavior when using --share=$HOME. HOT 6
- Install and config the fcitx5/fcitx5-rime/rime as the Chinese characters input method engine in Dockerfile. HOT 5
- Disscussion on the environment variables setting of fcitx5 once more. HOT 4
- Failed to run `sudo dmidecode -t 4' in container. HOT 1
- Some warning and info given by x11docker when running deepin-wine image. HOT 1
- The strange garbled Chinese character display problem for qq and fcitx-googlepinyin. HOT 1
- A minimalist Dockerfile used to build the `Deepin` base image.
- New Deepin repositories.
- Use centos7 to cause build failure? [udisks2 dpkg error] HOT 4
- debian bootstrap configuration delayed HOT 2
- debootstrap failed with dpkg error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerfile-x11docker-deepin.