From: giggz <gig...@gm...> - 2007-08-17 08:00:08
|
Hi, Sorry but I have lot's of questions... I didn't see a reboot and shutdown button to restart or halt my laptop. I see a reboot and shutdown button to restart or to halt E17. I must precise that I use gdm in order to login and not entrance... How can I fix this ? |
From: Vincent P. <vin...@gm...> - 2007-08-17 09:55:44
|
When you right click on the desktop, at the bottom of the menu can you see the sub-menu System ? There you normally have the choice to lock screen, reboot or halt your computer.. if you can't see that, maybe should you leave e17, erase your /home/giggz/.e folder and relaunch X server.. It's something which solved many things like this for me. Regards Vincent. 2007/8/17, giggz <gig...@gm...>: > > Hi, > > Sorry but I have lot's of questions... > I didn't see a reboot and shutdown button to restart or halt my laptop. > I see a reboot and shutdown button to restart or to halt E17. I must > precise that I use gdm in order to login and not entrance... > > How can I fix this ? > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > enlightenment-users mailing list > enl...@li... > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > |
From: giggz <gig...@gm...> - 2007-08-17 10:35:13
|
I don't see these things. When I right click on the desktop, I just have the favorite menu which is blank by me...When I left click on the desktop, I get the main menu with sub-menu System, but there are just "lock screen" and "leave session". But It could be the fact that I use GDM to login and not entrance, isn't it ? I don't think that to erase my /home/giggz/.e which change things because I just install E17 on my laptop for the first time...but if you tell me that I change lot's of thing for you...I t oculd be great that I test it... Vincent Pomageot a écrit : > When you right click on the desktop, at the bottom of the menu can you see > the sub-menu System ? > There you normally have the choice to lock screen, reboot or halt your > computer.. if you can't see that, maybe should you leave e17, erase your > /home/giggz/.e folder and relaunch X server.. It's something which solved > many things like this for me. > > Regards > > Vincent. > > 2007/8/17, giggz <gig...@gm...>: >> Hi, >> >> Sorry but I have lot's of questions... >> I didn't see a reboot and shutdown button to restart or halt my laptop. >> I see a reboot and shutdown button to restart or to halt E17. I must >> precise that I use gdm in order to login and not entrance... >> >> How can I fix this ? >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ >> _______________________________________________ >> enlightenment-users mailing list >> enl...@li... >> https://lists.sourceforge.net/lists/listinfo/enlightenment-users >> > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ |
From: Jaime T. <avi...@gm...> - 2007-08-17 14:03:52
|
On 8/17/07, giggz <gig...@gm...> wrote: > > I don't see these things. When I right click on the desktop, I just have > the favorite menu which is blank by me...When I left click on the > desktop, I get the main menu with sub-menu System, but there are just > "lock screen" and "leave session". But It could be the fact that I use > GDM to login and not entrance, isn't it ? > > I don't think that to erase my /home/giggz/.e which change things > because I just install E17 on my laptop for the first time...but if you > tell me that I change lot's of thing for you...I t oculd be great that I > test it... > > Vincent Pomageot a =E9crit : > > When you right click on the desktop, at the bottom of the menu can you > see > > the sub-menu System ? > > There you normally have the choice to lock screen, reboot or halt your > > computer.. if you can't see that, maybe should you leave e17, erase you= r > > /home/giggz/.e folder and relaunch X server.. It's something which > solved > > many things like this for me. > > > > Regards > > > > Vincent. > > > > 2007/8/17, giggz <gig...@gm...>: > >> Hi, > >> > >> Sorry but I have lot's of questions... > >> I didn't see a reboot and shutdown button to restart or halt my laptop= . > >> I see a reboot and shutdown button to restart or to halt E17. I must > >> precise that I use gdm in order to login and not entrance... > >> > >> How can I fix this ? > >> > >> > >> > ------------------------------------------------------------------------- > >> This SF.net email is sponsored by: Splunk Inc. > >> Still grepping through log files to find problems? Stop. > >> Now Search log events and configuration files using AJAX and a browser= . > >> Download your FREE copy of Splunk now >> http://get.splunk.com/ > >> _______________________________________________ > >> enlightenment-users mailing list > >> enl...@li... > >> https://lists.sourceforge.net/lists/listinfo/enlightenment-users > >> > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. > > Still grepping through log files to find problems? Stop. > > Now Search log events and configuration files using AJAX and a browser. > > Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > enlightenment-users mailing list > enl...@li... > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > Your lack of shutdown buttons in not due to your logging in with gdm. |
From: Jochen S. <joc...@gm...> - 2007-08-19 23:17:47
|
giggz wrote: > I don't see these things. When I right click on the desktop, I just have > the favorite menu which is blank by me...When I left click on the > desktop, I get the main menu with sub-menu System, but there are just > "lock screen" and "leave session". But It could be the fact that I use > GDM to login and not entrance, isn't it ? > > I don't think that to erase my /home/giggz/.e which change things > because I just install E17 on my laptop for the first time...but if you > tell me that I change lot's of thing for you...I t oculd be great that I > test it... I think you need the hibernate package installed for these to work IIRC. Cheers Jochen |
From: GiGGz <gig...@gm...> - 2007-08-20 07:39:02
|
Jochen Schroeder a écrit : > giggz wrote: >> I don't see these things. When I right click on the desktop, I just have >> the favorite menu which is blank by me...When I left click on the >> desktop, I get the main menu with sub-menu System, but there are just >> "lock screen" and "leave session". But It could be the fact that I use >> GDM to login and not entrance, isn't it ? >> >> I don't think that to erase my /home/giggz/.e which change things >> because I just install E17 on my laptop for the first time...but if you >> tell me that I change lot's of thing for you...I t oculd be great that I >> test it... > > I think you need the hibernate package installed for these to work IIRC. Do you mean that I must have this package in order to have these buttons ? It's strange. I don't have this package et normaly I don't want it. I will install it this afternoon in order to test... Perhaps it could be good to set this package as recommend or suggest (for the deb packages...). So you think that the test for the button halt,reboot, ... are global. If one fails, we don't have any button ? > > Cheers Thx for your answer! Regards, > Jochen > > Guillaume > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ |
From: GiGGz <gig...@gm...> - 2007-08-20 08:41:55
|
GiGGz a écrit : > Jochen Schroeder a écrit : >> giggz wrote: >>> I don't see these things. When I right click on the desktop, I just have >>> the favorite menu which is blank by me...When I left click on the >>> desktop, I get the main menu with sub-menu System, but there are just >>> "lock screen" and "leave session". But It could be the fact that I use >>> GDM to login and not entrance, isn't it ? >>> >>> I don't think that to erase my /home/giggz/.e which change things >>> because I just install E17 on my laptop for the first time...but if you >>> tell me that I change lot's of thing for you...I t oculd be great that I >>> test it... >> I think you need the hibernate package installed for these to work IIRC. > Just a precision : the debian package which contains /etc/acpi/sleep.sh and /etc/acpi/hibernate.sh is "acpi-support"... ciao > Do you mean that I must have this package in order to have these buttons > ? It's strange. I don't have this package et normaly I don't want it. I > will install it this afternoon in order to test... > > Perhaps it could be good to set this package as recommend or suggest > (for the deb packages...). > > So you think that the test for the button halt,reboot, ... are global. > If one fails, we don't have any button ? > >> Cheers > > Thx for your answer! > Regards, > >> Jochen >> >> > Guillaume > >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Splunk Inc. >> Still grepping through log files to find problems? Stop. >> Now Search log events and configuration files using AJAX and a browser. >> Download your FREE copy of Splunk now >> http://get.splunk.com/ > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ |
From: David S. <on...@gm...> - 2007-08-19 23:53:23
|
On Mon, 20 Aug 2007 11:17:16 +1200 Jochen Schroeder <joc...@gm...> wrote: > giggz wrote: > > I don't see these things. When I right click on the desktop, I just > > have the favorite menu which is blank by me...When I left click on > > the desktop, I get the main menu with sub-menu System, but there > > are just "lock screen" and "leave session". But It could be the > > fact that I use GDM to login and not entrance, isn't it ? > > > > I don't think that to erase my /home/giggz/.e which change things > > because I just install E17 on my laptop for the first time...but if > > you tell me that I change lot's of thing for you...I t oculd be > > great that I test it... > > I think you need the hibernate package installed for these to work > IIRC. The /etc/enlightenment/sysactions.conf file controls who has permission to shut down or reboot the computer from the E17 system menu. It's got plenty of internal comments to help you figure it out. |
From: Carsten H. (T. R. <ra...@ra...> - 2007-08-20 14:44:03
|
On Mon, 20 Aug 2007 16:04:50 +0200 giggz <gig...@gm...> babbled: > [snip] > > Hi, > > I have installed the acpi-support package, but nothing more... > > but I have test e17 under root session through GDM. And under root I > have my applications menu (!?!) and the halt/reboot buttons. When I > compare the two .xsession-errors the only diffrences are : > These 4 lines in the user .xsession-errors : > ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES > ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES > ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES > ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES you problem is that that enlightenment_sys is NOT setuid root. something has been broken in the debian packages. the source build for e17 sets this to be setuid root (that means when this executable runs it runs AS ROOT). example: [ 11:37PM /usr/local/bin ] ls -l enlightenment_sys 20K -r-sr-xr-x 1 root root 19K 2007-08-20 08:05 enlightenment_sys* see - it's got the sticky bit set (s) - that means its setuid to the owner of the file (root in this case). i bet you whatever enlightenment_sys you have installed it's not setuid root - thus it doesn't work. beyond that - sysactions.conf is the config that defines commands to run (as root) for given "actions" like "reboot" "halt", "suspend" etc. and who is allowed to run them. this config is intended for packagers and sysadmins to alter to define what users can do these things, and what commands these actions "map" to. on ubuntu the default config will allow any normal user who has a reasonable set of privileges (as if they were an owner of the box) to halt, reboot, suspend and hibernate - and the commands given in the default config will work "out of the box" on ubuntu. your distribution may or may not work - it is up to the sys admin and/or packager to fix this so it works - if they want it to. > In the root .xsession-errors I see something strange : > ERROR: UNDEFINED ACTION: suspend > ERROR: UNDEFINED ACTION: hibernate > but these two actions are not defined and used in my > /etc/enlightenment/sysactions.conf (I attach it at the end) enlightenment itself looks for these actions. if it can't find them defined or doesn't have permission to do them - it doesn't add them to the menu. this is normal if you removed these actions from sysactions.conf > So I think it's a right problem, but where can I take a look : > sudo /sbin/shutdown -h now > sudo /sbin/shutdown -r now > work fine under a user session > > And Why can I have an application menu under root and not under my user > ? Are the paths different ? debian doesn't set up xdg menus "correctly" for users - they dont export any environment variables to indicate which prefix the system menus should use, thus efreet's "standards compliant" implementation doesn't work, because debian is not "standards compliant" out of the box. you need to set environment variables. my guess is that the root user has these set, but not normal users. see the enlightenment.org wiki and the page about efreet and e17. > Thanks! > cheers, > Guillaume > > > > (I'm not in the operator,staff,sys group) > /etc/enlightenment/sysactions.conf : > > action: halt sudo /sbin/shutdown -h now > action: reboot sudo /sbin/shutdown -r now > # action: suspend /etc/acpi/sleep.sh force > # action: hibernate /etc/acpi/hibernate.sh force > > # root is allowed to do anything - but it needs to be here explicitly anyway > user: root allow: * > # members of operator, staff and admin groups should be able to do all > group: operator allow: * > group: staff allow: * > # group: admin allow: * > group: sys allow: * > # common "user" groups for "console users" on desktops/laptops > # group: dialout allow: * > # group: disk allow: * > # group: adm allow: * > # group: cdrom allow: * > # group: floppy allow: * > # group: audio allow: * > # group: dip allow: * > # group: plugdev allow: * > # put in a list of other users and groups here that are allowed or > denied etc. > # e.g. > # user: myuser allow: * > # user: another allow: suspend hibernate > # deny everyone else by default > user: giggz allow: * > user: * deny: * > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > enlightenment-users mailing list > enl...@li... > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ra...@ra... 裸好多 Tokyo, Japan (東京 日本) |
From: Jochen S. <jo...@qu...> - 2007-08-19 21:43:23
|
giggz wrote: > I don't see these things. When I right click on the desktop, I just have > the favorite menu which is blank by me...When I left click on the > desktop, I get the main menu with sub-menu System, but there are just > "lock screen" and "leave session". But It could be the fact that I use > GDM to login and not entrance, isn't it ? > > I don't think that to erase my /home/giggz/.e which change things > because I just install E17 on my laptop for the first time...but if you > tell me that I change lot's of thing for you...I t oculd be great that I > test it... I think you need the hibernate package installed for these to work IIRC. Cheers Jochen |
From: GiGGz <gig...@gm...> - 2007-08-20 07:45:16
|
David Seikel a écrit : > On Mon, 20 Aug 2007 11:17:16 +1200 Jochen Schroeder > <joc...@gm...> wrote: > >> giggz wrote: >>> I don't see these things. When I right click on the desktop, I just >>> have the favorite menu which is blank by me...When I left click on >>> the desktop, I get the main menu with sub-menu System, but there >>> are just "lock screen" and "leave session". But It could be the >>> fact that I use GDM to login and not entrance, isn't it ? >>> >>> I don't think that to erase my /home/giggz/.e which change things >>> because I just install E17 on my laptop for the first time...but if >>> you tell me that I change lot's of thing for you...I t oculd be >>> great that I test it... >> I think you need the hibernate package installed for these to work >> IIRC. > > The /etc/enlightenment/sysactions.conf file controls who has permission > to shut down or reboot the computer from the E17 system menu. It's got > plenty of internal comments to help you figure it out. > Yes, now I know that. I have modify the 2 command lines for halt and reboot with sudo. it works fine in a terminal. But I don't have any slepp.sh script or hibernate...I don't have hibernate package...so this 2 lines can't work. Can I delete this 2 lines without any consequences ? I don't use suspend or hibernate... Regards, GUillaume > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ |
From: David S. <on...@gm...> - 2007-08-20 08:54:43
|
On Mon, 20 Aug 2007 09:40:57 +0200 GiGGz <gig...@gm...> wrote: > David Seikel a =C3=A9crit : > > On Mon, 20 Aug 2007 11:17:16 +1200 Jochen Schroeder > > <joc...@gm...> wrote: > >=20 > >> giggz wrote: > >>> I don't see these things. When I right click on the desktop, I > >>> just have the favorite menu which is blank by me...When I left > >>> click on the desktop, I get the main menu with sub-menu System, > >>> but there are just "lock screen" and "leave session". But It > >>> could be the fact that I use GDM to login and not entrance, isn't > >>> it ? > >>> > >>> I don't think that to erase my /home/giggz/.e which change things > >>> because I just install E17 on my laptop for the first time...but > >>> if you tell me that I change lot's of thing for you...I t oculd be > >>> great that I test it... > >> I think you need the hibernate package installed for these to work > >> IIRC. > >=20 > > The /etc/enlightenment/sysactions.conf file controls who has > > permission to shut down or reboot the computer from the E17 system > > menu. It's got plenty of internal comments to help you figure it > > out. > >=20 >=20 > Yes, now I know that. I have modify the 2 command lines for halt and=20 > reboot with sudo. it works fine in a terminal. But I don't have any=20 > slepp.sh script or hibernate...I don't have hibernate package...so > this 2 lines can't work. >=20 > Can I delete this 2 lines without any consequences ? I don't use > suspend or hibernate... Yes, comment them out or delete them, that will remove them from the menu. |
From: giggz <gig...@gm...> - 2007-08-20 14:07:27
|
[snip] Hi, I have installed the acpi-support package, but nothing more... but I have test e17 under root session through GDM. And under root I have my applications menu (!?!) and the halt/reboot buttons. When I compare the two .xsession-errors the only diffrences are : These 4 lines in the user .xsession-errors : ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES In the root .xsession-errors I see something strange : ERROR: UNDEFINED ACTION: suspend ERROR: UNDEFINED ACTION: hibernate but these two actions are not defined and used in my /etc/enlightenment/sysactions.conf (I attach it at the end) So I think it's a right problem, but where can I take a look : sudo /sbin/shutdown -h now sudo /sbin/shutdown -r now work fine under a user session And Why can I have an application menu under root and not under my user ? Are the paths different ? Thanks! cheers, Guillaume (I'm not in the operator,staff,sys group) /etc/enlightenment/sysactions.conf : action: halt sudo /sbin/shutdown -h now action: reboot sudo /sbin/shutdown -r now # action: suspend /etc/acpi/sleep.sh force # action: hibernate /etc/acpi/hibernate.sh force # root is allowed to do anything - but it needs to be here explicitly anyway user: root allow: * # members of operator, staff and admin groups should be able to do all group: operator allow: * group: staff allow: * # group: admin allow: * group: sys allow: * # common "user" groups for "console users" on desktops/laptops # group: dialout allow: * # group: disk allow: * # group: adm allow: * # group: cdrom allow: * # group: floppy allow: * # group: audio allow: * # group: dip allow: * # group: plugdev allow: * # put in a list of other users and groups here that are allowed or denied etc. # e.g. # user: myuser allow: * # user: another allow: suspend hibernate # deny everyone else by default user: giggz allow: * user: * deny: * |
From: giggz <gig...@gm...> - 2007-08-20 15:16:30
|
Carsten Haitzler (The Rasterman) a écrit : > On Mon, 20 Aug 2007 16:04:50 +0200 giggz <gig...@gm...> babbled: > >> [snip] >> >> Hi, >> >> I have installed the acpi-support package, but nothing more... >> >> but I have test e17 under root session through GDM. And under root I >> have my applications menu (!?!) and the halt/reboot buttons. When I >> compare the two .xsession-errors the only diffrences are : >> These 4 lines in the user .xsession-errors : >> ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES >> ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES >> ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES >> ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES > > you problem is that that enlightenment_sys is NOT setuid root. something has > been broken in the debian packages. the source build for e17 sets this to be > setuid root (that means when this executable runs it runs AS ROOT). example: > > [ 11:37PM /usr/local/bin ] ls -l enlightenment_sys > 20K -r-sr-xr-x 1 root root 19K 2007-08-20 08:05 enlightenment_sys* > > see - it's got the sticky bit set (s) - that means its setuid to the owner of > the file (root in this case). i bet you whatever enlightenment_sys you have > installed it's not setuid root - thus it doesn't work. > Ouaou! yipeee! you're right! ll /usr/bin/enlightenment* gives me : -rwxr-xr-x 1 root root 874K 2007-08-19 02:49 /usr/bin/enlightenment -rwxr-xr-x 1 root root 37K 2007-08-19 02:49 /usr/bin/enlightenment_fm -rwxr-xr-x 1 root root 777K 2007-08-19 02:49 /usr/bin/enlightenment_imc -rwxr-xr-x 1 root root 99K 2007-08-19 02:49 /usr/bin/enlightenment_remote -rwxr-xr-x 1 root root 8,8K 2007-08-19 02:49 /usr/bin/enlightenment_start -rwxr-xr-x 1 root root 7,5K 2007-08-19 02:49 /usr/bin/enlightenment_sys -rwxr-xr-x 1 root root 26K 2007-08-19 02:49 /usr/bin/enlightenment_thumb I have done chmod +s /usr/bin/enlightenment_sys*, so I have now : -rwsr-sr-x 1 root root 7,5K 2007-08-19 02:49 /usr/bin/enlightenment_sys I don't have exactly the same right as you, but it's work out of the box! thx for that!!! I have my two halt and reboot icons! > beyond that - sysactions.conf is the config that defines commands to run (as > root) for given "actions" like "reboot" "halt", "suspend" etc. and who is > allowed to run them. this config is intended for packagers and sysadmins to > alter to define what users can do these things, and what commands these > actions "map" to. on ubuntu the default config will allow any normal user who > has a reasonable set of privileges (as if they were an owner of the box) to > halt, reboot, suspend and hibernate - and the commands given in the default > config will work "out of the box" on ubuntu. your distribution may or may not > work - it is up to the sys admin and/or packager to fix this so it works - if > they want it to. > ok >> In the root .xsession-errors I see something strange : >> ERROR: UNDEFINED ACTION: suspend >> ERROR: UNDEFINED ACTION: hibernate >> but these two actions are not defined and used in my >> /etc/enlightenment/sysactions.conf (I attach it at the end) > > enlightenment itself looks for these actions. if it can't find them defined or > doesn't have permission to do them - it doesn't add them to the menu. this is > normal if you removed these actions from sysactions.conf > ok >> So I think it's a right problem, but where can I take a look : >> sudo /sbin/shutdown -h now >> sudo /sbin/shutdown -r now >> work fine under a user session >> >> And Why can I have an application menu under root and not under my user >> ? Are the paths different ? > > debian doesn't set up xdg menus "correctly" for users - they dont export any > environment variables to indicate which prefix the system menus should use, > thus efreet's "standards compliant" implementation doesn't work, because debian > is not "standards compliant" out of the box. you need to set environment > variables. my guess is that the root user has these set, but not normal users. > see the enlightenment.org wiki and the page about efreet and e17. > Yes, I have read this wiki last week. I will try to export this variables... Big big Thx (I don't know if we say that in english...) Regards, Guillaume [snip] |
From: Carsten H. (T. R. <ra...@ra...> - 2007-08-20 22:53:33
|
On Mon, 20 Aug 2007 17:13:56 +0200 giggz <gig...@gm...> babbled: > Carsten Haitzler (The Rasterman) a écrit : > > On Mon, 20 Aug 2007 16:04:50 +0200 giggz <gig...@gm...> babbled: > > > >> [snip] > >> > >> Hi, > >> > >> I have installed the acpi-support package, but nothing more... > >> > >> but I have test e17 under root session through GDM. And under root I > >> have my applications menu (!?!) and the halt/reboot buttons. When I > >> compare the two .xsession-errors the only diffrences are : > >> These 4 lines in the user .xsession-errors : > >> ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES > >> ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES > >> ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES > >> ERROR: UNABLE TO ASSUME ROOT PRIVILEDGES > > > > you problem is that that enlightenment_sys is NOT setuid root. something has > > been broken in the debian packages. the source build for e17 sets this to be > > setuid root (that means when this executable runs it runs AS ROOT). example: > > > > [ 11:37PM /usr/local/bin ] ls -l enlightenment_sys > > 20K -r-sr-xr-x 1 root root 19K 2007-08-20 08:05 enlightenment_sys* > > > > see - it's got the sticky bit set (s) - that means its setuid to the owner > > of the file (root in this case). i bet you whatever enlightenment_sys you > > have installed it's not setuid root - thus it doesn't work. > > > > Ouaou! yipeee! you're right! > ll /usr/bin/enlightenment* gives me : > -rwxr-xr-x 1 root root 874K 2007-08-19 02:49 /usr/bin/enlightenment > -rwxr-xr-x 1 root root 37K 2007-08-19 02:49 /usr/bin/enlightenment_fm > -rwxr-xr-x 1 root root 777K 2007-08-19 02:49 /usr/bin/enlightenment_imc > -rwxr-xr-x 1 root root 99K 2007-08-19 02:49 /usr/bin/enlightenment_remote > -rwxr-xr-x 1 root root 8,8K 2007-08-19 02:49 /usr/bin/enlightenment_start > -rwxr-xr-x 1 root root 7,5K 2007-08-19 02:49 /usr/bin/enlightenment_sys > -rwxr-xr-x 1 root root 26K 2007-08-19 02:49 /usr/bin/enlightenment_thumb > > I have done chmod +s /usr/bin/enlightenment_sys*, so I have now : > -rwsr-sr-x 1 root root 7,5K 2007-08-19 02:49 /usr/bin/enlightenment_sys > I don't have exactly the same right as you, but it's work out of the > box! thx for that!!! I have my two halt and reboot icons! :) something is wrong with the packages you have - they don't keep the suid bit as per the install. > > beyond that - sysactions.conf is the config that defines commands to run (as > > root) for given "actions" like "reboot" "halt", "suspend" etc. and who is > > allowed to run them. this config is intended for packagers and sysadmins to > > alter to define what users can do these things, and what commands these > > actions "map" to. on ubuntu the default config will allow any normal user > > who has a reasonable set of privileges (as if they were an owner of the > > box) to halt, reboot, suspend and hibernate - and the commands given in the > > default config will work "out of the box" on ubuntu. your distribution may > > or may not work - it is up to the sys admin and/or packager to fix this so > > it works - if they want it to. > > > > ok > > >> In the root .xsession-errors I see something strange : > >> ERROR: UNDEFINED ACTION: suspend > >> ERROR: UNDEFINED ACTION: hibernate > >> but these two actions are not defined and used in my > >> /etc/enlightenment/sysactions.conf (I attach it at the end) > > > > enlightenment itself looks for these actions. if it can't find them defined > > or doesn't have permission to do them - it doesn't add them to the menu. > > this is normal if you removed these actions from sysactions.conf > > > > ok > > >> So I think it's a right problem, but where can I take a look : > >> sudo /sbin/shutdown -h now > >> sudo /sbin/shutdown -r now > >> work fine under a user session > >> > >> And Why can I have an application menu under root and not under my user > >> ? Are the paths different ? > > > > debian doesn't set up xdg menus "correctly" for users - they dont export any > > environment variables to indicate which prefix the system menus should use, > > thus efreet's "standards compliant" implementation doesn't work, because > > debian is not "standards compliant" out of the box. you need to set > > environment variables. my guess is that the root user has these set, but > > not normal users. see the enlightenment.org wiki and the page about efreet > > and e17. > > > > Yes, I have read this wiki last week. I will try to export this variables... > > Big big Thx (I don't know if we say that in english...) c'est d'accor mon ami :) tout le monde ne parles pas l'anglais courament, mais c'set la langue d'intenrnet - l'anglaid de chaque personne n'est pas parfait :) > Regards, > Guillaume > > > [snip] > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > enlightenment-users mailing list > enl...@li... > https://lists.sourceforge.net/lists/listinfo/enlightenment-users -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ra...@ra... 裸好多 Tokyo, Japan (東京 日本) |
From: Jochen S. <jo...@qu...> - 2007-08-20 02:15:07
|
David Seikel wrote: > On Mon, 20 Aug 2007 11:17:16 +1200 Jochen Schroeder > <joc...@gm...> wrote: > >> giggz wrote: >>> I don't see these things. When I right click on the desktop, I just >>> have the favorite menu which is blank by me...When I left click on >>> the desktop, I get the main menu with sub-menu System, but there >>> are just "lock screen" and "leave session". But It could be the >>> fact that I use GDM to login and not entrance, isn't it ? >>> >>> I don't think that to erase my /home/giggz/.e which change things >>> because I just install E17 on my laptop for the first time...but if >>> you tell me that I change lot's of thing for you...I t oculd be >>> great that I test it... >> I think you need the hibernate package installed for these to work >> IIRC. > > The /etc/enlightenment/sysactions.conf file controls who has permission > to shut down or reboot the computer from the E17 system menu. It's got > plenty of internal comments to help you figure it out. Cool I never realized that this file was there. However I noticed that when I install with --prefix=/usr it get's installed into /usr/etc/enlightenment. Now I don't know the exact FHS guidelines, but all other packages I have encountered so far put their configuration files in /etc/ even if you specify /usr as a prefix. Is this intended behaviour? (I'm aware that I can change this with --sysconfdir was just wondering) Cheers Jochen |
From: Carsten H. (T. R. <ra...@ra...> - 2007-08-20 22:53:29
|
On Mon, 20 Aug 2007 14:14:26 +1200 Jochen Schroeder <jo...@qu...> babbled: > David Seikel wrote: > > On Mon, 20 Aug 2007 11:17:16 +1200 Jochen Schroeder > > <joc...@gm...> wrote: > > > >> giggz wrote: > >>> I don't see these things. When I right click on the desktop, I just > >>> have the favorite menu which is blank by me...When I left click on > >>> the desktop, I get the main menu with sub-menu System, but there > >>> are just "lock screen" and "leave session". But It could be the > >>> fact that I use GDM to login and not entrance, isn't it ? > >>> > >>> I don't think that to erase my /home/giggz/.e which change things > >>> because I just install E17 on my laptop for the first time...but if > >>> you tell me that I change lot's of thing for you...I t oculd be > >>> great that I test it... > >> I think you need the hibernate package installed for these to work > >> IIRC. > > > > The /etc/enlightenment/sysactions.conf file controls who has permission > > to shut down or reboot the computer from the E17 system menu. It's got > > plenty of internal comments to help you figure it out. > > Cool I never realized that this file was there. However I noticed that > when I install with --prefix=/usr it get's installed into > /usr/etc/enlightenment. Now I don't know the exact FHS guidelines, but > all other packages I have encountered so far put their configuration > files in /etc/ even if you specify /usr as a prefix. Is this intended > behaviour? (I'm aware that I can change this with --sysconfdir was just > wondering) yes - it's intended - because... --sysconfdir can do what you want :) it otherwise means that e CAN be in a clean install prefix ENTIRELY - and e can work this out runtime. i.e. use --prefix=/opt/apps/e17 but then after compiling and installing you decide e should be in /opt/e17 - just: mv /opt/apps/e17 /opt/e17 and e will work. it will figure out its new prefix. or: --prefix=$HOME/apps/e17 then later you decide that you need to move it to /opt/e17 to share with other users: mv $HOME/apps/e17 /opt/e17 presto - e17 will work. the sysactions.conf will also follow etc. > Cheers > Jochen > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > enlightenment-users mailing list > enl...@li... > https://lists.sourceforge.net/lists/listinfo/enlightenment-users > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ra...@ra... 裸好多 Tokyo, Japan (東京 日本) |