Pluma failed to launch

Briefly describe your issue below:
The default text editor Pluma won’t launch, it tries but after few seconds it stops launching process


What version of Parrot are you running? (include version, edition, and architecture)
Parrot 4.5 64-bit

What method did you use to install Parrot? (Debian Standard / Debian GTK / parrot-experimental)
Debian GTK

Configured to multiboot with other systems? (yes / no)
Yes with windows 10

If there are any similar issues or solutions, link to them below:
I also used the command parrot-upgrade but yet it fails to launch.

If there are any error messages or relevant logs, post them below:

$pluma
Reading profile /etc/firejail/pluma.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid ####, child pid ####
Blacklist violations are logged to syslog
Child process initialized in 280.14 ms
Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
ImportError: No module named site

I am getting the same issue. I even tried opening it with terminal but that didn’t workout. However, it works when opening it with root privileges.

Okay I found a solution for you.

I removed pluma and other files completely using synaptic package manager and then downloaded pluma latest version .deb file from here:

https://pkgs.org/download/pluma

I then installed the .deb file using Gdebi and then did a reboot. Now pluma works perfectly even with general icon click and terminal both.

Hope This Helps You Out!!!

1 Like

For me, I updated the file using apt full-upgrade. After the upgrade I always reboot. I tried using pluma again and it said starting pluma but after some time nothing happens.
The only way pluma runs is using root terminal.

How to access the firejail profile for pluma? And I tried both using menu and using non-root terminal to run pluma. Both didn’t work.

Firejail profile for pluma
# Description: Official text editor of the MATE desktop environment
# This file is overwritten after every install/update
# Persistent local customizations
include pluma.local
# Persistent global definitions
include globals.local

noblacklist ${HOME}/.config/pluma

include disable-common.inc
include disable-devel.inc
include disable-interpreters.inc
include disable-passwdmgr.inc
include disable-programs.inc

include whitelist-var-common.inc

# apparmor - makes settings immutable
caps.drop all
machine-id
# net none - makes settings immutable
no3d
# nodbus - makes settings immutable
nodvd
nogroups
nonewprivs
#noroot
nosound
notv
nou2f
novideo
protocol unix
seccomp
shell none
tracelog

#private-bin pluma
private-dev
# private-etc fonts
#private-lib pluma
#private-tmp

memory-deny-write-execute
noexec ${HOME}
noexec /tmp

join-or-start pluma
1 Like

Pluma is not launching anymore. Please help

This cannot be fixed in this way. I think the problem is in configuration. So pluma failed to find $PYTHONHOME, I guess this is the root of error. But the case is python path has configured well. which python returns the correct path

$pluma
Reading profile /etc/firejail/pluma.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 4397, child pid 4398
Blacklist violations are logged to syslog
Child process initialized in 110.11 ms
Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
ImportError: No module named site

Mine is also the same. It only opens when you are in a root terminal. Reinstalling fixes the problem temporarily but after some time its back to square one.

Reading profile /etc/firejail/pluma.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-interpreters.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 1263, child pid 1264
Blacklist violations are logged to syslog
Child process initialized in 177.68 ms
Could not find platform independent libraries
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to [:<exec_prefix>]
ImportError: No module named site

Parent is shutting down, bye…

Got the same pluma error after I upgraded ParrotOS.

Here’s the solution :

  1. Open Mate Terminal
  2. sudo nano /etc/firejail/pluma.profile
  3. Uncomment (remove the # tag) :
    #private-lib pluma
  4. Save and Exit

That’s it.

6 Likes

Works like a charm, thanks rumytaulu !

OMG Thank you so much. I reinstalled Parrot almost 3 times because of the error.

I use parrot-security

try to dist-upgrade the system, many things were fixed recently

2 Likes

I have the same problem with Pluma.
I reinstalled Parrot with the latest version and Pluma started up directly, but after sudo apt-get update && sudo apt-get dist-upgrade Pluma doesnt launch.

Does anyone have a clew what to try?

please try
sudo parrot-upgrade
The problem has fixed now. If not working please run pluma from terminal and post what output you get

1 Like

Yep, got Pluma working again! :+1:

i am husing parrot home and after trying to follow the step provided by rumytaulu i was still not able to launch pluma.

i can still use it with sudo tho.

this is what i get when launching from terminal

$pluma
Reading profile /etc/firejail/pluma.profile
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Switching to pid 2854, the first child process inside the sandbox
Child process initialized in 9.03 ms

Wow, so simple, yet, who knew? thanks.

Here is the way I did it. Open terminal, use “sudo geany”. When geany opens, Hit the “File” link, top left, then pick “open”. Find etc/firejail/pluma.profile and open it. Then follow the instructions by rumytauly starting at step 3. Don’t forget to save before you close it.