You are not logged in.
Pages: 1
Topic closed
Hi,
I just tried to install and configure tor on my laptop running Arch with Grsec kernel from arsch-repo(like described in the Wiki).
While using Thunderbird with Tor for example works i am not able to start the tor-browser-en from AUR.
When i run it from Terminal it outputs:
arch% tor-browser-en
Launching Tor Browser Bundle for Linux in /home/malet/.tor-browser-en/INSTALL
(process:1871): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
(firefox:1871): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised
(firefox:1871): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
(firefox:1871): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
(firefox:1871): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
(process:1871): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
(firefox:1871): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised
(firefox:1871): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised
(firefox:1871): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised
(firefox:1871): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
./start-tor-browser: line 219: 1871 Killed (core dumped) ./Browser/firefox -no-remote -profile Data/Browser/profile.default
Tor Browser exited abnormally. Exit code: 137Any help would be appreciated as I am at my wit's end.
Also I'm sorry for my poor english as I'm not a native speaker.
Last edited by malet (2014-01-03 15:03:19)
Offline
You may need to build the tor browser bundle from source when using a hardened system. I had the same issue on Gentoo Hardened. In order to get it to build on a hardened system, there are some hurdles to overcome. QT must be patched due to the ancient (Debian) version of QT used by the tor browser bundle build system. Additionally, hardened memory protection must be turned off for xpcshell (paxctl -m xpcshell), in order for the Firefox build to finish. Finally, once you have built the bundle, then unzipped it into your preferred location, you must turn off memory protection for the firefox binary (paxctl -m firefox.) These suggestions SHOULD apply even though you are using Arch instead of Gentoo, given that Arch uses much more recent versions of libraries than the Debian systems on which the tor browser bundle is built.
Don't ask me how to build the latest versions of tor browser bundle. The source must be downloaded via git, instead of the tor project, since the switch to Firefox 24 in the latest releases, which is why I am back on Parabola for the moment.
Offline
Offline
I tried the paxctl version first because it was much easier and it totally worked.
Thank you for the answer.
I didn't try the rebuild option so i don't know if it works too but for me this topic is solved.
Maybe a bit off topic but is there any way to find out if you have to disable a pax feature for a programm to run other than the classic trial and error way?
Offline
You can check this but it's far from complete: https://en.wikibooks.org/wiki/Grsecurit … c_Settings
In general, just try to run the program and, if it crashes, check your logs (journal/dmesg) for PAX/grsecurity messages.
Offline
I tried installing the AUR package paxctl and running that command, but it didn't work for me. However doing the same thing with setfattr worked:
setfattr -n user.pax.flags -v m Browser/firefoxOffline
Hi micahflee, welcome to the Arch Linux forums. Please be careful when responding in old threads, sometimes things no longer work because the information is outdated. Thank you for sharing your solution, however, up to date information should be stored on the wiki, rather than old threads.
https://wiki.archlinux.org/index.php/Fo … bumping.22
Closing.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed