![]() ![]() Secondly, are you sure that samba was actually uninstalled? Add the output of pacman -Q samba to the question. Firstly, when installing packages in Arch Linux, pacman -Syu That way, the system stays synced with the repos. On my server I set up the /etc/samba/smb.conf with /etc/samba/smb.conf - workgroup = WORKGROUP server string = Samba Server server role = standalone server log file = /var/log/samba/%m.log max log size = 50 dns proxy = no comment = Home Directories browseable = no writable = yes. User Doesn't have Rights to Create Shares I want to connect to my samba share client and server system are arch systems. To remedy this, create a samba password for your user account: sudo smbpasswd -a theusername This will create a password for the user. If you are getting permission denied when connecting to a new share, one common cause of this is that samba does not have access to Linux user passwords by default. Samba is an implementation of the SMB/CIFS protocol for Unix systems, providing support for cross-platform file and printer sharing with Microsoft Windows, OS X, and other Unix. samba SMB/CIFS file, print, and login server for Unix. Winbind enables Linux to be a full member in Windows domains and to use Windows user and group accounts on Linux. domain logons = yes # if you enable domain logons then you may want a per-machine or # per user logon script # run a specific logon batch file per workstation (machine) logon script = %m.bat # run a specific logon batch file per username logon script = %U.bat # Where to store roving profiles (only for Win95 and WinNT) # %L substitutes for. ![]() Last job is just to change the permissions on the shared folder so that we can access the host (replace username with your username). Note: If full screen doesn’t work, try typing “sudo depmod -a” in a terminal and then reboot again In nano uncomment the desktop environment you want to be the default, in my case it was this line ” Now we need to get the display manager to load automatically at boot, and set the default desktop (note you can install multiple desktops environments lxdm will give you options to boot into them instead of the default if you should wish) sudo systemctl enable lxdm Installing the lxde group using pacman also installs the display manager (called lxdm). I’m all for saving resources so I’m installing the lightweight LXDE. You can choose from a bunch of different environments, from fancy feature rich to bare-bones, see the arch desktop page for the options. This consists of two parts, first the display manager that will log us in and kick off the desktop, and then the desktop environment itself. Reboot using “sudo reboot”, once you are back into the environment type “startx”, and some very basic windows should open confirming that x is working! Type exit in these windows to return to the terminal.įinally, we will install the desktop environment. Sudo nano /etc/modules-load.d/nfĪfter nano opens, add these to these lines to the nf file: I got some good ideas from this post ( ), it might be worth checking it out for a second way of doing this. ![]() Sudo pacman -S xorg-twm xorg-xclock xtermīecause we are using virtualbox, we need to install some helper tools that will allow the graphics to work properly. sudo pacman -S xorg-server xorg-xinit xorg-server-utils mesa Once you are at the line you want to insert your username, type “i” to insert, once you have finished type and then colon “:” and to save and exit (ie “:wq”). Note that visudo uses VI, which can be a little tricky to use for the uninitiated. After typing the visudo command scroll down to the line that contains “root ALL=(ALL) ALL”, and underneath that add your username and the “ALL=(ALL) ALL” part. Sudo has a special editor to change it called “visudo”, we should always use this modify the config file. Useradd -m -G wheel -s /bin/bash dwheeler Obviously substitute for your username and password. Enter a password after the passwd command. This first command creates a home directory called “dwheeler” using the -m flag, adds this user to the administrator group (wheel) with the -G flag and links us to bash. But first off we will setup sudo so we can stop being root. Now that we have our base system installed, its time to add some tools that will give us a nice GUI desktop. **This continues on from the previous post that can be found here** ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |