XenialDog (Ubuntu 16.04 'Xenial Xerus' LTS, 32-bit)

A home for all kinds of Puppy related projects
Message
Author
User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#976 Post by fredx181 »

johnywhy wrote:Workspaces: Can't adjust number of workspaces. Workspace switcher properties gives error on click "Workspace settings"
Quote:
Unable to open the workspace settings. Failed to execute child process "xfwm4-workspace-settings" (No such file or directory.
Yes, that doesn't work, but you can set it in the "Openbox Configuration manager" in Menu > Settings
(Tab "Desktops")

Fred

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

slimjet, chromium last

#977 Post by zagreb999 »

regards

is there latest slimjet, chromium
for xenialdog and dd 32 bit?

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#978 Post by fredx181 »

@zagreb,
Try the slimjet deb perhaps ?
https://www.slimjet.com/en/postdl.php?v ... 2&type=deb
Chromium is in the repository AFAIK.

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

djview4

#979 Post by zagreb999 »

fred,
is it possible to kreate sfs (or install)
djview4?

thanks.

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

Re: djview4

#980 Post by dancytron »

zagreb999 wrote:fred,
is it possible to kreate sfs (or install)
djview4?

thanks.
You should be able to use apt-get. It is in the repositories.
https://packages.ubuntu.com/search?sea ... ds=djview4

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

djview4

#981 Post by zagreb999 »

... it is impossible to install
djview4 on xd!!!

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

Re: djview4

#982 Post by fredx181 »

zagreb999 wrote:... it is impossible to install
djview4 on xd!!!
For me it works, why not for you, what does it say ?

Code: Select all

root@xenial:~# apt-get install djview4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libdjvulibre-text libdjvulibre21 libgudev-1.0-0 libinput-bin libinput10 libpcre16-3
  libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5 libqt5printsupport5
  libqt5widgets5 libwacom-common libwacom2 libxcb-icccm4 libxcb-image0 libxcb-keysyms1
  libxcb-randr0 libxcb-render-util0 libxcb-xkb1 libxkbcommon-x11-0
Suggested packages:
  djvulibre-bin djview-plugin libqt5libqgtk2 qt5-image-formats-plugins qtwayland5
Recommended packages:
  djvulibre-desktop qttranslations5-l10n libqt5svg5 libwacom-bin
The following NEW packages will be installed:
  djview4 libdjvulibre-text libdjvulibre21 libgudev-1.0-0 libinput-bin libinput10
  libpcre16-3 libqt5core5a libqt5dbus5 libqt5gui5 libqt5network5 libqt5opengl5
  libqt5printsupport5 libqt5widgets5 libwacom-common libwacom2 libxcb-icccm4
  libxcb-image0 libxcb-keysyms1 libxcb-randr0 libxcb-render-util0 libxcb-xkb1
  libxkbcommon-x11-0
0 upgraded, 23 newly installed, 0 to remove and 234 not upgraded.
Need to get 11.6 MB of archives.
After this operation, 44.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://nl.archive.ubuntu.com/ubuntu xenial/main i386 libxcb-icccm4 i386 0.4.1-1ubuntu1 [10.8 kB]
Get:2 http://nl.archive.ubuntu.com/ubuntu xenial/main i386 libxcb-keysyms1 i386 0.4.0-1 [8562 B
.....
.....]

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

#983 Post by zagreb999 »

thanks fred

i already resolved...

great app is djview4!

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

slimjet 20

#984 Post by zagreb999 »

any help?
slimjet 20
on xenialdog?

thanks!

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

#985 Post by mikeslr »

Hi zagreb999,

OscarTalks just published slimjet 20 as both a pet and an SFS, http://murga-linux.com/puppy/viewtopic. ... 08#1006708. Perhaps the SFS could be loaded in XenialDog? May require installing some libs. To figure out which, I've been advised that ldd works under the Dogs. But see the above post regarding what OscarTalks did.

Note, OscarTalks versions run as spot. Could probably be edited to run as whatever limited user XenialDog employs. Alternatively as OscarTalks post reveals what libraries were required --libgtk-3 and, as I understand it, the nss files otherwise provided by palemoon-- perhaps you could build your own starting with a slimjet 20 deb.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#986 Post by fredx181 »

zagreb999 wrote:any help?
slimjet 20
on xenialdog?
Assuming you downloaded and installed slimjet .deb from here:
https://www.slimjet.com/en/dlpage.php

Probably the problem is that it won't run as root.
Eerlier adding --no-sandbox worked to run Chromiium based browsers as root, but now it seems not working anymore.
So you need to run it as unprivileged user, if you have user "puppy" on your system, then this script should work to run Slimjet running as user puppy:

Code: Select all

#!/bin/bash

xhost +local:puppy

su puppy -c "/usr/bin/flashpeak-slimjet "$@" --user-data-dir=/home/puppy/slimjet/user --disk-cache-dir=/home/puppy/slimjet/cache --disk-cache-size=10000000 --media-cache-size=10000000 "$@""
Fred

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#987 Post by dancytron »

fredx181 wrote:
zagreb999 wrote:any help?
slimjet 20
on xenialdog?
Assuming you downloaded and installed slimjet .deb from here:
https://www.slimjet.com/en/dlpage.php

Probably the problem is that it won't run as root.
Eerlier adding --no-sandbox worked to run Chromiium based browsers as root, but now it seems not working anymore.
So you need to run it as unprivileged user, if you have user "puppy" on your system, then this script should work to run Slimjet running as user puppy:

Code: Select all

#!/bin/bash

xhost +local:puppy

su puppy -c "/usr/bin/flashpeak-slimjet "$@" --user-data-dir=/home/puppy/slimjet/user --disk-cache-dir=/home/puppy/slimjet/cache --disk-cache-size=10000000 --media-cache-size=10000000 "$@""
Fred
--no-sandbox still works on Chrome latest version. (Google Chrome
Version 69.0.3497.100 (Official Build) (64-bit)).
#!/bin/sh

/usr/bin/google-chrome-stable --user-data-dir=/live/image/ChromeSettings/google-chrome/config --disk-cache-dir=/live/image/ChromeSettings/google-chrome/cache --disk-cache-size=10000000 --media-cache-size=10000000 --no-sandbox --disable-infobars "$@"

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

#988 Post by zagreb999 »

thanks to all!

who knows to ran slimjet20
as root as squashfs module?

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#989 Post by fredx181 »

dancytron wrote:--no-sandbox still works on Chrome latest version. (Google Chrome
Version 69.0.3497.100 (Official Build) (64-bit)).
Ah, ok, then probably Slimjet is an exception (only tried 32-bit, btw).
zagreb999 wrote:who knows to ran slimjet20
as root as squashfs module?
I don't think it's possible, I tried the slimjet v20 32-bit a few times again on different systems, cannot run as root.

Fred

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#990 Post by rufwoof »

fredx181 wrote:Eerlier adding --no-sandbox worked to run Chromium based browsers as root, but now it seems not working anymore.
So you need to run it as unprivileged user, if you have user "puppy" on your system, then this script should work to run Slimjet running as user puppy:

Code: Select all

#!/bin/bash
xhost +local:puppy
su puppy -c "/usr/bin/flashpeak-slimjet "$@" --user-data-dir=/home/puppy/slimjet/user --disk-cache-dir=/home/puppy/slimjet/cache --disk-cache-size=10000000 --media-cache-size=10000000 "$@""
--no-sandbox cripples Chrome's security measures. Opening up xhost + is as good as opening up running as root (user puppy can stuff things into any other window that might be running as root, such as a rox/thunar/pcmanfm window - perhaps issuing a file manager's open terminal window command and then stuffing rm -rf / or whatever into that (root) terminal window.
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

wiak
Posts: 2040
Joined: Tue 11 Dec 2007, 05:12
Location: not Bulgaria

#991 Post by wiak »

rufwoof wrote:Opening up xhost + is as good as opening up running as root (user puppy can stuff things into any other window that might be running as root, such as a rox/thunar/pcmanfm window - perhaps issuing a file manager's open terminal window command and then stuffing rm -rf / or whatever into that (root) terminal window.
Well, since I am still wiak when running as user 'puppy' and still wiak when running as user 'root', the above is all fine, thanks, and not any cause at all for alarm to me.

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

#992 Post by zagreb999 »

regards!

latest chromium as root
32 bit???

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#993 Post by fredx181 »

zagreb999 wrote:regards!

latest chromium as root
32 bit???
I'd say just install chromium-browser with Synaptic or apt-get and run with --no-sandbox

Code: Select all

chromium-browser --no-sandbox --disable-infobars
(just tested this and works, chromium-browser version 69)

You can also edit the .desktop launcher in /usr/share/applications and add --no-sandbox --disable-infobars to the Exec= line , then it will run as root from Menu

P.S. @all Let's talk somewhere else about security.

Fred

User avatar
rufwoof
Posts: 3690
Joined: Mon 24 Feb 2014, 17:47

#994 Post by rufwoof »

wiak wrote:
rufwoof wrote:Opening up xhost + is as good as opening up running as root (user puppy can stuff things into any other window that might be running as root, such as a rox/thunar/pcmanfm window - perhaps issuing a file manager's open terminal window command and then stuffing rm -rf / or whatever into that (root) terminal window.
Well, since I am still wiak when running as user 'puppy' and still wiak when running as user 'root', the above is all fine, thanks, and not any cause at all for alarm to me.
Fine. Any web site/link could achieve root access/control of your box via a single browser bug and you accept that. Just pointed it out as others might feel differently. Fred wants to consider it no further here so enough said.
[size=75]( ͡° ͜ʖ ͡°) :wq[/size]
[url=http://murga-linux.com/puppy/viewtopic.php?p=1028256#1028256][size=75]Fatdog multi-session usb[/url][/size]
[size=75][url=https://hashbang.sh]echo url|sed -e 's/^/(c/' -e 's/$/ hashbang.sh)/'|sh[/url][/size]

zagreb999
Posts: 567
Joined: Fri 11 Apr 2014, 06:39
Location: Yugoslavija

foxitsoftware

#995 Post by zagreb999 »


Post Reply