On Sun, 2004-12-05 at 19:50 -0500, Corey Donohoe wrote: Maybe I was not clear.
When I run entrance -T from an xterm as user, I get NO test screen. I just get the error message that entrance cannot connect to daemon. This occurs whether or not I run entranced. If I sudo entrance -T, then the test screen comes up. That's the big difference. I get no "cannot connect to daemon" error when sudo. * Peter Hyman ([EMAIL PROTECTED]) wrote: > > Running entrance -T returns the following: > > > > bash-2.05b$ entrance -T > > WARNING: not a utf8 locale! > ^^^ is a message from edje I believe, you'll see that in apps other than > entrance > > Debug: ipc_title = /var/entrance_ipc_0 > ^^^ is a message from entrance_ipc.c, it's debateable whether or not this > should be spewing out info, but for now you can simply ignore it. > > entrance_ipc_init: connect to daemon failed. > ^^^ is your user failing to connect to the ipc socket that entranced and > entrance use to communicate, it can safely big ignored. > > Notice: > nemesis% entrance -T > WARNING: not a utf8 locale! > Debug: ipc_title = /var/lib/entrance/entrance_ipc_0 > entrance_ipc_init: connect to daemon failed. > > nemesis% sudo entrance -T > WARNING: not a utf8 locale! > Debug: ipc_title = /var/lib/entrance/entrance_ipc_0 > entrance_ipc_init: connect to daemon failed. > > nemesis% ps auwwx | grep entranced > root 8333 0.0 0.9 56068 4940 ? S Dec04 0:00 > /usr/sbin/entranced > > nemesis% entrance -T -z 8333 > WARNING: not a utf8 locale! > entrance: main: z optarg = 8333 > Debug: ipc_title = /var/lib/entrance/entrance_ipc_8333 > entrance_ipc_init: connect to daemon failed. > > nemesis% sudo entrance -T -z 8333 > WARNING: not a utf8 locale! > entrance: main: z optarg = 8333 > Debug: ipc_title = /var/lib/entrance/entrance_ipc_8333 > entrance_ipc_init: Success > > Worth noting is that unless you identify the pid you're not going to connect > to ipc even w/ sudo or as root. > > > > I must run as root or sudo entrance -T. > > > > Does this make sense? > Yes. > > Any user should be able to run this. > Any user can. > > Are there auth checks going on that are not needed? > Sorta, but they don't hurt the app > > > > I think it should allow any user to run it though, not just root or > > through sudo. > As stated above anyone can run entrance -T, you just can't login for the > same reasons you wouldn't want me calling initgroups, setgid, and setuid to > your user on a shell box. :D > > > -- > > Peter > > > __ > Corey Donohoe > http://www.atmos.org > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > enlightenment-devel mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Peter ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ _______________________________________________ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
