Friday, August 17, 2018

Manjaro Setup

2020-09-05 See This
I suppose if you are going to network, you are somewhat geeky. But Linux is a moving geek target. Turn your back and things change. Arch Linux is the king of change but Manjaro seems to keep information reasonably up to date. Good luck.

Consider Anydesk in the AUR if you need quick and brief transfers.
Anydesk is a great remote desktop.

Linux to Windows networking can be a mystery.
However, Windows to Windows networking can be a mystery.
The setup below worked as of 2018-08-19.
One Win10 machine was driving me crazy - But I discovered I could not access it with Win either.
Don't be too quick to blame Linux. Check to see if you can connect Win to Win.

One problem was not seeing the PCs listed in Network: (SMB Client was not checked) Then all Windows machines displayed. (I had disabled SMB1 because of insecurity warnings. How then can we see the network? Sure IP addresses work but . . .)
Windows has removed SMB1 on recent versions and this is supposed to be the fix:
“Start the “Function Discovery Provider Host” and “Function Discovery Resource Publication” services
But I needed to start SMB1 - it was on my system but turned off.
One PC was driving me crazy. My user name is always "George". But I kept getting a credential error. And lookie here . . . George
But Windows does not care about this. Windows uses your profile name which may or may not be the same. Go to the Windows>Users folder and find what your profile folder is named.
Well hot dang . . . I'm George-Lenovo. And that was the answer.

Switch to Fastest Mirror
sudo pacman-mirrors --fasttrack

Update Manjaro
sudo pacman -Syyu

Install AUR package manager
sudo pacman -S yaourt (this has not changed to yay)

Install Web Browser of Choice
yaourt -S brave
sudo pacman -S chromium

Install/Activate Firewall
sudo pacman -S gufw

Samba
sudo pacman -S samba gvfs-smb thunar-shares-plugin
sudo pacman -S manjaro-settings-samba

systemctl enable smb nmb
systemctl start smb nmb
Restart . . .

You should now be able to access Windows shares.
Your Windows user name is case sensitive and is your profile name and not Win log on name.

To allow Windows to access Linux share . . .

Terminal (I assume your name is George :)
sudo smbpasswd -a george
sudo groupadd smbusers
sudo chown :smbusers /home/george/Share (case sensitive)
sudo usermod -G smbusers george

Add this to smb.conf
[Share] 
        comment = linux share
        force user = george
        browseable = yes
        path = /home/george/Share
        guest ok = yes
        read only = no

If Windows is showing PCs in the Network Folder that are no longer available  . . .
Open an Admin Command Prompt . . .

ipconfig /registerdns
   
Wine
sudo pacman -Sy
sudo pacman -S wine-staging
sudo pacman -S giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo libxcomposite lib32-libxcomposite libxinerama lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader cups samba dosbox

https://wiki.manjaro.org/index.php?title=Using_Samba_in_your_File_Manager

* * * Anydesk remote desktop is also available in the AUR repository. The display is crazy in Virtual Box connecting to host but works fine when connecting to other machines.

Pin Not Available

Crazy Error I had not seen before. Pin not available blah blah. I restarted a few times and it finally worked. If it doesn't some say to...