You are not logged in.
Pages: 1
Topic closed
Hi !
I've decided to install mpd with the second approach of archwiki by adding the mpd entry to .xinitrc
Here's the code of .xinitrc
#!/bin/sh
#
# ~/.xinitrc
#
# this starts mpd as normal user
mpd /home/andreas/.mpd/config
# Executed by startx (run your window manager from here)
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
After i get to gnome the sonata client can't connect to mpd . When i try mpd /home/andreas/.mpd/config from terminal everything goes fine and sonata connects just fne
What might be the issue ? It seems the .xinitrc doesn't load mpd
THanks
Last edited by shak (2010-06-10 17:25:38)
Offline
It seems that .xinitrc doesn't load at all.
.xinitrc only loads if you are using startx or something like the slim display manager. More complex display managers like GDM/KDM etc. will not run .xinitrc.
You should create a ".desktop" file in your ~/.config/autostart/ directory that loads mpd.
[Desktop Entry]
Encoding=UTF-8
Name=Music Player Daemon
Exec=/usr/bin/mpd /home/andreas/.mpd/config
Terminal=false
Type=Application
Categories=Application;Sound;
Online
Thanks for your reply , i've managed to solve by running the mpd daemon . I've followed the first choice in the archwiki for mpd
Thanks again
Offline
I had the same problem, start mpd from .xinitrc doesn't work. Arch Wiki should edit and fix this info because create confusion.
The info is locate here: https://wiki.archlinux.org/index.php/Mp … _as_a_User
Last edited by davirrirri (2011-07-19 17:21:33)
Offline
@Davirrirri, the wiki is open to editing by anyone you know.
Offline
I had the same problem, start mpd from .xinitrc doesn't work. Arch Wiki should edit and fix this info because create confusion.
The info is locate here: https://wiki.archlinux.org/index.php/Mp … _as_a_User
davirrirri, this thread is more than a year old. Please do not necrobump.
As for mpd not starting from .xinitrc, that I do not think is the case. Depending on how you login, appropriate files need to be sourced. So if you are using gdm, I believe that .xinitrc is not sourced and therefore your apps listed in it will not start. For users not using gdm (or atleast a dm that sources .xinitrc), it works fine. That might indicate that the problem is not with mpd per se, but with how the .xinitrc file is sourced.
If you however believe that there is a genuine problem that has cropped up in the latest release, then please list all that you have tried so the bug can be fixed.
Although not relevant in this instance, the wiki is a collaborative effort and you can correct things if you see something mis-represented in the wiki instead of asking someone else to correct it.
Closing...
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Pages: 1
Topic closed