Page 1 of 1

xfce4 desktop for Nemesis-06-04-2017

Posted: 09 Apr 2017, 18:30
by francois
This is a thread for building the xfce4 environment with wifi and a few useful utilities.

Once into nemesis run:

Code: Select all

setup-pman[\code]

Build the necessary packages and move them from /tmp to /porteus/modules.

Packages needed:
pman-settings xfce4 
[code]pman -S  xfce4 
Additional basic packages:

Code: Select all

xarchiver avahi-openrc gparted leafpad libreoffice-still manjaro-printer opera chromium simple-scan xorg-xrandr xorg-xkill
Other packages less oftened used:

Code: Select all

kodi gimp 
Booting without a login manager.
Modifying ~/.xinitrc to boot xfce by inserting at the end of the file exec startxfce4 with a text editor like nano (command line) or mousepad (graphical environment):
exec startxfce4

Porteus.cfg syntax to boot directly into desktop.
.grub2

Code: Select all

    menuentry "porteus PORTEUS 1_nemesis  NEMESIS sda5" {
    set root=(hd0,5)
    linux /1_nemesis/boot/syslinux/vmlinuz from=/dev/sda5/1_nemesis changes=/1_nemesis sgnfile=porteus-v3.5-x86_64.sgn login=root 
    initrd /1_nemesis/boot/syslinux/initrd.xz
    }
.syslinux

Code: Select all

LABEL gui
MENU LABEL Graphics mode (nemesis)
KERNEL vmlinuz
APPEND initrd=initrd.xz from=UUID:12f37982-7233-4a08-87ef-c567d200c914/64bit_nemesis sgnfile=porteus-v3.5-x86_64.sgn login=root changes=/64bit_nemesis 
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT
where UUID comes from command blkid

Code: Select all

root ~/Desktop # blkid  
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/sda1: LABEL="manjaro" UUID="629acbde-7a91-49ca-b9b8-b17e9e65bfb4" TYPE="ext4" PARTUUID="000dceb7-01"
/dev/sda5: UUID="e70b84a5-da6d-4005-809f-cec19c0694cc" TYPE="ext4" PARTUUID="000dceb7-05"
/dev/sda6: UUID="0d6e0fe4-79dd-4ea3-8d9b-24474cb96e49" TYPE="ext3" PARTUUID="000dceb7-06"
/dev/sda7: UUID="ad800b6d-428c-451f-8eb8-1ee7ecaac8f1" TYPE="swap" PARTUUID="000dceb7-07"
/dev/sdb1: UUID="3F57-A0F0" TYPE="vfat" PARTUUID="6be088e5-01"
/dev/sdb2: UUID="12f37982-7233-4a08-87ef-c567d200c914" TYPE="ext2" PARTUUID="6be088e5-02"
root ~/Desktop # 
Changes module after building xfce4 desktop.
You have to be in save changes mode and reboot into another porteus installation and transform the changes folder into a module.
dir2xzm changes xfce4-changes. Then erase the changes folder.

See also My settings under porteus/arch and nemesis

This post is in progress and has been modified after suggestions from participants.

Re: xfce4 desktop for Nemesis-06-04-2017

Posted: 10 Apr 2017, 02:30
by ncmprhnsbl
francois wrote:You have to be in save changes mode and reboot into another porteus installation and transform the changes folder into a module.
the dir2xzm command is present in nemesis..
also you can grab your changes more directly from /mnt/live/memory/changes ... so

Code: Select all

dir2xzm /mnt/live/memory/changes changes.xzm
will place a changes.xzm in the present directory...
francois wrote:Problem.
networkmanager network-manager-applet installation.
note that networkmanager-openrc and networkmanager-consolekit are present in 001-core.xzm (you dont want "networkmanager"(this is systemd version afaiui))..
in brokenmans lxde module there is:

Code: Select all

network-manager-applet
networkmanager-openvpn
networkmanager-pptp
networkmanager-vpnc
nm-connection-editor
other deps (i think) are gnome-keyring , libsecret, vpnc,..more(pacman/pman should find them)

Re: xfce4 desktop for Nemesis-06-04-2017

Posted: 23 Apr 2017, 02:21
by francois
Thanks for the info.

Re: xfce4 desktop for Nemesis-06-04-2017

Posted: 23 Apr 2017, 09:23
by ncmprhnsbl
as of the latest update networkmanager-consolekit is out, and standard networkmanager is in 001-core :D

Re: xfce4 desktop for Nemesis-06-04-2017

Posted: 23 Apr 2017, 12:05
by francois
1) As there is changes on the system, even if I do nothing, and as my changes file is huge, using dir2xzm /mnt/live/memory/changes changes.xzm seems impossible:

Code: Select all

tempting to re-read
[===================|                                              ]  42598/141264  30%
File /mnt/live/memory/changes/root/changes.xzm changed size while reading filesystem, attempting to re-read
[===================|                                              ]  42598/141264  30%
File /mnt/live/memory/changes/root/changes.xzm changed size while reading filesystem, attempting to re-read
[====================|                                             ]  44060/141264  31%
File /mnt/live/memory/changes/root/changes.xzm changed size while reading filesystem, attempting to re-read
[===================|                                              ]  42598/141264  30%

etc.   ...     ... all night long
2) Thanks for updating networkmanager. :)

Re: xfce4 desktop for Nemesis-06-04-2017

Posted: 23 Apr 2017, 12:36
by ncmprhnsbl
francois wrote: using dir2xzm /mnt/live/memory/changes changes.xzm seems impossible
looks like your trying to make your module in /root ? which creates a feedback loop... changes is detecting the change of /root/changes.xzm as it compresses :(
your changes.xzm needs to be made outside the live filesystem or in directory that isn't included in /changes like eg. /tmp

Re: xfce4 desktop for Nemesis-06-04-2017

Posted: 24 Apr 2017, 03:05
by francois
This is enlightning. Effectively, I have the bad habit to work from root mode. :oops:

Re: xfce4 desktop for Nemesis-06-04-2017

Posted: 18 Jun 2017, 04:20
by francois
ncmprhnsbl:
From guest mode in regular porteus, I did not get a result with the root user. Maybe I should try with sudo. :)
Will test that.

Re: xfce4 desktop for Nemesis-06-04-2017

Posted: 18 Jun 2017, 05:41
by ncmprhnsbl
it has nothing to do with which user.(root or guest) ((although dir2xzm should be run as root)) :wink:
it is to do with where the module is being made. (and where the folder originates)
if you dir2xzm from /mnt/live/changes/ to anywhere inside the live filesystem you are changing the the folder you're trying to compress...
so creating a loop that will never end.........................
so... either copy the target folder(/mnt/live/changes/) first then compress the copy
or dir2xm (/mnt/live/changes/) to somewhere outside the live filesystem (eg. a mounted partition)

Re: xfce4 desktop for Nemesis-06-04-2017

Posted: 18 Jun 2017, 11:24
by francois
Thanks. I will do that. :)

Re: xfce4 desktop for Nemesis-06-04-2017

Posted: 04 Jul 2017, 05:31
by ncmprhnsbl
@francois
could you post the list of packages in your xfce4 module(s):

Code: Select all

 ls /mnt/live/memory/images/<nameofyourxfcemodule>.xzm

Re: xfce4 desktop for Nemesis-06-04-2017

Posted: 12 Jul 2017, 14:50
by francois
Sorry, I am presently on holiday for a couple of weeks, very seldom far from wifi or network reach.