Ubuntu: Difference between revisions
→XRDP on Ubuntu Server
Line 282:
sudo sed -i.bak '/fi/a #xrdp multiple users configuration \n mate-session \n' /etc/xrdp/startwm.sh
sudo systemctl restart xrdp
==== Samba for Windows Sharing ====
Installation:
sudo apt-get install samba
Set a password for your user in Samba
sudo smbpasswd -a <user_name>
Backup current config file:
sudo cp /etc/samba/smb.conf ~
Edit smb.conf file:
sudo nano /etc/samba/smb.conf
[My Files]
path = /opt/uploads
#valid users = testuser
read only = no
Restart the samba:
sudo service smbd restart
Check your smb.conf for any syntax errors
testparm
To access your network share
sudo apt-get install smbclient
List all shares:
smbclient -L //<HOST_IP_OR_NAME>/<folder_name> -U <user>
Connect:
smbclient //<HOST_IP_OR_NAME>/<folder_name> -U <user>
===Software Centre===
|