SOLVED (Was: Re: [RESEND] lxde error)

2018-08-05 Thread Byung-Hee HWANG (황병희, 黃炳熙)
Dear Reco,

Reco  writes:

>   Hi.
>
> On Sun, Aug 05, 2018 at 07:14:15PM +0900, Byung-Hee HWANG (황병희, 黃炳熙) wrote:
>> Sorry Reco, my attached file was somewhat odd. So re-send it as files.
>> 
>
> And now it's getting some sense at last.
> This Crouton thing starts xinit, which in turn starts startlxde, which
> invokes lxsession, which parses files at /etc/xdg/autostart and starts
> lxpolkit along the other things.
>
> lxpolkit, along the other things, invokes
> "polkit_agent_register_listener" library function, which (supposedly
> through DBUS mumbo-jumbo) ends up at "polkit_unix_session_initable_init"
> function.
>
> The choice of names is kind of meh, but that particular function invokes
> "sd_pid_get_owner_uid" function. Being part of systemd (sd-login.c to be
> precise), it's hardly surprising that it returns anything meaningful
> only if the systemd is pid1, user has registered a logind session, etc.
>
> Which is not the case for you, because of the Crouton is written for the
> completely different usecase. Moreover, the man himself spoke on the
> similar issue at [1], and said "lxpolkit is broken, fix it".
>
>
> The remaining question is - what to do with all this?
> I suspect that patching out problematic parts of policykit is out of
> question (it is for me at least), so I propose either:
>
> 1) Removing /etc/xdg/autostart/lxpolkit.desktop.
>
> 2) Replacing /usr/bin/lxpolkit with a symlink to /bin/true.
>
> Reco
>
> [1] https://github.com/systemd/systemd/issues/833

And now fixed all problem, i just wanted to remove error pop-up window.

Thanks, indeed...^^^

Sincerely, Byung-Hee.

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//



[SOLVED] (Was: Re: [RESEND] lxde error)

2018-08-05 Thread Byung-Hee HWANG (황병희, 黃炳熙)
Dear Reco,

Reco  writes:

>   Hi.
>
> On Sun, Aug 05, 2018 at 07:14:15PM +0900, Byung-Hee HWANG (™ë‘, »ƒ‚熙) 
> wrote:
>> Sorry Reco, my attached file was somewhat odd. So re-send it as files.
>> 
>
> And now it's getting some sense at last.
> This Crouton thing starts xinit, which in turn starts startlxde, which
> invokes lxsession, which parses files at /etc/xdg/autostart and starts
> lxpolkit along the other things.
>
> lxpolkit, along the other things, invokes
> "polkit_agent_register_listener" library function, which (supposedly
> through DBUS mumbo-jumbo) ends up at "polkit_unix_session_initable_init"
> function.
>
> The choice of names is kind of meh, but that particular function invokes
> "sd_pid_get_owner_uid" function. Being part of systemd (sd-login.c to be
> precise), it's hardly surprising that it returns anything meaningful
> only if the systemd is pid1, user has registered a logind session, etc.
>
> Which is not the case for you, because of the Crouton is written for the
> completely different usecase. Moreover, the man himself spoke on the
> similar issue at [1], and said "lxpolkit is broken, fix it".
>
>
> The remaining question is - what to do with all this?
> I suspect that patching out problematic parts of policykit is out of
> question (it is for me at least), so I propose either:
>
> 1) Removing /etc/xdg/autostart/lxpolkit.desktop.
>
> 2) Replacing /usr/bin/lxpolkit with a symlink to /bin/true.
>
> Reco
>
> [1] https://github.com/systemd/systemd/issues/833

And now it is fixed problem, i just wanted to remove error popup-window.

Thanks, indeed...^^^

Sincerely, Byung-Hee.

-- 
^àÙµÈä _0s)_ ¬iÈä_^))//



Re: [RESEND] lxde error

2018-08-05 Thread Reco
Hi.

On Sun, Aug 05, 2018 at 07:14:15PM +0900, Byung-Hee HWANG (황병희, 黃炳熙) wrote:
> Sorry Reco, my attached file was somewhat odd. So re-send it as files.
> 

And now it's getting some sense at last.
This Crouton thing starts xinit, which in turn starts startlxde, which
invokes lxsession, which parses files at /etc/xdg/autostart and starts
lxpolkit along the other things.

lxpolkit, along the other things, invokes
"polkit_agent_register_listener" library function, which (supposedly
through DBUS mumbo-jumbo) ends up at "polkit_unix_session_initable_init"
function.

The choice of names is kind of meh, but that particular function invokes
"sd_pid_get_owner_uid" function. Being part of systemd (sd-login.c to be
precise), it's hardly surprising that it returns anything meaningful
only if the systemd is pid1, user has registered a logind session, etc.

Which is not the case for you, because of the Crouton is written for the
completely different usecase. Moreover, the man himself spoke on the
similar issue at [1], and said "lxpolkit is broken, fix it".


The remaining question is - what to do with all this?
I suspect that patching out problematic parts of policykit is out of
question (it is for me at least), so I propose either:

1) Removing /etc/xdg/autostart/lxpolkit.desktop.

2) Replacing /usr/bin/lxpolkit with a symlink to /bin/true.

Reco

[1] https://github.com/systemd/systemd/issues/833



Re: [RESEND] lxde error

2018-08-05 Thread 황병희, 黃炳熙

Sorry Reco, my attached file was somewhat odd. So re-send it as files.


On 2018년 08월 05일 16:38, Reco wrote:

Hi.

On Sun, Aug 05, 2018 at 03:26:28PM +0900, Byung-Hee HWANG (황병희, 黃炳熙) wrote:

thanks for feedback, Reco^^^


On 2018년 08월 04일 00:17, Reco wrote:

Hi.

On Fri, Aug 03, 2018 at 11:23:49PM +0900, Byung-Hee HWANG (황병희, 黃炳熙) wrote:

thanks for feedback, Reco^^^


On 2018년 08월 03일 15:22, Reco wrote:

Hi.

On Thu, Aug 02, 2018 at 11:04:37PM +0900, Byung-Hee HWANG (황병희) wrote:

i'm new to debian. yesterday i did install debian on chromebook. i get
some error when i start lxde. attached file with error [1]. how can i
resolve it?

[1] 
https://gitlab.com/soyeomul/stuff/raw/master/jessie-birch/20180802_214248.jpg

This seems very similar to Debian bug #864402 - [2]. Can you test the
workaround proposed at message 10 please?

Reco

[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864402


Ah yes i checked that above PR. Then i did look around autostart tab.
however there is no "policy kit agent" in my config [3].

thanks,

[3] 
https://gitlab.com/soyeomul/stuff/raw/master/jessie-birch/2018-08-03-231242_1920x1080_scrot.png

Let's do it the hard way then.

1) Relogin.

2) Launch terminal emulator (it should be lxterminal, I suppose, but any
will do), execute this:

ps -fP 

and, for the sake of completeness,

ps -fU $(id -u)

3) Also please publish the contents of ~/.xsession-errors somewhere.

Reco


attached file as [typescript], thanks!!!

So, pid 4865 is lxpolkit, which is expected.
Its parent is lxsession, which is expected too.
But then you have this:

soyeomul  4723  4715  0 13:30 ?00:00:00 /usr/bin/xinit /usr/local/bin/cr
soyeomul  4792  4723  0 13:30 ?00:00:00 /bin/sh -e /usr/local/bin/crouto
soyeomul  4801  4792  0 13:30 ?00:00:00 /bin/sh -e /usr/local/bin/crouto
soyeomul  4802  4792  0 13:30 ?00:00:00 /bin/sh -e /usr/local/bin/crouto
soyeomul  4814  4802  0 13:30 ?00:00:00 /bin/sh -e /usr/local/bin/crouto
soyeomul  4815  4802  0 13:30 ?00:00:00 /bin/sh -e /usr/local/bin/crouto

Feeding local script to xinit is an old and respected tradition, so
that's ok. But launching such script from itself is probably not.

My suspicion that this '/usr/local/bin/crouto…' script tries to launch
lxsession multiple times, therefore launching lxpolkit multiple times as
well.

So the question is - what are the contents of this
'/usr/local/bin/crouto…'?

And another one is - what are the contents of /etc/xdg/autostart?

Reco


file 1.txt is ps -fp 
file 2.txt is ps -fU $(id -u)
file 3.txt is ~/.cache/lxsession/LXDE/run.log (it seems ~/lxsession-errors)

Also i looked /etc/xdg/autostart.
(jessie)soyeomul@localhost:/etc/xdg/autostart$ pwd
/etc/xdg/autostart
(jessie)soyeomul@localhost:/etc/xdg/autostart$ ls -l
합계 88
-rw-r--r--. 1 root root  305 10월 10  2014 at-spi-dbus-bus.desktop
-rw-r--r--. 1 root root  831  8월 31  2014 clipit-startup.desktop
-rw-r--r--. 1 root root 6733  1월  4  2015 evolution-alarm-notify.desktop
-rw-r--r--. 1 root root 6351 10월 21  2014 gnome-keyring-gpg.desktop
-rw-r--r--. 1 root root  10월 21  2014 gnome-keyring-pkcs11.desktop
-rw-r--r--. 1 root root 7339 10월 21  2014 gnome-keyring-secrets.desktop
-rw-r--r--. 1 root root 5996 10월 21  2014 gnome-keyring-ssh.desktop
-rw-r--r--. 1 root root 7741  8월 27  2014 gsettings-data-convert.desktop
-rw-r--r--. 1 root root  237 11월 29  2014 lxpolkit.desktop
-rw-r--r--. 1 root root  250  8월 20  2011 notification-daemon.desktop
-rw-r--r--. 1 root root  272 11월 22  2015 orca-autostart.desktop
-rw-r--r--. 1 root root 7935 10월 23  2014 print-applet.desktop
-rw-r--r--. 1 root root 1293 10월 12  2014 pulseaudio-kde.desktop
-rw-r--r--. 1 root root 3980 10월 12  2014 pulseaudio.desktop
-rw-r--r--. 1 root root  164  8월 22  2014 xbindkeys.desktop
(jessie)soyeomul@localhost:/etc/xdg/autostart$

thanks!!!
UIDPID  PPID  C STIME TTY  TIME CMD
soyeomul 18883 18855  0 18:58 ?00:00:00 lxpolkit
UIDPID  PPID  C STIME TTY  TIME CMD
soyeomul  1263  1205  0  7월27 ?  00:33:22 /opt/google/chrome/chrome 
--ppapi-flash-path=/opt/google/chrome/pepper/libpepflashplayer.so 
--ppapi-flash-version=26.0.0.102 --ui-prioritize-in-gpu-process --use-gl=egl 
--gpu-sandbox-failures-fatal=yes --enable-logging --log-level=1 --use-cras 
--enable-wayland-server --arc-availability=installed 
--user-data-dir=/home/chronos --max-unused-resource-memory-usage-percentage=5 
--system-developer-mode --login-profile=user --has-chromeos-keyboard 
--enable-touchview 
--default-wallpaper-large=/usr/share/chromeos-assets/wallpaper/default_large.jpg
 
--default-wallpaper-small=/usr/share/chromeos-assets/wallpaper/default_small.jpg
 --child-wallpaper-large=/usr/share/chromeos-assets/wallpaper/child_large.jpg 
--child-wallpaper-small=/usr/share/chromeos-assets/wallpaper/child_small.jpg 
--guest-wallpaper-large=/usr/share/chromeos-assets/wallpaper/guest_large.jpg 
--guest-wallpaper-small=/usr/share/

Re: [RESEND] lxde error

2018-08-05 Thread Reco
Hi.

On Sun, Aug 05, 2018 at 03:26:28PM +0900, Byung-Hee HWANG (황병희, 黃炳熙) wrote:
> thanks for feedback, Reco^^^
> 
> 
> On 2018년 08월 04일 00:17, Reco wrote:
> > Hi.
> > 
> > On Fri, Aug 03, 2018 at 11:23:49PM +0900, Byung-Hee HWANG (황병희, 黃炳熙) wrote:
> > > thanks for feedback, Reco^^^
> > > 
> > > 
> > > On 2018년 08월 03일 15:22, Reco wrote:
> > > > Hi.
> > > > 
> > > > On Thu, Aug 02, 2018 at 11:04:37PM +0900, Byung-Hee HWANG (황병희) wrote:
> > > > > i'm new to debian. yesterday i did install debian on chromebook. i get
> > > > > some error when i start lxde. attached file with error [1]. how can i
> > > > > resolve it?
> > > > > 
> > > > > [1] 
> > > > > https://gitlab.com/soyeomul/stuff/raw/master/jessie-birch/20180802_214248.jpg
> > > > This seems very similar to Debian bug #864402 - [2]. Can you test the
> > > > workaround proposed at message 10 please?
> > > > 
> > > > Reco
> > > > 
> > > > [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864402
> > > > 
> > > Ah yes i checked that above PR. Then i did look around autostart tab.
> > > however there is no "policy kit agent" in my config [3].
> > > 
> > > thanks,
> > > 
> > > [3] 
> > > https://gitlab.com/soyeomul/stuff/raw/master/jessie-birch/2018-08-03-231242_1920x1080_scrot.png
> > Let's do it the hard way then.
> > 
> > 1) Relogin.
> > 
> > 2) Launch terminal emulator (it should be lxterminal, I suppose, but any
> > will do), execute this:
> > 
> > ps -fP 
> > 
> > and, for the sake of completeness,
> > 
> > ps -fU $(id -u)
> > 
> > 3) Also please publish the contents of ~/.xsession-errors somewhere.
> > 
> > Reco
> > 
> attached file as [typescript], thanks!!!

So, pid 4865 is lxpolkit, which is expected.
Its parent is lxsession, which is expected too.
But then you have this:

soyeomul  4723  4715  0 13:30 ?00:00:00 /usr/bin/xinit /usr/local/bin/cr
soyeomul  4792  4723  0 13:30 ?00:00:00 /bin/sh -e /usr/local/bin/crouto
soyeomul  4801  4792  0 13:30 ?00:00:00 /bin/sh -e /usr/local/bin/crouto
soyeomul  4802  4792  0 13:30 ?00:00:00 /bin/sh -e /usr/local/bin/crouto
soyeomul  4814  4802  0 13:30 ?00:00:00 /bin/sh -e /usr/local/bin/crouto
soyeomul  4815  4802  0 13:30 ?00:00:00 /bin/sh -e /usr/local/bin/crouto

Feeding local script to xinit is an old and respected tradition, so
that's ok. But launching such script from itself is probably not.

My suspicion that this '/usr/local/bin/crouto…' script tries to launch
lxsession multiple times, therefore launching lxpolkit multiple times as
well.

So the question is - what are the contents of this
'/usr/local/bin/crouto…'?

And another one is - what are the contents of /etc/xdg/autostart?

Reco



Re: [RESEND] lxde error

2018-08-04 Thread 황병희, 黃炳熙

thanks for feedback, Reco^^^


On 2018년 08월 04일 00:17, Reco wrote:

Hi.

On Fri, Aug 03, 2018 at 11:23:49PM +0900, Byung-Hee HWANG (황병희, 黃炳熙) wrote:

thanks for feedback, Reco^^^


On 2018년 08월 03일 15:22, Reco wrote:

Hi.

On Thu, Aug 02, 2018 at 11:04:37PM +0900, Byung-Hee HWANG (황병희) wrote:

i'm new to debian. yesterday i did install debian on chromebook. i get
some error when i start lxde. attached file with error [1]. how can i
resolve it?

[1] 
https://gitlab.com/soyeomul/stuff/raw/master/jessie-birch/20180802_214248.jpg

This seems very similar to Debian bug #864402 - [2]. Can you test the
workaround proposed at message 10 please?

Reco

[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864402


Ah yes i checked that above PR. Then i did look around autostart tab.
however there is no "policy kit agent" in my config [3].

thanks,

[3] 
https://gitlab.com/soyeomul/stuff/raw/master/jessie-birch/2018-08-03-231242_1920x1080_scrot.png

Let's do it the hard way then.

1) Relogin.

2) Launch terminal emulator (it should be lxterminal, I suppose, but any
will do), execute this:

ps -fP 

and, for the sake of completeness,

ps -fU $(id -u)

3) Also please publish the contents of ~/.xsession-errors somewhere.

Reco


attached file as [typescript], thanks!!!


typescript
Description: Binary data


Re: [RESEND] lxde error

2018-08-03 Thread Reco
Hi.

On Fri, Aug 03, 2018 at 11:23:49PM +0900, Byung-Hee HWANG (황병희, 黃炳熙) wrote:
> thanks for feedback, Reco^^^
> 
> 
> On 2018년 08월 03일 15:22, Reco wrote:
> > Hi.
> > 
> > On Thu, Aug 02, 2018 at 11:04:37PM +0900, Byung-Hee HWANG (황병희) wrote:
> > > i'm new to debian. yesterday i did install debian on chromebook. i get
> > > some error when i start lxde. attached file with error [1]. how can i
> > > resolve it?
> > > 
> > > [1] 
> > > https://gitlab.com/soyeomul/stuff/raw/master/jessie-birch/20180802_214248.jpg
> > This seems very similar to Debian bug #864402 - [2]. Can you test the
> > workaround proposed at message 10 please?
> > 
> > Reco
> > 
> > [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864402
> > 
> Ah yes i checked that above PR. Then i did look around autostart tab.
> however there is no "policy kit agent" in my config [3].
> 
> thanks,
> 
> [3] 
> https://gitlab.com/soyeomul/stuff/raw/master/jessie-birch/2018-08-03-231242_1920x1080_scrot.png

Let's do it the hard way then.

1) Relogin.

2) Launch terminal emulator (it should be lxterminal, I suppose, but any
will do), execute this:

ps -fP 

and, for the sake of completeness, 

ps -fU $(id -u)

3) Also please publish the contents of ~/.xsession-errors somewhere.

Reco



Re: [RESEND] lxde error

2018-08-03 Thread Byung-Hee HWANG (황병희, 黃炳熙)
T BkRl  writes:

> Basically I’m curious how you installed lxde. Did you install it as a group 
> of packages or individual components?

As a chromebook user, i did use Crouton [1].

Sincerely,

[1] https://github.com/dnschneid/crouton

-- 
^고맙습니다 _地平天成_ 감사합니다_^))//



Re: [RESEND] lxde error

2018-08-03 Thread 황병희, 黃炳熙

thanks for feedback, Reco^^^


On 2018년 08월 03일 15:22, Reco wrote:

Hi.

On Thu, Aug 02, 2018 at 11:04:37PM +0900, Byung-Hee HWANG (황병희) wrote:

i'm new to debian. yesterday i did install debian on chromebook. i get
some error when i start lxde. attached file with error [1]. how can i
resolve it?

[1] 
https://gitlab.com/soyeomul/stuff/raw/master/jessie-birch/20180802_214248.jpg

This seems very similar to Debian bug #864402 - [2]. Can you test the
workaround proposed at message 10 please?

Reco

[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864402

Ah yes i checked that above PR. Then i did look around autostart tab. 
however there is no "policy kit agent" in my config [3].


thanks,

[3] 
https://gitlab.com/soyeomul/stuff/raw/master/jessie-birch/2018-08-03-231242_1920x1080_scrot.png 



Re: [RESEND] lxde error

2018-08-03 Thread T BkRl
Please tell us how you installed Debian. Network or minimal install? Any other 
desktop environment like Gnome or KDE?

Basically I’m curious how you installed lxde. Did you install it as a group of 
packages or individual components?



From: Reco 
Sent: Friday, August 3, 2018 2:23 AM
To: debian-user@lists.debian.org
Subject: Re: [RESEND] lxde error

Hi.

On Thu, Aug 02, 2018 at 11:04:37PM +0900, Byung-Hee HWANG (황병희) wrote:
> i'm new to debian. yesterday i did install debian on chromebook. i get
> some error when i start lxde. attached file with error [1]. how can i
> resolve it?
>
> [1] 
> https://gitlab.com/soyeomul/stuff/raw/master/jessie-birch/20180802_214248.jpg

This seems very similar to Debian bug #864402 - [2]. Can you test the
workaround proposed at message 10 please?

Reco

[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864402



Re: [RESEND] lxde error

2018-08-02 Thread Reco
Hi.

On Thu, Aug 02, 2018 at 11:04:37PM +0900, Byung-Hee HWANG (황병희) wrote:
> i'm new to debian. yesterday i did install debian on chromebook. i get
> some error when i start lxde. attached file with error [1]. how can i
> resolve it? 
>
> [1] 
> https://gitlab.com/soyeomul/stuff/raw/master/jessie-birch/20180802_214248.jpg

This seems very similar to Debian bug #864402 - [2]. Can you test the
workaround proposed at message 10 please?

Reco

[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864402



Re: [RESEND] lxde error

2018-08-02 Thread 황병희, 黃炳熙

thanks for feedback, Dan^^


On 2018년 08월 03일 00:39, Dan Ritter wrote:

On Thu, Aug 02, 2018 at 11:04:37PM +0900, Byung-Hee HWANG (황병희) wrote:

i'm new to debian. yesterday i did install debian on chromebook. i get
some error when i start lxde. attached file with error [1]. how can i
resolve it?

$ lsb_release -d
Description:Debian GNU/Linux 8.11 (jessie)

$ uname -a
Linux localhost 3.18.0-14597-g61c88fee5b70 #1 SMP PREEMPT Thu Jul 13
12:01:12 PDT 2017 aarch64 GNU/Linux

$ dpkg -l | grep lxde
ii  lxde  6
ii  lxde-common   0.99.0-1
ii  lxde-core 6
ii  lxde-icon-theme   0.5.1-1
ii  task-lxde-desktop 3.31+deb8u1


Perhaps lxsession is not running?

so i did check on terminal as below:

$ ps -ax | grep lxsession
12478 ?Sl 0:00 /usr/bin/lxsession -s LXDE -e LXDE
12674 pts/1S+ 0:00 grep lxsession

i do not know what problem is. it occur every start with lxde.

thanks,



Re: [RESEND] lxde error

2018-08-02 Thread Dan Ritter
On Thu, Aug 02, 2018 at 11:04:37PM +0900, Byung-Hee HWANG (황병희) wrote:
> i'm new to debian. yesterday i did install debian on chromebook. i get
> some error when i start lxde. attached file with error [1]. how can i
> resolve it? 
> 
> $ lsb_release -d
> Description:Debian GNU/Linux 8.11 (jessie)
> 
> $ uname -a
> Linux localhost 3.18.0-14597-g61c88fee5b70 #1 SMP PREEMPT Thu Jul 13
> 12:01:12 PDT 2017 aarch64 GNU/Linux
> 
> $ dpkg -l | grep lxde
> ii  lxde  6 
> ii  lxde-common   0.99.0-1
> ii  lxde-core 6  
> ii  lxde-icon-theme   0.5.1-1
> ii  task-lxde-desktop 3.31+deb8u1   
> 

Perhaps lxsession is not running?

-dsr-