[SOLVED] Share Multiple Directories With Samba On Arch Linux and XP

Hello,
I have had the worst luck so far with Samba, which is far more likely because of an error on my part than on Samba's.
I can only seem to share one directory regardless of how I setup my smb.conf. And worse yet, if I mess with Samba, smb.conf, after the first time I set it up it doesn't work again until I reinstall my OS. Now I'm sure that reinstalling isn't the only option, but I haven't figured out how to make it work again any other way. I've tried uninstalling it, deleting it from the cache, deleting /etc/samba and so on, still can't connect to it from XP when I reinstall it.
I'm running Arch64 and I want to share some directories with a laptop running Windows XP.
I want to share my home folder, but have it accessible from XP only by me, share my mother's home folder, and have it accessible on XP only by her (well actually I guess it needs to be accessible by both, since i'm the admin), share my media-server (a collection of five hard drives where I store movies and such), and have it read/write by both of us. And finally share /srv so I can work on that from the XP computer as well. I think that's all. And I would like to share printers between the two computers. I would also like to access XP files from here.
I've always been able to get the media-server to share, but that's it, nothing else. And it doesn't always work right. It doesn't seem to want to follow sym links, but like I say if I mess with it it will stop working all together. So I'm not sure what to do.
A thought was to instead make a /media/samba-share directory and share that, and inside it have symlinks to my home, media-server, etc. However, that will only work if samba will follow symlinks for me.
Here is the smb.conf I am planning to use at the moment:
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
# For a step to step guide on installing, configuring and using samba,
# read the Samba-HOWTO-Collection. This may be obtained from:
# http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
# Many working examples of smb.conf files can be found in the
# Samba-Guide which is generated daily and can be downloaded from:
# http://www.samba.org/samba/docs/Samba-Guide.pdf
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#======================= Global Settings =====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
workgroup = MEDIA-SERVER
netbios name = Avalon
encrypt passwords = true
# server string is the equivalent of the NT Description field
server string = Samba Server
# Symlinks
follow symlinks = yes
wide symlinks = yes
unix extensions = no
# Security mode. Defines in which mode Samba will operate. Possible
# values are share, user, server, domain and ads. Most people will want
# user level security. See the Samba-HOWTO-Collection for details.
security = user
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
; hosts allow = 192.168.1. 192.168.2. 127.
# If you want to automatically load your printer list rather
# than setting them up individually then you'll need this
load printers = yes
# you may wish to override the location of the printcap file
; printcap name = /etc/printcap
# on SystemV system setting printcap name to lpstat should allow
# you to automatically obtain a printer list from the SystemV spool
# system
; printcap name = lpstat
# It should not be necessary to specify the print system type unless
# it is non-standard. Currently supported print systems include:
# bsd, cups, sysv, plp, lprng, aix, hpux, qnx
; printing = cups
# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
; guest account = pcguest
# this tells Samba to use a separate log file for each machine
# that connects
log file = /var/log/samba/%m.log
# Put a capping on the size of the log files (in Kb).
max log size = 50
# Use password server option only with security = server
# The argument list may include:
# password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
# password server = *
; password server = <NT-Server-Name>
# Use the realm option only with security = ads
# Specifies the Active Directory realm the host is part of
; realm = MY_REALM
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
; passdb backend = tdbsam
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting.
# Note: Consider carefully the location in the configuration file of
# this line. The included file is read at that point.
; include = /usr/local/samba/lib/smb.conf.%m
# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
; interfaces = 192.168.12.2/24 192.168.13.2/24
# Browser Control Options:
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
; local master = no
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
; os level = 33
# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
; domain master = yes
# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
; preferred master = yes
# Enable this if you want Samba to be a domain logon server for
# Windows95 workstations.
; 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 this servers netbios name, %U is username
# You must uncomment the [Profiles] share below
; logon path = \\%L\Profiles\%U
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
; wins support = yes
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
; wins server = w.x.y.z
# WINS Proxy - Tells Samba to answer name resolution queries on
# behalf of a non WINS capable client, for this to work there must be
# at least one WINS Server on the network. The default is NO.
; wins proxy = yes
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups. The default is NO.
dns proxy = no
# These scripts are used on a domain controller or stand-alone
# machine to add or delete corresponding unix accounts
; add user script = /usr/sbin/useradd %u
; add group script = /usr/sbin/groupadd %g
; add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
; delete user script = /usr/sbin/userdel %u
; delete user from group script = /usr/sbin/deluser %u %g
; delete group script = /usr/sbin/groupdel %g
include = /etc/samba/usershare.conf
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = yes
writable = yes
[media-server]
comment = Media Server
path = /media/media-server
browseable = yes
writable = yes
printable = yes
valid users = theavataroftime, christina
follow symlinks = yes
[theavataroftime]
comment = The Avatar of Time's Home Directory
path = /home/theavataroftime
browseable = yes
writable = yes
printable = yes
valid users = theavataroftime
follow symlinks = yes
[christina]
comment = Christina's Home Directory
path = /home/christina
browseable = yes
writable = yes
printable = yes
valid users = christina
follow symlinks = yes
[server]
comment = Server
path = /srv
browseable = yes
writable = yes
printable = yes
valid users = theavataroftime, christina
follow symlinks = yes
# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
; comment = Network Logon Service
; path = /usr/local/samba/lib/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
; path = /usr/local/samba/profiles
; browseable = no
; guest ok = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
Set public = yes to allow user 'guest account' to print
guest ok = yes
writable = no
printable = yes
# This one is useful for people to share files
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = @staff
# Other examples.
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /homes/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes
# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no
# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
# also use the %U option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/pc/%m
; public = no
; writable = yes
# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no
# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765
Now I wouldn't think I would need to list my home and mom's home seperately, but since [homes] has never worked for me in the past i thought i would give it a try. Does this look like something that would do what I am wanting?
Otherwise I would delete [homes], [media-server], [theavataroftime], [christina], and [server] and replace them with just [samba-share] with all those as symlinks inside that directory as before mentioned.
Anyway, thanks for the help. Any good guide on this matter would be appreciated, I have looked at several, but more can't hurt . Networking isn't my thing so to speak, so please be specific in any explanations. Thanks again.
Last edited by The Avatar of Time (2009-03-02 03:38:12)

Well it seems that my trouble all started when I began using the 'printable = yes' option for shares. Since I removed that the troubles seem to have left me.
Does anyone know why that is listed as on option in smb.conf here:
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = @staff
As well as in a few other examples if it doesn't work? I seen the example and assumed that option was needed to print from those shared directories.
Also, it seems that the comma is not needed between the 'valid users' names.
Also, I guess it wasn't Windows XP's fault either but rather my own ignorance. I like the idea of blaming Windows better though.....
I hope this servers to help others to aviod my mistakes.

Similar Messages

  • How do I share multiple contacts with another iPhone?

    How do I share multiple contacts with another iPhone? Thanks in advance.

    What do you mean share? 
    It is not possible to send contacts from one iPhone to another without installing an app that would support this.  Bump is one such app.
    There is no functionality in iOS to do this.  iCloud can share contacts across multiple iDevices, but it would be ALL contacts, just just a few.

  • Mounting multiple directories with same name on different severs to a single mount point on another server

    We have a requirement where in we have multiple solaris servers and each solaris server has a directory with the same name.
    The files in these directories will be different.
    These same name directories on multiple severs has to be mounted to a single directory on another sever.
    We are planning to use NFS, but it seems we can not mount multiple directories with same name on different severs to a single mount point using NFS, and we need to create multiple mount points.
    Is there any way we can achieve this so that all the directories can be mounted to a single mount point?

    You can try to mount all these mount points via NFS in one additional server and then export this new tree again via NFS to all your servers.
    No sure if this works. If this works, then you will have in this case just an additional level in the tree.

  • [SOLVED]Arch Linux, and Windows 8.1 Dual Boot issue

    Hi guys. I recently bought a new laptop, and decided to run Arch Linux and Windows 8.1. I installed Windows 8.1 first as recommended by the beginners guide, and then installed Arch Linux. I made sure UEFI was enabled in my BIOS, and made sure everything was on a GPT partition. The install itself went fine. My laptop loads grub, and Arch Linux shows up and boots, but there is no option to boot into Windows 8.1. The only way I can boot into Windows 8.1 is by accessing my motherboard, and choosing to launch the windows boot manager instead of the grub launcher. How can I get Windows 8.1 to show up in grub? Thanks in advance guys.
    Last edited by Painguy (2014-08-20 20:19:37)

    Painguy wrote:
    -----------Edit------------------
    Yeah just ran this after installing os prober
    grub-mkconfig -o /boot/grub/grub.cfg
    and it works now. Sorry for the crazy posts guys. Thanks for the suggestions and help.
    Yeah I'm sure I'm doing something wrong lol. I did not install OS-Prober. I think that's where the issue is. I'm missing the menu entry in grub.cfg right? Do I just run os prober or do I have to manually edit grub.cfg.
    If that's not the case then here is what I did up until now. What I did was start with a blank SSD drive. I used cgdisk to make the disk use a GPT partitioning scheme. I installed windows 8.1 and checked in windows to make sure it boots into UEFI-GPT mode and it does.  I then installed arch linux using the beginners guide. I made sure to use cgdisk to create any extra partitions, and installed GRUB to the efi partition that windows had created ( I did not format this partition ). I then finished the installation and rebooted, and Grub only shows arch linux. I don't think I'm dealing with anything MBR related. I made sure I used the GPT partitioning scheme....i think lol.
    All you need to do is run os-prober then run grub-mkconfig. It should pick up Windows at that point.

  • How to share a project with a non-Adobe user and present it to prospect customers?

    I Have to share my project with a person who will present it to prospect customers. I cannot ask this person to open an Adobe account. Is there a way for him to access my DPS folio and show it? Or can I export it in a way that allows to appreciate the interaction features built inside?
    Thanks!

    OK, got it. Thank you!
    2015-01-17 14:46 GMT+01:00 Bob Levine <[email protected]>:
        How to share a project with a non-Adobe user and present it to
    prospect customers?  created by Bob Levine
    <https://forums.adobe.com/people/BobLevine> in Digital Publishing Suite
    - View the full discussion
    <https://forums.adobe.com/message/7105349#7105349>

  • I am having multiple issues with syncing my iphone calendar and outlook There are often 1 hour time differences in the entries on the 2 devices and sometimes events that have been amended are not updated on iphone I mostly enter items on my laptop

    I am having multiple issues with syncing my iphone calendar and outlook calendar on my laptop
    I mostly enter the original items on my laptop
    There are often 1 hour time differences in the entries on the 2 devices and sometimes events that have been amended are not updated on iphone

    This sounds like an error in Time Zone support. The time zone needs to be the same in Outlook as well as the phone.

  • Have Installed Arch Linux and Xmonad on 2013 15" MacBook Pro Retina

    I just recieved the latest stunning MacBook Pro Retina 15" (ME665) released in Feb 2013, couldn't wait to install the Arch Linux 2013.02.01 on it, dual boot with Mac OSX.
    I'm impressed by the performance of this device after working with the combo of Arch Linux and Xmonad for several days, everything works out of the box, including touchpad, audio, video, wireless network, bluetooth, etc. Even the apperance of most apps are compatible with the high resolution of Retina display.
    Another important thing is the battery life, 5 hours! Program and compile, listen music, download AOSP through Wi-Fi, watch YouTube videos with Flash hardware accelaration on.
    For the installtion details, see my long blog post at http://vec.io/posts/use-arch-linux-and- … na-display
    -- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
    Last edited by vecio (2013-02-28 02:22:38)

    Can you tell me what your /sys/class/backlight/gmux_backlight/brightness and max_brightness values are? This has not worked out of the box for me.

  • Incorporating both Arch Linux and a package repository onto one DVD.

    Dear Arch Linux community,
    I would like to tell you a little background information about myself before I start to talk about my actual subject. I know that this part of my message does not belong here, but it is my own ritual to do it like this in my first message in every community. I hope I can make friends with people here and try not to harm this community in any way. Thank you for reading this.
    I am a 16-year-old male student from Finland and addicted to GNU/Linux and freeware / open source software. My previous experience with GNU/Linux is fairly large; from thin client Debian GNU/Linux administrator to kernel hacker and software developer. My delight is music, particularly writing and composing my own music tracks which vary from classic chiptunes to acid trance and dance beats. Arch Linux seems to be a great GNU/Linux operating system for me, because I am looking for a GNU/Linux distribution that does not focus on desktop, but rather on simplicity and lightweight solutions. I also do not fear "bleeding edge" software which is a positive point for Arch Linux compared to Debian GNU/Linux. As you can probably notice I have been using Debian GNU/Linux before I considered Arch Linux. However now I am here hoping for a totally new experience from Arch Linux.
    Enough with my foreword, I would like to now go back to the actual subject. Usually I use DVD media for GNU/Linux images to have both the installer for the GNU/Linux distribution and the main package repository to make installations faster and to have the possibility for an offline installation. As I see, Arch Linux provides only CD images which are approximately 160MB in size, making me to think about incorporating Arch Linux's "Core" and "Extra" package repositories to fill up the remaining 4GB on the DVD. If the "Core" package repository is already included in the Arch Linux CD image, please forgive my lack of information as this is the first time I have ever entered to the world of Arch Linux.
    My question is as follows: Is it possible to incorporate Arch Linux and a package repository onto one DVD while retaining the ability to install Arch Linux from that DVD? If positive, how should I go on to do it?
    Thank you in advance!
    Last edited by Amplify.EXE (2007-11-09 20:53:44)

    No niin, tervetuloa arch-mailmaan.
    Ok, I better stop at one sentence before someone gets mad at me :roll:.
    To answer your question, yes. It is quite possible to put something like that together, heck I think someone suggested we should distribute those some time, but we decided not to (don't quote me, I'm too lazy to read the archives right now) since in most cases pacman will get the job done will job done with less bandwidth waste, and distributing huge snapshots isn't really too conducive to the whole rolling-release thing.
    You might want to check out archiso [1], the install scripts [2], and one of my sample archiso configurations [3] that effectively creates an install CD. Now, keep in mind that archiso isn't the *current* way installers are created, but I think it's much more straightforward to work with than what we're using right now. That said, we currently use archboot to create the CDs, so that may be worth taking a look at as well. There is also a really old installer remastering wiki article [4], though not terribly relevant, you could still use a similar technique to pull apart one of our recent install iso's and remaster it with whatever packages you want. Anyhow, if you'd like help with this, I'd be more than happy to give you a hand (I need some more test-cases for archiso...), or if you look at it and go "gee, this is dumb", don't be afraid to send patches. Just get in touch with me through email, jabber, irc, or whatever.
    Good luck
    [1] http://projects.archlinux.org/git/?p=ar … a=summary)
    [2] http://projects.archlinux.org/git/?p=in … ;a=summary
    [3] http://code.neotuli.net/gitweb/?p=archi … stall-conf
    [4] http://wiki.archlinux.org/index.php/Rem … nstall_ISO

  • [SOLVED] Share Ethernet Internet with Wifi AdHoc Network

    After several hours of searching other similar threads, I cannot find anything which turns out to be useful for what I'm trying to do specifically.
    I have a laptop with ethernet card and built-in wifi. With Arch Linux I have configured both before using both the ipconfig/iwconfig methods and using Wicd. I am currently connected to the internet using Wicd and Ethernet (only because Wicd is already installed and configured when I got this internet connection). It would violate the terms of my internet service here (in a dorm room through dorm sponsored internet) to connect a wireless router to the internet connection.
    What I want to do then, is set up my laptop so that it accesses the internet through the ethernet connection, and shares it with my iPod Touch through an Adhoc configured on the wifi card. I believe this still may be a small violation of the terms of service with my provider, but I really just want to be able to update/download apps on my iPod.. not let the whole floor have internet for the low price of one room.
    Thanks in advance for any help, let me know if I need to provide more specifics for what I'm trying to do.
    Last edited by sethfouts (2010-07-01 14:31:40)

    you can use iwconfig to set up the ad hoc connection (i dont know enough about wicd to see if it'll work with it)
    iwconfig wlan0 up
    iwconfig wlan0 192.168.100.1 netmask 255.255.255.0
    iwconfig mode ad-hoc
    iwconfig wlan0 channel auto
    iwconfig wlan0 essid MYPC
    you can then use your ipod to connect to this ad hoc network and assign the ipod an ip address 192.168.100.2, make sure to ping the ipod to see if its connected corrently or not.
    you can then use iptables to NAT the connections, iptables -t nat -A POSTROUTING  -s 192.168.100.0/24 -o eth0 -j MASQUERADE
    make sure ip forwarding is enabled by using, echo  1 > /proc/sys/net/ipv4/ip_forward

  • [Solved] RAID 0 with Arch Linux and Intel Matrix Storage Manager

    I just bought a brand new DELL Studio desktop and it has 2 500 HD's which I would like to run in RAID 0. I've setup the BIOS to run the RAID 0. Now I want the arch linux installation to recognise the volume. I followed the guide on the wikipage
    http://wiki.archlinux.org/index.php/Ins … _Fake-RAID
    but /dev/mapper doesn't show anything after modprobing the modules and installing dmraid. My controller is a intel matrix storage controller, so what module should I modprobe because sata_sil isn't the right one.
    Regards
    André
    Last edited by fettouhi (2008-12-15 10:57:18)

    you have a separate /boot partition, so your menu.lst must say :
    root (hd0,0) # the partition including /boot
    kernel /vmlinuz26 ... # without leading /boot
    initrd /kernel26.img # without leading /boot
    (in grub, / is the root of the partition that was set with the root command, your vmlinuz26 and kernel26.img are in (hd0,0)/, not in (hd0,0)/boot/)
    did you install from core CD or from FTP ?
    there was a dmraid update few weeks ago that modified device names that dmraid creates :
    it add "p" before the number of the partition (your iws...Volume0 don't change, but your iws...Volume0# change to iws...Volume0p#)
    if you installed from core CD, you will only need to add this "p" when you will upgrade dmraid (or the full system)
    (you will then need to edit both /boot/grub/menu.lst and /etc/fstab)
    if you installed from FTP, you need to add this "p" now, as you installed last version of dmraid

  • Share files between Arch Linux and XP Home

    Hi, I have an Arch Linux desktop and a XP Home Laptop both connected to a Billion 7401 ADSL Router to get to the internet. If I am using any computer sometimes I have a need to use files from the other one, and from an external HDD connected to the XP laptop. I have been googling for the last 3 weeks but could not find a concrete solution to this issue, maybe because I don't understand much about networking or p2p, and samba. Looks like I have to spend more money on either another computer to be setup as a server or on a router or hub or switch? But I thought my Billion Router is already a router? I wonder if you can please help me to solve this problem or point me to a good link? Thanks a lot.

    SSHFS is another more Linux native option for sharing files (and it can be compatible with XP too using special programs).
    http://en.wikipedia.org/wiki/SSHFS
    http://wiki.archlinux.org/index.php/Sshfs
    As I understand it XP Home uses simple file sharing which can be really insecure depending on your needs.  Once when I ran a computer with Linux and was needing to set up a samba share I discovered massive issues since (at the time) I was connecting regularly over a shared wireless network among untrusted persons.  I ended up looking into using SSH tunneling to overcome the issues associated with XP Home's Simple File sharing and that is when I came across SSHFS.
    Whatever you do make sure to read this about XP Home's "Simple Filesharing"
    http://www.centerlineit.com/index.php?v … q&Itemid=9
    It's important you understand it.
    Last edited by davidm (2010-04-12 04:01:34)

  • How to setup grub2 with arch linux and xen, lvm on luks

    OK, so I tried downloading this package from AUR:  https://aur.archlinux.org/packages/xen-git/ , but that has patching problems as noted in the comments.  It looks like the packagebuild sets up all the xen stuff for you, but I can't seem to get the package to install because of the error's while patching.  If anyone can point me in the right direction on what all the extra files in the PKGBUILD are for or how to debug problems with PKGBUILDs not working because of patches.
    So next I just tried to compile the latest xen from git://xenbits.xen.org/xen.git (with ./configure, make, make install) and that seemed to go fine, but I'm a bit confused:
    1.  Do I have to do any additional configuration for xen when working with arch linux?  On ubuntu I could just compile the source, update grub, and make sure to start the x services at runtime.
    2.  How do I set up grub to load xen with this setup?  Right now this is my /boot/grub/grub.cfg:
    GRUB_DEFAULT=0
    GRUB_TIMEOUT=5
    GRUB_DISTRIBUTOR="Arch"
    GRUB_CMDLINE_LINUX_DEFAULT="quiet"
    GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda3:vgStorage"
    # Preload both GPT and MBR modules so that they are not missed
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    # Uncomment to enable Hidden Menu, and optionally hide the timeout count
    #GRUB_HIDDEN_TIMEOUT=5
    #GRUB_HIDDEN_TIMEOUT_QUIET=true
    # Uncomment to use basic console
    GRUB_TERMINAL_INPUT=console
    # Uncomment to disable graphical terminal
    #GRUB_TERMINAL_OUTPUT=console
    # The resolution used on graphical terminal
    # note that you can use only modes which your graphic card supports via VBE
    # you can see them in real GRUB with the command `vbeinfo'
    GRUB_GFXMODE=auto
    # Uncomment to allow the kernel use the same resolution used by grub
    GRUB_GFXPAYLOAD_LINUX=keep
    # Uncomment if you want GRUB to pass to the Linux kernel the old parameter
    # format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
    #GRUB_DISABLE_LINUX_UUID=true
    # Uncomment to disable generation of recovery mode menu entries
    GRUB_DISABLE_RECOVERY=true
    # Uncomment and set to the desired menu colors. Used by normal and wallpaper
    # modes only. Entries specified as foreground/background.
    #GRUB_COLOR_NORMAL="light-blue/black"
    #GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
    # Uncomment one of them for the gfx desired, a image background or a gfxtheme
    #GRUB_BACKGROUND="/path/to/wallpaper"
    #GRUB_THEME="/path/to/gfxtheme"
    # Uncomment to get a beep at GRUB start
    #GRUB_INIT_TUNE="480 440 1"
    #GRUB_SAVEDEFAULT="true"
    ~
    I've tried throwing in a line like: XEN_HYPERVISOR_CMDLINE="cryptdevice=/dev/sda3:vgStorage", but nothing new shows up on the grub boot menu.
    First time trying to set up a non-ubuntu system, please help!

    As for XEN.... well you could always try QEMU/KVM or LXC.
    As for the LVM2-on-LUKS/dm-crypt
    My /etc/mkinitcpio.conf looks like this...
    MODULES="aesni_intel ata_generic ata_piix nls_cp437 ext4 intel_agp i915 dm-snapshot"
    BINARIES=""
    FILES=""
    HOOKS="base udev autodetect block keymap encrypt lvm2 filesystems keyboard fsck shutdown"
    /etc/defaults/grub
    GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda2:root:allow-discards"
    GRUB_PRELOAD_MODULES="part_gpt part_msdos"
    GRUB_TERMINAL_INPUT=console
    GRUB_GFXMODE=auto
    GRUB_GFXPAYLOAD_LINUX=keep
    GRUB_DISABLE_RECOVERY=true
    The running grub config looks like this
    /boot/grub/grub.cfg
    9 insmod part_gpt
    10 insmod part_msdos
    53 if loadfont unicode ; then
    54 set gfxmode=auto
    55 load_video
    56 insmod gfxterm
    57 set locale_dir=$prefix/locale
    58 set lang=en_US
    59 insmod gettext
    60 fi
    61 terminal_input console
    62 terminal_output gfxterm
    63 set timeout=3
    84 menuentry 'Backup, Arch Linux grsec kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-grsec kernel-true-12341234-8080-8080-8080-332200882255' {
    85 load_video
    86 set gfxpayload=keep
    87 insmod gzio
    88 insmod part_msdos
    89 insmod ext2
    90 set root='hd1,msdos2'
    91 if [ x$feature_platform_search_hint = xy ]; then
    92 search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2 BBAAEEAA-FFCC-CCFF-FFCC-AABBCCEEBBAA
    93 else
    94 search --no-floppy --fs-uuid --set=root BBAAEEAA-FFCC-CCFF-FFCC-AABBCCEEBBAA
    95 fi
    96 echo 'Loading Linux grsec kernel ...'
    97 linux /vmlinuz-linux-grsec root=/dev/mapper/VolGroup00-lvroot rw cryptdevice=/dev/sda2:root:allow-discards quiet
    98 echo 'Loading initial ramdisk ...'
    99 initrd /initramfs-linux-grsec.img
    100 }
    Things to note:
    Numerical UUID is the UUID of the ROOT partition.
    Alphabetical UUIS is the BOOT partition
    hd1,msdos2 AND ahci1,msdos2 are how the Grub Bootloader numbers the drives not Linux.
    I have my BOOT partition on a USB stick, and it is the Second partition.
    So, that would make it, Device 2 and Partition 2
    Device numbering starts at 0
    Partition numbering starts at 1
    Oh, and note that you don't need ":allow-discards" ... at all but certainly if you don't have an SSD. Also note that I included the line numbers so it is very clear that I didn't post the whole thing, but instead what I thought was relevant. Finally, I am loading modules that I don't even need, but what the hell... if it ain't broke, don't fix it
    Last edited by hunterthomson (2013-12-04 08:31:45)

  • Need to load multiple skins with only a single .swf and config.xml

    Hello
    These are part of some instructions that were of a AS3 Mp3 Store I purcased
    Well guys the new AS3 flash cart system can have skins hot swapped in and out with out having to recompile the actionscript code.
    You can even have multiple skins on the same cart and use different ones in different places of your website.
    This is all because the flash cart system itself runs seperate from the graphical user interface that the customer visits.
    When you purchase a new cart skin, or if you edit your own custom skin, you can place the swf file for it in the "skins" directory of your flash cart installation directory. Then in the config file where you "embed" the cart on your website you include the name of the skin you'd like to use (the skin MUST be available in your skins directory).
    The other plus to using the skin system is you can keep the cart application seperate from your site. No longer do you have to have all that ugly php code and cramped swf files floating along side your website html files. No instead you create an install directory then simply embed the cart from where ever it is. The only litigation is that the cart must exist on the same server as the website you are showing it publicly on.
    So right now I have a website with the store set up and working, allowing the buyer  to listen to the tracks, add to cart and checkout after which they are given an instant download link to the purcased files.
    What I want to do now though is break up the songs into differents carts/skins within a dropdown list in my website as quoted in the instructions above, according to genre.
    So I have published 4 different skins  as
    MusicSkin 1.fla
    MusicSkin 2.fla
    MusicSkin 3.fla
    MusicSkin 4.fla
    and have placed these on my server
    The cart works by Index.html > loads the Main.swf >loads MusicSkin.fla which is called by via config.xml 
    (<?xml version="1.0"?>
    -<config><skin src="MusicSkin"/><db src="/" sandbox="false" type="sql"/></config>
    I am having trouble configuring how to call on 4 different Skins into different pages on my site if I only have ONE index.html, Main.swc and config.xml files which according to the instructions is possible!
    Hope this makes sense, I get how it works on one skin but not how it works/or to make it work with multple ones on a website.

    Is this possible...anyone!!!!!!!!!!!!!!!!
    Really hoping to getting this working soon.
    I am wondering if i have to copy the instances of the different skins into the config file above and each swf and html file loads the corresponding on in the list, or does each instance require it's own config file, which would then be a problem I think, because I could not have 4 config.xml files in the same directory which is what the Action Script is calling on.

  • [Solved] Please help setting up xbmc on Arch Linux

    Trying to setup Arch Linux on my Asus Chromebox to run XBMC at startup. I have installed the following packages as per a guide on another site, xorg-server xorg-xinit xf86-video-intel xbmc. Whan I try to manually start xbmc, it gives me
    Error: unable to open display
    XBMC needs hardware accelerated OpenGL rendering.
    Install an appropriate graphics driver.
    Please consult XBMC Wiki for supported hardware
    [url=http://wiki.xbmc.org/?title=Supported_hardware]http://wiki.xbmc.org/?title=Supported_hardware"[/url]
    When I try startx, I get the following
    X.Org X Server 1.16.2
    Release Date: 2014-11-10
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 3.17.2-1-ARCH x86_64
    Current Operating System: Linux bunga 3.17.4-1-ARCH #1 SMP PREEMPT Fri Nov 21 21:14:42 CET 2014 x86_64
    Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=c20ca43d-7d5a-4335-bca3-a0224f2280c3 rw quiet
    Build Date: 10 November 2014 07:52:13PM
    Current version of pixman: 0.32.6
    Before reporting problems, check [url]http://wiki.x.org[/url]
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Mon Dec 8 23:23:00 2014
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"
    /etc/X11/xinit/xinitrc: line 51: twm: command not found
    /etc/X11/xinit/xinitrc: line 53: xterm: command not found
    /etc/X11/xinit/xinitrc: line 54: xterm: command not found
    /etc/X11/xinit/xinitrc: line 55: exec: xterm: not found
    xinit: connection to X server lost
    waiting for X server to shut down (EE) Server terminated successfully (0). Closing log file.
    That's as far as I've been able to get, what else do I need to do?
    Thanks for any help!
    Last edited by regder (2014-12-13 03:49:29)

    Thank you, wasn't sure how to interpret X's output. I'm just trying to start xbmc from the command line, haven't tried yet getting it to autostart. Is there another command I should be using so it invokes X?
    jasonwryan wrote:
    Well, the error message is pretty clear: X is starting successfully, there is just nothing for it to do.
    What method are you using to start xbmc? https://wiki.archlinux.org/index.php/Xb … r_ondemand

  • SOLVED (?): my problem with HotSync (USB, Zire 72 and Win XP)

    As noted in many other messages, it is not uncommon for the HotSync to fail with USB connection when the "Local USB" option disappears from the manager menu.
    I noticed this earlier today and like many others had information that I needed to transfer via USB to my computer.
    After a number of false tries, I saw a message about using Device Manager to check the status of the handheld.  In my case, the device had a yellow blob with a "?" on it and when I right-clicked, it said the driver was not available.
    Following another post, I located the drivers and used the Hardware Wizard to update the driver.  
    This was not straightforward to me and I am posting to mention what worked for me.
    The problem is telling the Wizard what file to use or ALTERNATIVELY where to find it OR what type of driver file to look for.
    In my case, I told it to look in the palm directory (this is wrong, it is in the USB_Drivers subdirectory and I didn't realize it, or the Wizard didn't let me go to the subdirectory level).  The Wizard did not allow me to click OK (greyed out) and so I tried the alternative of looking by TYPE.  Here it displayed palm handheld as one type and I selected this, but again the OK was greyed out.
    I took another look at the choices and selected ports and com (probably kind of an obvious choice for a USB connection <g>) and this one came up with a specific .sys file and I was now able to click OK.
    The Wizard went through an install and afterward, I tried hotsyncing and it worked without a problem.
    I believe the problem is caused at least in part because the Palm Install program doesn't install the driver in the subdirectory (in Win32?) where Win XP expects it.
    Since the file is now in the right place, hopefully it is a real (permanent) solution.
    Thanks for the messages others posted that helped me (hopefully) fix this.
    Steve
    Post relates to: Zire 72

    Do you have the latest system driver updates.Think the latest update (version 2.78,updated through Live Update or the verion at nVidia website) does address that issue. I updated,however, I do not have any 2.0 devices so I am not sure that my 2.0 is working.They work fine for me at 1.1.
    There is also a USB 2.0 patch version 5.1.2600.1106 available on Live Update as well. I have already updated that as well

Maybe you are looking for

  • ITunes wont recognise iPhone

    iPhone 5s model A1457. I have two Windows 7 64 bit laptops, one has iTunes 11.4 running, the other has the latest iTunes 12.0.1 iOS was 7.something and I stupidly tried to update overthe air to 8.1.2 Something went wrong and it is stuck in recovery m

  • Flex SDK

    I am trying to see which Flex SDK are reported. Some places mention 2.0 as the only supported version, however, a current project really needs it to support 3.x, does this SDK absolutely not work?

  • Error while configuring Informatica Repository

    HI, I am getting error while configuring repository services in Informatica(http://host:6008/administrator) can any one rectify how to do this this is log i found in infoematica - services OBJM_54538 Unable to connect to the repository Info_rep on da

  • How can I get firefox to highlight downloaded file when opening containing folder in linux mint 13

    When I use open containing folder to locate the download, the file is not highlighted which, given the size of my downloads folder, makes it a chore to locate the file (especially when you've forgotten what it's named). The file manager I'm using is

  • Imesh has taken over. Wont get out. Has taken over my homepage.

    I downloaded imesh to get access to more music. It has now taken over my computer like a virus. I have w XP and have removed it out of the add/remove section of the computer. CNN is my homepage, but since downloading It, cannot get my hompage back. E