Skip to content

stangassinger/xrdp_docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xfce on docker
==============

git clone --recursive https://github.com/stangassinger/xrdp_docker

Connecting over network with xrdp
Code parts taken from:
https://github.com/danielguerra69/ubuntu-xrdp

xrdp1 is ubuntu:16.04
xrdp2 is ubuntu:18.04
xrdp3 is ubuntu:24.04

#run
 docker run   --privileged  -v ~/docker/volume/myHome/NN:/home/abc/NN \
              -v /dev:/dev  -v /dev/kvm:/dev/kvm   \
              -v /dev/serial:/dev/serial --device=/dev/pcanusbfd32  \
              -v /dev:/dev     --rm -it --name con_xrdp   \
              --hostname xrdp_server  --shm-size 1g  nn

#####
connect to the machine with:
rdesktop -u abc -p abc -rsound -g 1500x860  172.17.0.2


###################
## Ada Arm Gps
docker run -v ~/docker/volume/myHome/ada_arm:/home/abc \
           -v ~/docker/volume/ssh_etc:/etc/ssh  \
		   --privileged=true \		   
		   -v /dev/bus/usb:/dev/bus/usb  \		   
		   -v /dev/kvm:/dev/kvm \
           --rm -it --name con_xrdp \
           --hostname xrdp_server \
           --shm-size 1g \
           adagpsarm
           

-------------------
Known problems:
Desktop icon can not be generated automatically.
It has to be manually  copied:
cp /tmp/gps_arm.desktop /home/abc/Desktop/gps_arm.desktop
   

Right now there are four different development environments:   
   
###################
## Ada Gps
docker run -v ~/docker/volume/myHome/ada_gtk:/home/abc \
           -v ~/docker/volume/ssh_etc:/etc/ssh  \
           --rm -it --name con_xrdp \
           --hostname xrdp_server \
           --shm-size 1g \
           adagps
           
-------------------
Known problems:
Desktop icon can not be generated automatically.
It has to be manually  copied:
cp /tmp/gps.desktop /home/abc/Desktop/gps.desktop

###################
## Android
docker run -v ~/docker/volume/myHome/android:/home/abc \
           -v ~/docker/volume/ssh_etc:/etc/ssh  \
   		   --privileged=true \
           -v /dev/bus/usb:/dev/bus/usb  \           
           -v /dev/kvm:/dev/kvm \
           --rm -it --name con_xrdp \
           --hostname xrdp_server \
           --shm-size 1g \
           android
           
-------------------
Known problems:
Desktop icon can not be generated automatically.
It has to be manually  copied:
cp /tmp/Android.desktop /home/abc/Desktop/Android.desktop           



###################
## Quartus
## -v /sys:/sys:ro is necessary to prevent quartus to segFault
docker run -v ~/docker/volume/myHome/quartus:/home/abc \
                   -v ~/docker/volume/ssh_etc:/etc/ssh \
                   -v /sys:/sys:ro \
        		   --privileged=true \		           
				   -v /dev/bus/usb:/dev/bus/usb  \			
				   -v /dev/kvm:/dev/kvm \
                   --rm -it --name con_xrdp \
                   --hostname xrdp_server \
                   --shm-size 1g \
                   quartus
                   
                   
###################         
## NN
## this is a playground for neural network         
docker run -v ~/docker/volume/myHome/NN:/home/abc  \
           -v ~/docker/volume/ssh_etc:/etc/ssh   \
		   --privileged=true \		   
           -v /dev/bus/usb:/dev/bus/usb  \           
           -v /dev/kvm:/dev/kvm \
           --rm -it --name con_xrdp      \
           --hostname xrdp_server  \
           --shm-size 1g \
           nn_up                  
                   
-------------------
Known problems:
Desktop icon can not be generated automatically.
It has to be manually  copied:
cp /tmp/quartus.desktop /home/abc/Desktop/quartus.desktop     
cp /tmp/ModelSim.desktop /home/abc/Desktop/ModelSim.desktop  


###################         
!!!! before you connect over rdesktop
!!!! you have to make the rights correct.
!!!! otherwise the remote desktop will stay black.

$ cd ~/docker
$ chmod 777 -R .

         

About

xrdp to ubuntu desktop

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published