SliTaz SliTaz Forum

You are not logged in.

#1 2015-05-12 21:17:47

kubepc
Member
Registered: 2014-05-14
Posts: 86

Logout not possible out off SliTaz gtkonly Live at least since slitaz-rolling 20150419

Hi,

I just testet slitaz-rolling 20150511 with gtkonly. I could not log out as I could with core, slitaz-rolling 20150419 already had this problem. But I could log out of gtkonly of slitaz-rolling 20150407.

Offline

#2 2015-05-12 21:46:28

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Logout not possible out off SliTaz gtkonly Live at least since slitaz-rolling 20150419

Boot into gtkonly.

Open a terminal.

Type each line or copy/paste to terminal.

Hit enter key.

Post the output.

[c]echo $XDG_CURRENT_DESKTOP[/c]

[c]echo $_LXSESSION_PID[/c]

Offline

#3 2015-05-12 22:15:19

kubepc
Member
Registered: 2014-05-14
Posts: 86

Re: Logout not possible out off SliTaz gtkonly Live at least since slitaz-rolling 20150419

Hi mojo,

I booted into gtkonly from slitaz-rolling.iso with grub4dos and tried to do the logout from the menu or the button in the upper right corner. It is not possible.

This is the output from my terminal.

echo $XDG_CURRENT_DESKTOP

LXDE

echo $_LXSESSION_PID

1432

I testet slitaz-rolling.iso also with qemu. It is the same. I can't log out. I only can log out of core.

Offline

#4 2015-05-12 22:35:26

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Logout not possible out off SliTaz gtkonly Live at least since slitaz-rolling 20150419

When the user clicks the logout button on "tazbox logout" dialog box

case $XDG_CURRENT_DESKTOP in

                    LXDE)

            [ "$_LXSESSION_PID" ] && kill $_LXSESSION_PID

You have verified LXDE is $XDG_CURRENT_DESKTOP

There is an $_LXSESSION_PID that is 1432

Now what happens as root

Type

[c]kill 1432[/c]

Hit enter

This should logout and open slim login screen.

OR

Is the problem "SliTaz Logout dialog box with Close X session,Reboot system,Shutdown system buttons not appearing?

Offline

#5 2015-05-12 22:48:40

Darjeeling
Member
Registered: 2012-02-06
Posts: 210

Re: Logout not possible out off SliTaz gtkonly Live at least since slitaz-rolling 20150419

For some inexplicable reason yad has been built in such a way that libwebkit is one of its dependencies (which is missing in the yad receipt). The consequence is that tazbox and all other scripts in slitaz-tools-boxes won't run if libwebkit isn't present ... which is the case in just-x and gtk-only. My own diy SliTaz, which is built up from just-x rolling, won't even log-out. Hmm ...

Offline

#6 2015-05-12 22:52:34

kubepc
Member
Registered: 2014-05-14
Posts: 86

Re: Logout not possible out off SliTaz gtkonly Live at least since slitaz-rolling 20150419

Hi mojo,

yes the problem is, that SliTaz Logout dialog box with Close X session is not appearing. I can't reboot. I only can turn off my PC.

Offline

#7 2015-05-12 22:55:28

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: Logout not possible out off SliTaz gtkonly Live at least since slitaz-rolling 20150419

The problem is [c]tazbox logout[/c] a.k.a. SliTaz Logout not opening.

Thanks for the report!

Offline

#8 2015-05-13 11:00:39

Darjeeling
Member
Registered: 2012-02-06
Posts: 210

Re: Logout not possible out off SliTaz gtkonly Live at least since slitaz-rolling 20150419

So, libwebkit (22 MB) and its 29 dependencies are now officially needed to run yad? Originally yad was only supposed to provide a friendly looking gtk-frontend for a number of important scripts like tazbox, burn-box etc. Now even the shortest of scripts (log-out, re-boot shutdown etc.) won't run unless a 30+ MB lump of superfluous code is present. Unbelievable. As I wrote here once before in the same context, "... unnecessary complexity was introduced and simplicity, modularity and transparency went out of the window". If webkit is so indispensable maybe we should ask Linus to accept it into the kernel?

Offline

#9 2015-05-13 12:01:41

kubepc
Member
Registered: 2014-05-14
Posts: 86

Re: Logout not possible out off SliTaz gtkonly Live at least since slitaz-rolling 20150419

Hi Darjeeling,

I am thinking like You. SliTaz and gtkonly Live should be small and simple.

I wonder, if SliTaz should downgrade from yad 0.28.1 to former yad 0.27.0?

Offline

#10 2015-05-13 12:21:58

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: Logout not possible out off SliTaz gtkonly Live at least since slitaz-rolling 20150419

Aleksej has fix it: http://hg.slitaz.org/wok/rev/06146445ad61#l4.7

Offline

#11 2015-05-13 12:30:08

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: Logout not possible out off SliTaz gtkonly Live at least since slitaz-rolling 20150419

Hi kubepc,

Hi Darjeeling,

Hi mojo,

First, I'm so sorry for break JustX and GtkOnly SliTaz flavors. I made a changes in the Yad and not tested it in the flavors mentioned. Now I try to fix situation, and I hope the JustX and GtkOnly flavors will get the old behavior.

Now you will find two packages in the SliTaz repos: yad and yad-html. Both latest version 0.28.1. But first (just "yad") can't to show HTML widget and not have libwebkit in the dependencies, while second ("yad-html") can show HTML widget and needs libwebkit.

Best of all — you can forget about "yad-html" package at all. TazPkg provides interesting mechanism:

You can install Yad using next command:

[c]tazpkg -gi yad[/c]

and:

a) if you haven't "libwebkit" installed (i.e. in the Base, JustX, GtkOnly flavors) then package "yad" will be installed;

b) if you have "libwebkit" previously installed (i.e. in the Core flavor) then package "yad-html" will be installed.

Should I re-make Rolling ISOs? Ok.

Only one who does nothing do not mistake. Let's move forward and make SliTaz the best.

New ISOs you'll find in the SliTaz mirror in the near hour: http://mirror1.slitaz.org/iso/rolling/

Offline

#12 2015-05-13 13:14:42

Darjeeling
Member
Registered: 2012-02-06
Posts: 210

Re: Logout not possible out off SliTaz gtkonly Live at least since slitaz-rolling 20150419

@ kubepc

Our problems seem to be over :-)

@ Pascal & Aleksej

Thanks a lot guys, this was really needed! I had already been planning to port some of the old gtkdialog based boxes from 3.0.

> Should I re-make Rolling ISOs?

... not for me. I think it is good enough if the change is in the next weekly (?) Rolling release. But I'm very glad webkit won't be creeping into every last corner of the whole distro. Thanks again for this, Aleksej.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.016 seconds, 7 queries executed - Memory usage: 1.55 MiB (Peak: 1.77 MiB) ]