Systemd vboxweb.service mod when needing to start as non-root user

Hi,
Don't know if this will help anyone, but here goes,
I wanted the systemd service unit to run using my local account but to get this to work, I had to do the following:
1. Create a file called vboxweb_mod.conf in /etc/tmpfiles.d with the below inside it (replace <user> <group> with your username and group you want vboxweb started with.)
D /run/vboxweb 0755 <user> <group>
2. Create /etc/systemd/system/vboxweb_mod.service to look like this: (replace <user> <group> with your username and group you want vboxweb started with.)
[Unit]
Description=VirtualBox Web Service
After=network.target
[Service]
Type=forking
PIDFile=/run/vboxweb/vboxweb.pid
ExecStart=/usr/bin/vboxwebsrv --pidfile /run/vboxweb/vboxweb.pid --background
User=<user>
Group=<group>
[Install]
WantedBy=multi-user.target
3. Issue command
#systemctl enable vboxweb_mod.service
4. Either reboot or issue command
#systemctl start vboxweb_mod.service
Hope this helps someone out. (I had to do something similar to get sabnzbd running correctly as a systemd service. :-))

Thanks, you helped me. I had gotten hung up on '--user = <vboxuser>' in the ExecStart line, which works for one of my other services, but not this one.

Similar Messages

  • [SOLVED] Xorg not starting on non-root user [My First Linux]

    Hello, I recently turned back to linux after digging up my old ASUS EEE 900a, which I messed up with partitioning fun after trying to cram Windows XP on it and etc. Anyways, I managed to fix it, and after Ubuntu being too big, I was turned on to Arch as a good distro, and I've been having a very good time setting everything up so far.
    Anyways: My issue arises after needing to use a different user in order to use Chrome. I created a new account and tried to run startx like I usually do. It spat out the usual few lines, but failed and gave me this log:
    [ 4616.974]
    X.Org X Server 1.14.1
    Release Date: 2013-04-17
    [ 4616.974] X Protocol Version 11, Revision 0
    [ 4616.974] Build Operating System: Linux 3.8.7-1-ARCH i686
    [ 4616.974] Current Operating System: Linux archieee 3.9.4-1-ARCH #1 SMP PREEMPT Sun May 26 11:56:48 CEST 2013 i686
    [ 4616.975] Kernel command line: root=/dev/sda1 ro initrd=../initramfs-linux.img BOOT_IMAGE=../vmlinuz-linux
    [ 4616.975] Build Date: 17 April 2013 02:43:06PM
    [ 4616.975]
    [ 4616.975] Current version of pixman: 0.30.0
    [ 4616.975] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 4616.975] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 4616.977] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Jun 4 21:56:02 2013
    [ 4616.977] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 4616.978] (==) No Layout section. Using the first Screen section.
    [ 4616.978] (==) No screen section available. Using defaults.
    [ 4616.978] (**) |-->Screen "Default Screen Section" (0)
    [ 4616.978] (**) | |-->Monitor "<default monitor>"
    [ 4616.978] (==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
    [ 4616.978] (==) Automatically adding devices
    [ 4616.978] (==) Automatically enabling devices
    [ 4616.978] (==) Automatically adding GPU devices
    [ 4616.978] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 4616.978] Entry deleted from font path.
    [ 4616.978] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
    [ 4616.978] Entry deleted from font path.
    [ 4616.978] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
    [ 4616.978] Entry deleted from font path.
    [ 4616.978] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
    [ 4616.979] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
    [ 4616.979] Entry deleted from font path.
    [ 4616.979] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
    [ 4616.979] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/
    [ 4616.979] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 4616.979] (II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
    [ 4616.979] (II) Loader magic: 0x8258620
    [ 4616.979] (II) Module ABI versions:
    [ 4616.979] X.Org ANSI C Emulation: 0.4
    [ 4616.979] X.Org Video Driver: 14.1
    [ 4616.979] X.Org XInput driver : 19.1
    [ 4616.979] X.Org Server Extension : 7.0
    [ 4616.980] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 4616.983] (--) PCI:*(0:0:2:0) 8086:27ae:1043:8340 rev 3, Mem @ 0xf3e00000/524288, 0xd0000000/268435456, 0xf3dc0000/262144, I/O @ 0x0000cc00/8
    [ 4616.983] (--) PCI: (0:0:2:1) 8086:27a6:1043:8340 rev 3, Mem @ 0xf3e80000/524288
    [ 4616.983] Initializing built-in extension Generic Event Extension
    [ 4616.983] Initializing built-in extension SHAPE
    [ 4616.984] Initializing built-in extension MIT-SHM
    [ 4616.984] Initializing built-in extension XInputExtension
    [ 4616.984] Initializing built-in extension XTEST
    [ 4616.984] Initializing built-in extension BIG-REQUESTS
    [ 4616.984] Initializing built-in extension SYNC
    [ 4616.984] Initializing built-in extension XKEYBOARD
    [ 4616.984] Initializing built-in extension XC-MISC
    [ 4616.985] Initializing built-in extension SECURITY
    [ 4616.985] Initializing built-in extension XINERAMA
    [ 4616.987] Initializing built-in extension XFIXES
    [ 4616.990] Initializing built-in extension RENDER
    [ 4616.993] Initializing built-in extension RANDR
    [ 4616.995] Initializing built-in extension COMPOSITE
    [ 4616.998] Initializing built-in extension DAMAGE
    [ 4617.000] Initializing built-in extension MIT-SCREEN-SAVER
    [ 4617.003] Initializing built-in extension DOUBLE-BUFFER
    [ 4617.005] Initializing built-in extension RECORD
    [ 4617.007] Initializing built-in extension DPMS
    [ 4617.010] Initializing built-in extension X-Resource
    [ 4617.012] Initializing built-in extension XVideo
    [ 4617.015] Initializing built-in extension XVideo-MotionCompensation
    [ 4617.017] Initializing built-in extension XFree86-VidModeExtension
    [ 4617.019] Initializing built-in extension XFree86-DGA
    [ 4617.021] Initializing built-in extension XFree86-DRI
    [ 4617.023] Initializing built-in extension DRI2
    [ 4617.023] (II) LoadModule: "glx"
    [ 4617.024] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 4617.024] (II) Module glx: vendor="X.Org Foundation"
    [ 4617.024] compiled for 1.14.1, module version = 1.0.0
    [ 4617.024] ABI class: X.Org Server Extension, version 7.0
    [ 4617.024] (==) AIGLX enabled
    [ 4617.026] Loading extension GLX
    [ 4617.026] (==) Matched intel as autoconfigured driver 0
    [ 4617.026] (==) Matched intel as autoconfigured driver 1
    [ 4617.026] (==) Matched vesa as autoconfigured driver 2
    [ 4617.026] (==) Matched modesetting as autoconfigured driver 3
    [ 4617.026] (==) Matched fbdev as autoconfigured driver 4
    [ 4617.026] (==) Assigned the driver to the xf86ConfigLayout
    [ 4617.026] (II) LoadModule: "intel"
    [ 4617.026] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
    [ 4617.027] (II) Module intel: vendor="X.Org Foundation"
    [ 4617.027] compiled for 1.14.1, module version = 2.21.8
    [ 4617.027] Module class: X.Org Video Driver
    [ 4617.027] ABI class: X.Org Video Driver, version 14.1
    [ 4617.027] (II) LoadModule: "vesa"
    [ 4617.027] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
    [ 4617.028] (II) Module vesa: vendor="X.Org Foundation"
    [ 4617.028] compiled for 1.14.0, module version = 2.3.2
    [ 4617.028] Module class: X.Org Video Driver
    [ 4617.028] ABI class: X.Org Video Driver, version 14.1
    [ 4617.028] (II) LoadModule: "modesetting"
    [ 4617.029] (WW) Warning, couldn't open module modesetting
    [ 4617.029] (II) UnloadModule: "modesetting"
    [ 4617.029] (II) Unloading modesetting
    [ 4617.029] (EE) Failed to load module "modesetting" (module does not exist, 0)
    [ 4617.029] (II) LoadModule: "fbdev"
    [ 4617.029] (WW) Warning, couldn't open module fbdev
    [ 4617.029] (II) UnloadModule: "fbdev"
    [ 4617.030] (II) Unloading fbdev
    [ 4617.030] (EE) Failed to load module "fbdev" (module does not exist, 0)
    [ 4617.030] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
    965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
    4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
    Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
    Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
    Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
    Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
    Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
    Ivybridge Server (GT2), Haswell Desktop (GT1), Haswell Desktop (GT2),
    Haswell Desktop (GT3), Haswell Mobile (GT1), Haswell Mobile (GT2),
    Haswell Mobile (GT3), Haswell Server (GT1), Haswell Server (GT2),
    Haswell Server (GT3), Haswell (GT1), Haswell (GT2), Haswell (GT3),
    Haswell (GT1), Haswell (GT2), Haswell (GT3),
    Haswell SDV Desktop (GT1), Haswell SDV Desktop (GT2),
    Haswell SDV Desktop (GT3), Haswell SDV Mobile (GT1),
    Haswell SDV Mobile (GT2), Haswell SDV Mobile (GT3),
    Haswell SDV Server (GT1), Haswell SDV Server (GT2),
    Haswell SDV Server (GT3), Haswell SDV (GT1), Haswell SDV (GT2),
    Haswell SDV (GT3), Haswell SDV (GT1), Haswell SDV (GT2),
    Haswell SDV (GT3), Haswell ULT Desktop (GT1),
    Haswell ULT Desktop (GT2), Haswell ULT Desktop (GT3),
    Haswell ULT Mobile (GT1), Haswell ULT Mobile (GT2),
    Haswell ULT Mobile (GT3), Haswell ULT Server (GT1),
    Haswell ULT Server (GT2), Haswell ULT Server (GT3),
    Haswell ULT (GT1), Haswell ULT (GT2), Haswell ULT (GT3),
    Haswell ULT (GT1), Haswell ULT (GT2), Haswell ULT (GT3),
    Haswell CRW Desktop (GT1), Haswell CRW Desktop (GT2),
    Haswell CRW Desktop (GT3), Haswell CRW Mobile (GT1),
    Haswell CRW Mobile (GT2), Haswell CRW Mobile (GT3),
    Haswell CRW Server (GT1), Haswell CRW Server (GT2),
    Haswell CRW Server (GT3), Haswell CRW (GT1), Haswell CRW (GT2),
    Haswell CRW (GT3), Haswell CRW (GT1), Haswell CRW (GT2),
    Haswell CRW (GT3), ValleyView PO board
    [ 4617.032] (II) VESA: driver for VESA chipsets: vesa
    [ 4617.032] (++) using VT number 1
    [ 4617.033] (WW) Falling back to old probe method for vesa
    [ 4617.033] (II) intel(0): Creating default Display subsection in Screen section
    "Default Screen Section" for depth/fbbpp 24/32
    [ 4617.034] (==) intel(0): Depth 24, (--) framebuffer bpp 32
    [ 4617.034] (==) intel(0): RGB weight 888
    [ 4617.034] (==) intel(0): Default visual is TrueColor
    [ 4617.034] (--) intel(0): Integrated Graphics Chipset: Intel(R) 945GME
    [ 4617.034] (**) intel(0): Relaxed fencing disabled
    [ 4617.034] (**) intel(0): Wait on SwapBuffers? enabled
    [ 4617.034] (**) intel(0): Triple buffering? enabled
    [ 4617.034] (**) intel(0): Framebuffer tiled
    [ 4617.034] (**) intel(0): Pixmaps tiled
    [ 4617.034] (**) intel(0): 3D buffers tiled
    [ 4617.034] (**) intel(0): SwapBuffers wait enabled
    [ 4617.034] (==) intel(0): video overlay key set to 0x101fe
    [ 4617.034] (II) intel(0): Output LVDS1 has no monitor section
    [ 4617.035] (--) intel(0): found backlight control interface /sys/class/backlight/eeepc
    [ 4617.066] (II) intel(0): Output VGA1 has no monitor section
    [ 4617.067] (II) intel(0): EDID for output LVDS1
    [ 4617.067] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
    [ 4617.067] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
    [ 4617.067] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
    [ 4617.068] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
    [ 4617.068] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
    [ 4617.068] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
    [ 4617.068] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
    [ 4617.068] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
    [ 4617.068] (II) intel(0): Printing probed modes for output LVDS1
    [ 4617.068] (II) intel(0): Modeline "1024x600"x60.0 45.00 1024 1077 1112 1200 600 604 609 625 -hsync -vsync (37.5 kHz P)
    [ 4617.068] (II) intel(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz d)
    [ 4617.068] (II) intel(0): Modeline "800x600"x56.2 36.00 800 824 896 1024 600 601 603 625 +hsync +vsync (35.2 kHz d)
    [ 4617.068] (II) intel(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz d)
    [ 4617.100] (II) intel(0): EDID for output VGA1
    [ 4617.100] (II) intel(0): Output LVDS1 connected
    [ 4617.100] (II) intel(0): Output VGA1 disconnected
    [ 4617.100] (II) intel(0): Using exact sizes for initial modes
    [ 4617.100] (II) intel(0): Output LVDS1 using initial mode 1024x600
    [ 4617.100] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
    [ 4617.100] (II) intel(0): Kernel page flipping support detected, enabling
    [ 4617.100] (==) intel(0): DPI set to (96, 96)
    [ 4617.100] (II) Loading sub module "fb"
    [ 4617.100] (II) LoadModule: "fb"
    [ 4617.101] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 4617.102] (II) Module fb: vendor="X.Org Foundation"
    [ 4617.103] compiled for 1.14.1, module version = 1.0.0
    [ 4617.103] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 4617.103] (II) Loading sub module "dri2"
    [ 4617.103] (II) LoadModule: "dri2"
    [ 4617.103] (II) Module "dri2" already built-in
    [ 4617.103] (II) UnloadModule: "vesa"
    [ 4617.103] (II) Unloading vesa
    [ 4617.103] (==) Depth 24 pixmap format is 32 bpp
    [ 4617.104] (II) intel(0): [DRI2] Setup complete
    [ 4617.104] (II) intel(0): [DRI2] DRI driver: i915
    [ 4617.104] (II) intel(0): Allocated new frame buffer 1024x600 stride 4096, tiled
    [ 4617.104] (II) UXA(0): Driver registered support for the following operations:
    [ 4617.104] (II) solid
    [ 4617.104] (II) copy
    [ 4617.104] (II) composite (RENDER acceleration)
    [ 4617.104] (II) put_image
    [ 4617.105] (II) get_image
    [ 4617.105] (==) intel(0): Backing store disabled
    [ 4617.105] (==) intel(0): Silken mouse enabled
    [ 4617.105] (II) intel(0): Initializing HW Cursor
    [ 4617.105] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
    [ 4617.113] (==) intel(0): DPMS enabled
    [ 4617.113] (==) intel(0): Intel XvMC decoder disabled
    [ 4617.113] (II) intel(0): Set up textured video
    [ 4617.113] (II) intel(0): Set up overlay video
    [ 4617.113] (II) intel(0): direct rendering: DRI2 Enabled
    [ 4617.113] (==) intel(0): hotplug detection: "enabled"
    [ 4617.123] (--) RandR disabled
    [ 4617.160] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
    [ 4617.160] (II) AIGLX: enabled GLX_INTEL_swap_event
    [ 4617.160] (II) AIGLX: enabled GLX_ARB_create_context
    [ 4617.160] (II) AIGLX: enabled GLX_ARB_create_context_profile
    [ 4617.160] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
    [ 4617.160] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
    [ 4617.160] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
    [ 4617.160] (II) AIGLX: Loaded and initialized i915
    [ 4617.160] (II) GLX: Initialized DRI2 GL provider for screen 0
    [ 4617.162] (II) intel(0): Setting screen physical size to 270 x 158
    [ 4617.278] (II) config/udev: Adding input device Power Button (/dev/input/event4)
    [ 4617.278] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 4617.278] (II) LoadModule: "evdev"
    [ 4617.278] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 4617.279] (II) Module evdev: vendor="X.Org Foundation"
    [ 4617.279] compiled for 1.14.0, module version = 2.8.0
    [ 4617.279] Module class: X.Org XInput Driver
    [ 4617.279] ABI class: X.Org XInput driver, version 19.1
    [ 4617.279] (II) Using input driver 'evdev' for 'Power Button'
    [ 4617.279] (**) Power Button: always reports core events
    [ 4617.279] (**) evdev: Power Button: Device: "/dev/input/event4"
    [ 4617.279] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 4617.279] (--) evdev: Power Button: Found keys
    [ 4617.279] (II) evdev: Power Button: Configuring as keyboard
    [ 4617.279] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event4"
    [ 4617.279] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
    [ 4617.279] (**) Option "xkb_rules" "evdev"
    [ 4617.280] (**) Option "xkb_model" "evdev"
    [ 4617.280] (**) Option "xkb_layout" "us"
    [ 4617.363] (II) config/udev: Adding input device Video Bus (/dev/input/event7)
    [ 4617.363] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
    [ 4617.363] (II) Using input driver 'evdev' for 'Video Bus'
    [ 4617.363] (**) Video Bus: always reports core events
    [ 4617.363] (**) evdev: Video Bus: Device: "/dev/input/event7"
    [ 4617.363] (--) evdev: Video Bus: Vendor 0 Product 0x6
    [ 4617.364] (--) evdev: Video Bus: Found keys
    [ 4617.364] (II) evdev: Video Bus: Configuring as keyboard
    [ 4617.364] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input7/event7"
    [ 4617.364] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
    [ 4617.364] (**) Option "xkb_rules" "evdev"
    [ 4617.364] (**) Option "xkb_model" "evdev"
    [ 4617.364] (**) Option "xkb_layout" "us"
    [ 4617.365] (II) config/udev: Adding input device Power Button (/dev/input/event3)
    [ 4617.365] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 4617.365] (II) Using input driver 'evdev' for 'Power Button'
    [ 4617.366] (**) Power Button: always reports core events
    [ 4617.366] (**) evdev: Power Button: Device: "/dev/input/event3"
    [ 4617.366] (--) evdev: Power Button: Vendor 0 Product 0x1
    [ 4617.366] (--) evdev: Power Button: Found keys
    [ 4617.366] (II) evdev: Power Button: Configuring as keyboard
    [ 4617.366] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3/event3"
    [ 4617.366] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
    [ 4617.366] (**) Option "xkb_rules" "evdev"
    [ 4617.366] (**) Option "xkb_model" "evdev"
    [ 4617.366] (**) Option "xkb_layout" "us"
    [ 4617.368] (II) config/udev: Adding input device Lid Switch (/dev/input/event1)
    [ 4617.368] (II) No input driver specified, ignoring this device.
    [ 4617.368] (II) This device may have been added with another device file.
    [ 4617.369] (II) config/udev: Adding input device Sleep Button (/dev/input/event2)
    [ 4617.369] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
    [ 4617.369] (II) Using input driver 'evdev' for 'Sleep Button'
    [ 4617.369] (**) Sleep Button: always reports core events
    [ 4617.369] (**) evdev: Sleep Button: Device: "/dev/input/event2"
    [ 4617.369] (--) evdev: Sleep Button: Vendor 0 Product 0x3
    [ 4617.369] (--) evdev: Sleep Button: Found keys
    [ 4617.369] (II) evdev: Sleep Button: Configuring as keyboard
    [ 4617.369] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input2/event2"
    [ 4617.369] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
    [ 4617.369] (**) Option "xkb_rules" "evdev"
    [ 4617.369] (**) Option "xkb_model" "evdev"
    [ 4617.369] (**) Option "xkb_layout" "us"
    [ 4617.370] (II) config/udev: Adding drm device (/dev/dri/card0)
    [ 4617.371] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event8)
    [ 4617.372] (II) No input driver specified, ignoring this device.
    [ 4617.372] (II) This device may have been added with another device file.
    [ 4617.372] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event9)
    [ 4617.372] (II) No input driver specified, ignoring this device.
    [ 4617.372] (II) This device may have been added with another device file.
    [ 4617.373] (II) config/udev: Adding input device Asus EeePC extra buttons (/dev/input/event5)
    [ 4617.373] (**) Asus EeePC extra buttons: Applying InputClass "evdev keyboard catchall"
    [ 4617.373] (II) Using input driver 'evdev' for 'Asus EeePC extra buttons'
    [ 4617.373] (**) Asus EeePC extra buttons: always reports core events
    [ 4617.373] (**) evdev: Asus EeePC extra buttons: Device: "/dev/input/event5"
    [ 4617.374] (--) evdev: Asus EeePC extra buttons: Vendor 0 Product 0
    [ 4617.374] (--) evdev: Asus EeePC extra buttons: Found keys
    [ 4617.374] (II) evdev: Asus EeePC extra buttons: Configuring as keyboard
    [ 4617.374] (**) Option "config_info" "udev:/sys/devices/platform/eeepc/input/input5/event5"
    [ 4617.374] (II) XINPUT: Adding extended input device "Asus EeePC extra buttons" (type: KEYBOARD, id 10)
    [ 4617.374] (**) Option "xkb_rules" "evdev"
    [ 4617.374] (**) Option "xkb_model" "evdev"
    [ 4617.374] (**) Option "xkb_layout" "us"
    [ 4617.375] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 4617.375] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [ 4617.376] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
    [ 4617.376] (**) AT Translated Set 2 keyboard: always reports core events
    [ 4617.376] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [ 4617.376] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
    [ 4617.376] (--) evdev: AT Translated Set 2 keyboard: Found keys
    [ 4617.376] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
    [ 4617.376] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
    [ 4617.376] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
    [ 4617.376] (**) Option "xkb_rules" "evdev"
    [ 4617.376] (**) Option "xkb_model" "evdev"
    [ 4617.376] (**) Option "xkb_layout" "us"
    [ 4617.378] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/event10)
    [ 4617.378] (**) ETPS/2 Elantech Touchpad: Applying InputClass "evdev touchpad catchall"
    [ 4617.378] (**) ETPS/2 Elantech Touchpad: Applying InputClass "touchpad catchall"
    [ 4617.378] (**) ETPS/2 Elantech Touchpad: Applying InputClass "Default clickpad buttons"
    [ 4617.378] (II) LoadModule: "synaptics"
    [ 4617.378] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
    [ 4617.379] (II) Module synaptics: vendor="X.Org Foundation"
    [ 4617.379] compiled for 1.14.1, module version = 1.7.1
    [ 4617.379] Module class: X.Org XInput Driver
    [ 4617.379] ABI class: X.Org XInput driver, version 19.1
    [ 4617.379] (II) Using input driver 'synaptics' for 'ETPS/2 Elantech Touchpad'
    [ 4617.379] (**) ETPS/2 Elantech Touchpad: always reports core events
    [ 4617.379] (**) Option "Device" "/dev/input/event10"
    [ 4617.380] (--) synaptics: ETPS/2 Elantech Touchpad: x-axis range 32 - 544 (res 0)
    [ 4617.380] (--) synaptics: ETPS/2 Elantech Touchpad: y-axis range 32 - 352 (res 0)
    [ 4617.380] (II) synaptics: ETPS/2 Elantech Touchpad: device does not report pressure, will use touch data.
    [ 4617.380] (II) synaptics: ETPS/2 Elantech Touchpad: device does not report finger width.
    [ 4617.380] (--) synaptics: ETPS/2 Elantech Touchpad: buttons: left right double triple
    [ 4617.380] (--) synaptics: ETPS/2 Elantech Touchpad: Vendor 0x2 Product 0xe
    [ 4617.380] (--) synaptics: ETPS/2 Elantech Touchpad: invalid pressure range. defaulting to 0 - 255
    [ 4617.380] (--) synaptics: ETPS/2 Elantech Touchpad: invalid finger width range. defaulting to 0 - 15
    [ 4617.380] (**) Option "TapButton1" "1"
    [ 4617.380] (**) Option "TapButton2" "2"
    [ 4617.380] (**) Option "TapButton3" "3"
    [ 4617.381] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
    [ 4617.381] (**) ETPS/2 Elantech Touchpad: always reports core events
    [ 4617.383] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input10/event10"
    [ 4617.383] (II) XINPUT: Adding extended input device "ETPS/2 Elantech Touchpad" (type: TOUCHPAD, id 12)
    [ 4617.383] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MinSpeed is now constant deceleration 2.5
    [ 4617.383] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) MaxSpeed is now 1.75
    [ 4617.383] (**) synaptics: ETPS/2 Elantech Touchpad: (accel) AccelFactor is now 0.332
    [ 4617.384] (**) ETPS/2 Elantech Touchpad: (accel) keeping acceleration scheme 1
    [ 4617.384] (**) ETPS/2 Elantech Touchpad: (accel) acceleration profile 1
    [ 4617.384] (**) ETPS/2 Elantech Touchpad: (accel) acceleration factor: 2.000
    [ 4617.384] (**) ETPS/2 Elantech Touchpad: (accel) acceleration threshold: 4
    [ 4617.384] (--) synaptics: ETPS/2 Elantech Touchpad: touchpad found
    [ 4617.385] (II) config/udev: Adding input device ETPS/2 Elantech Touchpad (/dev/input/mouse0)
    [ 4617.385] (**) ETPS/2 Elantech Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"
    [ 4617.386] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
    [ 4617.386] (II) No input driver specified, ignoring this device.
    [ 4617.386] (II) This device may have been added with another device file.
    I've tried looking for this problem elsewhere as it feels like such a newbie problem to have, but I have had difficulty. There are two errors in this log, I think, but they didn't mean much to me... Any help for a linux newbie? Thanks!
    EDIT: Solved; as pointed out below, I needed a window manager for a non-root user to use.
    Last edited by DJMankiewicz (2013-06-05 07:30:06)

    Well, soon you'll have to try out one of the more minimal options, in which you don't use any desktop environment but instead you install your own window manager (openbox, dwm, i3, etc) and use small, dedicated programs.  Given your extreme space restrictions, I recommend going that route! But, take your time because that requires a bit of learning: you need to figure out which parts of a desktop environment you really need, then you need to learn the proper names for them so that you can search for information, then you need to start fiddling with configurations, etc.  Better first to make sure your first Arch Linux installation is up and running properly and to learn a bit about the system before entering that downward spiral.

  • Xscreensaver fails when non-root user logs in

    Hi,
    My system is running Solaris 10 (10/08) with trusted extensions enabled.
    The problems I am having is when I login as root, the Screen Lock menu item is enabled and I can lock the screen
    However, when I login as a non-root user, the following error message is displayed and the Screen Lock menu item is not available:
    There was an error starting up there screensaver.
    Failed to execute child process "xscreensaver" (No such file or directory)
    Screensaver functionality will not work in this session.
    Instructions from around the web say to include /usr/openwin/bin in the PATH env variable in the .profile (or in my case .bashrc) to fix the problem. However, I've tried that without success.
    I tried running /usr/openwin/bin/xscreensaver-demo. But the demo indicates that the xscreensaver daemon is not running and when I try to start it (via the demo) the daemon fails to start.
    So, anyone have any suggestions?
    Thanks
    Paul W.

    DougArthur: Your a champion. Running Sol_10.x86 on a VM virtualbox guest on my laptop a server at home. And well my last place of employment U2 after many login/out operations. I've noticed the exact same issues. I played around with the xscreensaver-demo which only appears to correct the issue "failed to execute child process" No such file or directory. Touched the .xscreensaver
    etc. As you have quickly identified. Adding the system directories to the jds files did the trick. Wonder if this will be implemented into the next releases. I've seen this all the way up to U6 for workstation and or console use. Annoyances this wonderful OS has become. As it seems the little things cracking thru. Well done. Sparc versions same issues. Something needing attention
    for the devo people to change. Small correction. Double "=" in a path statement might cause a buffer run. Change the PATH statement too PATH=$PATH:/usr/local/bin:/usr/dt/bin: is syntax I entered 1st crack of fix. Voila she's operating as normal now! Great work.

  • [SOLVED] Launching systemd service as non-root user

    I need to launch a systemd service as a non-root user. I've looked at this but I'm fairly confused. I don't have xorg or any desktop environment installed (this is a remote server I SSH into) but when I run
    systemctl --user status
    I get
    Failed to get D-Bus connection: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
    What am I doing wrong?
    Last edited by gsingh93 (2013-12-01 07:29:29)

    I was going in the wrong direction. All I had to do was add 'User=username' and 'Group=groupname' in the [Service] section.

  • Non-root user can't start Apache on port 443

    Today I've been attempting to get SSL working for my Oracle Applications 11i (11.5.10.2) installation and I just hit a small problem. I've followed all of the Oracle literature I've come across, which instructed me to create a new (non-root) user to own the database tier and the applications tier. I've also followed the instructions for configuring SSL ([Doc 123718.1|https://metalink2.oracle.com/metalink/plsql/f?p=130:14:6976756808231635106::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,123718.1,1,1,1,helvetica]) and the SSL wizard in OAM defaults to the standard HTTPS port (443). However, because 443 is a privileged port, a non-root user cannot bind to it. In other words, the Oracle literature itself has led me to an impossible situation. This is what I see in the Apache error log:
    [Fri May 15 15:05:03 2009] [crit] (13)Permission denied: make_sock: could not bind to port 443
    At this point, I see two choices:
    1. Run the application tier services as root.
    2. Change the SSL port to something greater than 1024 (i.e. 4443).
    I'm leaning towards option #2, since option #1 negates the advantage of using a non-root user to begin with. Does anyone have any other suggestions? Does Oracle have any recommendations for this scenario?

    Hi,
    You just need to start Apache as root (not all the application services). For Option 1, the application tier files should be owned by applmgr/oracle user (not root), and for Option 2, you do not need to change the port (though it is valid option). Just follow the steps in the following document.
    Note: 356080.1 - How to run Apache on Port 80 in Apps 11i
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=356080.1
    BTW, this is mentioned in the document "if you have chosen port 443 (or any port under 1024) for your SSL port, you will have to start Apache as root".
    Regards,
    Hussein

  • OpenOffice doesn't allow editing when non-root user [SOLVED]

    I've been having this problem for some time now: for example whenever I open swriter to edit a text or make a new one, swriter always closes at the moment I type something. This problem does not exist when I use OO as the root user.

    Try removing the .openoffice.org2 folder in your home directory. You'll need to do that as root, if the problem is what I think it is... You see, OOo seems to do some configuration on install, and that's as whatever user installed it - so if you install from Arch's packages, you need to delete the config stuff before you can use it.
    (Usually, though, that's manifested as OOo not starting at all, so I'm not sure it's your problem.)

  • Running VMware Server 2 services as a non-root user

    Hello,
    I have switched from VirtualBox to VMware Server 2 on my Arch64 server and the transition has been relatively painless. I am at the point now where I want to run VMware's services as a non-root user account (I have a service account called "svc-vmadmin" that I'd like to use). I'm generally not comfortable running services as root, but at the same time I'm conscious of the time and effort required vs. overall benefits.
    I've done the usual Google searches and even checked the VMware Server 2 user guide and the VMware community, but I can't find specific details on how to achieve this.
    Is this even plausible in a Linux environment? I used to run VMware Server 1 under the SYSTEM account on Windows Server, so I'm hopinga similar thing can be done on Arch.
    I would greatly appreciate any information or personal experience that fellow Archers can share.
    Thanks,
    Thom

    System services are handled by launchd.
    If you look in /System/Library/LaunchDaemons/ you'll see a plist file for each service including org.isc.named.plist, the plist for named.
    If you edit this file you'll see it's an XML document that describes the service and how the OS should handle it, including the part:
    <key>ProgramArguments</key>
    <array>
    <string>/usr/sbin/named</string>
    <string>-f</string>
    </array>
    Just append another entry in the array that says <string>-u nobody</string> (or whatever username you want to run as.

  • Problem in running servlets over the net & in non-root user mode(FC-4)

    I have installed Tomcat 5.0.28 and it is running
    successfully in Fedora core 4,I wrote a servlet,to access a mysql database and it is running correctly,but when i logged
    onto non-root user, when i call the servlet through the
    html page i get "page not found error" .This is happening even when i do it from other system.
    I thank in advance if any could help me in this case

    Did you try using %20 instead of a space?  I know it works for URLs...worth a shot.

  • Solaris Weblogic 8.1 Server - starting Weblogic as non-root user

    Hello,
    Currently we are starting weblogic 8.1 server as the root user, but would like to start as a non-root user.
    (our unix team isn't too happy giving us, the dev team the root password!).
    Is it possible to start Weblogic 8.1 on Solaris 8 without the root password?...If so, can you point me, where I can find more information in the documentation, please.
    thanx,
    Vishwa

    If you have managed to boot the server before in the past you should have a config.xml.booted file in your domain. Try using this to boot, if it works you can diff it with your possibly mashed config.xml to see what went wrong.

  • Getting slapd to dump core when installed as a non-root users on linux

    Doesn anyone know how to allow slapd do dump core when running on linux(redhat as4) while being installed as a non-root user?
    I have tried the normal route of setting core to unlimited and that user to unlimited also in limits.conf.
    I can do a kill -11 $pid with an instance running as root to get a core but no luck with an instance as a non-root user.

    I forgot to mention that I'm running 6.1.

  • App is getting damaged when I replace it as non-administrative user

    Hey people,
    When I want to update e.g. VLC Player, as an administrator, it is simple: I just download the dmg, mount it and drop the new version of the VLC.app into the Applications folder to replace the old VLC.app. Few days ago I created a new admin account and changed my old account  to normal user. If I want to install new software that I did not use before, everything works as expected: when I drop an .app package into the Applications folder, I need to type in the admin login and password to allow this operation, then the package will be copied and I can start the new app.
    My problem:
    If I want to update the software by replacing the app as non-administrative user, the system first will promt me to keep both files, replace an older one or to stop - so far so good. BUT, when I select to replace, the copying process actually begins before the administrator prompt and it results in corrupted file. I also tried to create a new user account. So then I need first to remove the broken app (admin prompt once again) and then to install the new one (3rd admin prompt).
    I attached some screenshots to visualize the issue. I have the same issue on two different macs with different  user/admin names. I hope you have any idea how can it be fixed.
    1. I download the package:
    2. Mount the package:
    3. Drag the VLC app to the Applications folder (selecting >Authenticate in the prompt)
    4. Copy prompt (>Replace):
    5. Authenticate with administrative user
    6. Error message:
    7. Corrupted file:

    Thanks, you helped me. I had gotten hung up on '--user = <vboxuser>' in the ExecStart line, which works for one of my other services, but not this one.

  • Cannot start X11 as non-root user

    Yes I know, there are about a billion threads about this issue, but I'm afraid none of them have helped me so far.
    So, basically as root I can startx just fine. But when I try to startx as my user "hb", I see the Nvidia logo and it jumps back to the console. It doesn't display any real errors, apart from some font and keyboard stuff, which isn't fatal to starting the X server as far as I know. The Xorg.0.log doesn't display any errors at all. So I really don't have a clue what the problem is.
    I've installed Arch Linux just a week ago on this laptop and I didn't have any problems whatsoever, but I've tried to reinstall 3 times today and X11 keeps refusing to work...
    I've used nvidia-xconfig to configure xorg.conf and I followed the wiki instructions (which worked for me the last time). But considering X11 works for root, the config file should be okay, right?
    Last edited by HyperBaton (2008-02-03 12:50:11)

    I don't have a window manager installed yet. Seemed rather pointless when X wasn't working yet. The .xinitrc is there, but doesn't exec anything. But in the previous install I installed xfce4 and had .xinitrc do "exec xfce4-session", and the result was the same as now: X starts then jumps back to console.

  • Sample allocation script example starting from non-root parent.

    I have a client with multiple planning entities. Most of them wish to plan at the bottom level and aggregate up. However, one planning entity wishes to plan at a higher level, and allocate this to the bottom level for a particular dimension. So my allocation script would need to start with the parent of that entity, and allocate only for the measure in question for that entity's descendants. Is there a sample allocation script that that user could invoke to do the spread on a measure (because they also later wish to plan at level zero also - only some of the time).
    Thank you.

    Please refer to the Oracle By Example sample located here:
    http://www.oracle.com/technology/obe/hyp_iop/iop401/iop_create_allocation_map.htm

  • Oracle BI services problem when attempting to start

    Hi All,
    I installed OBIEE basic edition which have oc4j and after installation, i have restarted my windows machine and oc4j is getting started automatically. Here my problem is my Oracle BI java host services in windows is not getting started. It is giving me an error as follows:
    could not start oracle BI Java host service on Local Computer.
    Error 1053: The service did not respond to the start or control request in a timely fashion.
    Google resulted me to no where on this particular error, and even i tried to start Oracle BI Server service and it is giving me same error. can somebody help me on this?
    Best Regards,

    Hi rnm, I have this path "*C:\OracleBI\server\Bin*" in my environment and i also could able to find the same in the ImagePath variable where you told me to check and i could able to find out NQSServer.exe file.
    Now, what am not able to find is the log files in "*C:\OracleBI\server\Log*" this path ie, there are no log files present in my 'log' directory.
    One more imp thing is, as per Rittman, we will be having java host log files at "C:/ORACLEBIDATA/web/log/javahost/jhost0.log". But, i have only "*C:\OracleBIData\web*" this path, ie, there is no javehost dir* and further files!!. So, shall i suspect some issue with my installation?
    I also searched for java host log file in my system, but, i could not find it. SO, basically what my presumption is that the log file is not been created when i try to ran Oracle BI Java Host service. SO,is my problem related to services? In otherwords, does this java host services has less time to execute successfully than required?? do i have to reinstall OBIEE itself?? please advise.

  • [systemd] Let services wait until X is started [solved]

    Hi there,
    I have a quick question. I have some services that I would like to start once X is started. Is the only way to currently achieve this by using a display manager (graphical.target)?
    Thanks ahead!
    Last edited by orschiro (2014-06-22 11:42:50)

    The problem is the login sessions...
    I don't use systemd user sessions (actively) but this looks like something that could probably do what you want: https://wiki.archlinux.org/index.php/Sy … ay_manager
    Last edited by rebootl (2014-06-21 12:06:54)

Maybe you are looking for