-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unprivilieged user #4
Comments
It's just a docker container.. I believe you should be able to add a non-priviledged user via the terminal and su into the user and/or launch the app with that user |
sure, but I thought it were possible to do with Dockerfile to get a vnc user session. # add user
ENV user developer
ENV HOME /home/$user
RUN useradd -d $HOME -ms /bin/bash $user && \
echo "$user:$user" | chpasswd && adduser $user sudo
RUN mkdir $HOME/.vnc
ADD xstartup $HOME/.vnc/xstartup
ADD passwd $HOME/.vnc/passwd
RUN chmod 600 $HOME/.vnc/passwd
RUN chown -R $user $HOME
# start vnc server
USER $user
CMD /usr/bin/vncserver :1 -geometry 1280x800 -depth 24 && tail -f $HOME/.vnc/*:1.log
|
Same issue here. Google Chrome and tor won't allow it to run in root mode. @vilinski Where you able to get this working? |
it must be something obvious, but no, still no luck for me |
@vilinski I decided to go with my own repository and build this: https://github.com/cesarandreslopez/docker-ubuntu-mate-desktop-nomachine |
@cesarandreslopez thanks for sharing! i will try it |
Hi,
is it somehow possible to make it working with an unprivilieged user? Some apps (e.g. visual studio code ) won't work under root account
The text was updated successfully, but these errors were encountered: