admin管理员组文章数量:1297061
I have tried multiple things but nothing seems to be working. I managed to do it inside a docker container luckily there is documentation available for the same. But with singularity its a whole different story. Below is a very simple version of one of my def files. where I am entirely trying to disable the dcv authentication process but even that is not getting disabled. It lands me to the login page every time. my host system is Ubuntu 24.04.1 LTS
Bootstrap: docker
From: nvidia/cuda:12.2.2-cudnn8-devel-ubuntu22.04
%post
# System Configuration
export DEBIAN_FRONTEND=noninteractive
apt update && apt upgrade -y
# Install Core Dependencies
apt install -y --no-install-recommends \
wget sudo x openbox mesa-utils \
libglvnd-dev libnss-sss libpam-sss \
pulseaudio xauth dbus-x11 udev
# Install NICE DCV Server
wget .0/Servers/nice-dcv-2024.0-18131-ubuntu2204-x86_64.tgz
tar -xzf nice-dcv-*.tgz
cd nice-dcv-*/ && apt install -y ./*.deb
sed -i 's/#authentication="none"/authentication="none"/' /etc/dcv/dcv.conf
dcvserver restart
# Configure Permissions
#echo "allowed_users = anybody" > /etc/X11/Xwrapper.config
#echo 'SUBSYSTEM=="usb", MODE="0666"' > /etc/udev/rules.d/99-dcv.rules
%environment
export DISPLAY=:1
export XDG_RUNTIME_DIR=/tmp/runtime
export PATH="/usr/local/nvidia/bin:/usr/local/cuda/bin:$PATH"
export LD_LIBRARY_PATH="/usr/local/nvidia/lib:/usr/local/cuda/lib64:$LD_LIBRARY_PATH"
I ran
sudo singularity build dcv.sif dcv.def
then
singularity run --nv dcv.sif
then inside the container
dcvserver --create-session test --owner=ubuntu
I am expecting a working Nice dcv inside a singularity container.
本文标签:
版权声明:本文标题:amazon web services - Running Nice DCV inside a singularity container in an EC2 instance (g4dn.2xlarge) - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741643828a2390070.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论