You are not logged in.

#1 2011-05-28 06:58:37

libernux
Member
From: Netherlands
Registered: 2009-09-29
Posts: 53

[Solved] How to get ELSA running

First get the elsa-svn package from AUR and install it.
Edit the PKGBUILD and change the line :     ./autogen.sh --prefix=/usr   to     ./autogen.sh --prefix=/usr --sysconfdir=/etc
Now run the pkgbuild.
Install the package with pacman -U elsa-svn......

Edit the file '/etc/pam.d/elsa'  and replace it with the following lines  :
auth            required        pam_unix.so
account         required        pam_unix.so
session         required        pam_unix.so
password        required        pam_unix.so

Edit the file '/etc/elsa.conf' and change the following line:
value "daemonize" uchar: 0;

Last thing to do is to add elsa to '/etc/inittab' :

x:5:respawn:/usr/sbin/elsa > /dev/null

Now you can enjoy the full beaty of E17 !!!!!!!

Last edited by libernux (2011-05-28 07:00:09)


I was born with nothing and I still got most of it

Offline

#2 2011-06-04 08:14:37

libernux
Member
From: Netherlands
Registered: 2009-09-29
Posts: 53

Re: [Solved] How to get ELSA running

I 've found out that the $PATH-settings are not appropiate. The $PATH set is the value of session_path from the elsa.conf file.
When you login as root the sbin-libraries in the path are missing and you can hose your system.
I learned it the hard way during a kernel upgrade.
So the only save way to use elsa at the moment is to use session login.
Therefore you should adjust the following lines in elsa.conf:

value "session_login" string: "exec /bin/bash -login -c '/usr/bin/enlightenment_start'";
value "xsessions" uchar: 0;


I was born with nothing and I still got most of it

Offline

#3 2011-06-09 15:26:07

libernux
Member
From: Netherlands
Registered: 2009-09-29
Posts: 53

Re: [Solved] How to get ELSA running

I've made a new PKGBUILD for elsa in the AUR.
It should run on Arch without modification.


I was born with nothing and I still got most of it

Offline

#4 2011-06-20 22:52:03

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [Solved] How to get ELSA running

libernux wrote:

I've made a new PKGBUILD for elsa in the AUR.
It should run on Arch without modification.

could you please fix this?

Offline

#5 2011-06-21 09:46:05

libernux
Member
From: Netherlands
Registered: 2009-09-29
Posts: 53

Re: [Solved] How to get ELSA running

The package is fixed: I forgot to include 2 files.
I'm sorry.


I was born with nothing and I still got most of it

Offline

#6 2011-06-21 16:52:52

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [Solved] How to get ELSA running

elsa is working fine now, thanks

Offline

#7 2011-07-13 15:25:51

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [Solved] How to get ELSA running

could the users using elsa post their output of "ulimit -l" please?
I get "64" altough my memlock is configured to "unlimited" in limits.conf
i suspect its an elsa-problem

Offline

#8 2011-07-13 18:27:29

libernux
Member
From: Netherlands
Registered: 2009-09-29
Posts: 53

Re: [Solved] How to get ELSA running

It is not an elsa problem.
look in this thread [SOLVED] limits.conf issues


I was born with nothing and I still got most of it

Offline

#9 2011-07-13 18:39:41

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [Solved] How to get ELSA running

libernux wrote:

It is not an elsa problem.
look in this thread [SOLVED] limits.conf issues

as you can see, I wrote in this thread. my problem is another one. funkmuscle just had an error in limits.conf.......my limits.conf has no effect on system


EDIT: I installed slim and the problem is gone, so it is indeed an elsa-bug. should I report this?

Last edited by capoeira (2011-07-13 19:11:41)

Offline

#10 2011-07-14 01:35:53

libernux
Member
From: Netherlands
Registered: 2009-09-29
Posts: 53

Re: [Solved] How to get ELSA running

You were right about a bug in the elsa build.
I've added ulimit and some other missing things to the elsa.pam file  and uploaded the new build files to AUR


I was born with nothing and I still got most of it

Offline

#11 2011-07-14 02:53:06

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [Solved] How to get ELSA running

libernux wrote:

You were right about a bug in the elsa build.
I've added ulimit and some other missing things to the elsa.pam file  and uploaded the new build files to AUR

thanks

Offline

#12 2011-07-15 02:38:27

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [Solved] How to get ELSA running

tried the update, but it fails:

make[3]: Entrando no diretório `/tmp/yaourt-tmp-studio/aur-elsa-svn-arch/src/elsa-build/src/bin'
  CC     elsa_event.o
  CC     elsa_client.o
  CC     elsa_connect.o
elsa_connect.c: In function ‘_elsa_connect_add’:
elsa_connect.c:18:32: warning: variable ‘ev’ set but not used [-Wunused-but-set-variable]
elsa_connect.c: In function ‘_elsa_connect_del’:
elsa_connect.c:28:32: warning: variable ‘ev’ set but not used [-Wunused-but-set-variable]
  CC     elsa_gui.o
elsa_gui.c: In function ‘_elsa_gui_xsessions_clicked_cb’:
elsa_gui.c:137:4: warning: implicit declaration of function ‘elm_object_text_set’ [-Wimplicit-function-declaration]
  CCLD   elsa_client
elsa_gui.o: In function `_elsa_gui_xsessions_clicked_cb':
elsa_gui.c:(.text+0xc0): undefined reference to `elm_object_text_set'
elsa_gui.o: In function `elsa_gui_xsession_set':
elsa_gui.c:(.text+0x2c8): undefined reference to `elm_object_text_set'
collect2: ld returned 1 exit status
make[3]: ** [elsa_client] Erro 1
make[3]: Saindo do diretório `/tmp/yaourt-tmp-studio/aur-elsa-svn-arch/src/elsa-build/src/bin'
make[2]: ** [all-recursive] Erro 1
make[2]: Saindo do diretório `/tmp/yaourt-tmp-studio/aur-elsa-svn-arch/src/elsa-build/src'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/tmp/yaourt-tmp-studio/aur-elsa-svn-arch/src/elsa-build'
make: ** [all] Erro 2
==> ERRO: Uma falha ocorreu em build().
    Abortando...
==> ERRO: Makepkg não conseguiu compilar elsa-svn-arch.

Offline

#13 2011-07-15 08:20:48

libernux
Member
From: Netherlands
Registered: 2009-09-29
Posts: 53

Re: [Solved] How to get ELSA running

I've only updated the PAM file (elsa.pam).
The error you are seeing is because they are reworking some api's in elementary.
It seems that elsa is not totally in sync with elementary.
This has to be fixed upstream.

As a workaround :

If you still have the old elsa-binary than you could copy the elsa.pam from the build-package
into /etc/pam.d/ and rename it to elsa.

Good luck!


I was born with nothing and I still got most of it

Offline

#14 2011-07-15 11:32:33

capoeira
Member
From: Vila Velha - Brasil
Registered: 2010-05-25
Posts: 470

Re: [Solved] How to get ELSA running

thanks, that worked

must be the old elementary bins than, I use the bins from [community]

Offline

Board footer

Powered by FluxBB