I installed Kali Linux via Linux Deploy on my rooted G2x running CM 7 and everything is fine, however I installed Iceweasel and now it begins loading a webpage then crashes, the term output is
$ iceweasel
Xlib: extension "RANDR" missing on display ":0.0".
(iceweasel:5847): Gdk-WARNING **: shmget failed: error 38 (Function not implemented)
Segmentation fault
$
any ideas?
Related
I'm having issues with vscode on Ubuntu running particular Python code (that seemingly relies on porting or connecting to an external application). The same code will run fine if I execute it directly from an Ubuntu terminal with the same env on the same machine.
Here's a couple of examples.
When I try to initiate vedo.plotter.Plotter() when running from vscode, I get this error:
ERROR: In /work/standalone-x64-build/VTK-source/Rendering/OpenGL2/vtkXOpenGLRenderWindow.cxx, line 1223
vtkXOpenGLRenderWindow (0x5587f7b42cf0): bad X server connection. DISPLAY=Aborted (core dumped)
If I run the same code directly in terminal, it runs fine, so this is an issue with the way vscode is configured, but I can't find any answers online. I've played with a few settings in vscode but with no success.
This seems to be an issue on all vscode installations I have running on Ubuntu (in this case 20.04). Here's the vscode info:
Version: 1.51.0
Commit: fcac248b077b55bae4ba5bab613fd6e9156c2f0c
Date: 2020-11-05T18:16:10.374Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: 8.3.110.13-electron.0
OS: Linux x64 5.4.0-52-generic snap
Similarly, I'm unable to open up browser windows from vscode (for example plotly fig.show() and selenium driver = webdriver.Chrome(chromedriver) won't open browser windows. I get the following error with selenium:
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.
(unknown error: DevToolsActivePort file doesn't exist)
Again, this works fine direct from the terminal and everything works fine if run from a Windows or Mac installed vscode, so this is specific to this Ubuntu install.
I'd really appreciate any help!
Jonny
I've downloaded Realm Studio from here. When I opened for the first time it asked me if I wanted to integrate it into my system. I clicked on Yes and from there nothing. I can't open the App and if I launch it from terminal I see only
segmentation fault (core dumped)
This happens also with version 2.8 and with the .tar version (Nothing happens if I click on the icon in the extracted archive and the same message if I try to run it from the terminal).
I'm running Ubuntu 18.10 64bit. Thank you all for the help.
On running a image processing algorithm on Odroid having ROS kinetic installed is unable to run. It shows an x11 error. I have tried to reset the x11 config but it doesn't seem to work. I am seriously stuck in my project.
root#odroid:~# python image_detection.py
The X11 connection broke: Unsupported extension used (code 2)
XIO: fatal IO error 22 (Invalid argument) on X server "localhost:10.0"
after 6 requests (6 known processed) with 0 events remaining.
Segmentation fault
I am using VS2017 to compile and debug my cross platform C application on linux. With my Raspberry Pi it is working perfectly, but now I tryed it to debug it on a yocto system. Compilation works, but if I want to debug I am getting following messge: Starting gdbserver failed, this is unexpected and indicative of an incompatible or broken shell. Example command used on the shell: "echo 1; gdbserver; echo 2". We expected "1".
Visual Studio Message Box
On my remote machine gdbserver 7.10.1 is installed.
I am trying to running Casperjs with Slimerjs
I Installed SlimerJS 0.10.2
I have installed Mozilla Firefox 45.5.1 (tried with 50 too)
I have installed CasperJS 1.1.3
I have installed xvfb 1.17.4
Running on Centos 6.8
When tried to run a casperjs+slimerjs from php I get:
Gecko error: it seems /usr/bin/firefox is not compatible with SlimerJS.
See Gecko version compatibility. If version is correct, launch slimerjs
with --debug=true to see Firefox error message
When I try to run a script from console with debug=true like:
/usr/local/bin/casperjs /tmp/casperjs-5cn484 --debug=true --engine=slimerjs
(I tried with xvfb-run too)
I get this error:
Xlib: extension "RANDR" missing on display ":99".
process 5588: D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open "/var/lib/dbus/machine-id": No such file or directory
See the manual page for dbus-uuidgen to correct this issue.
D-Bus not built with -rdynamic so unable to print a backtrace
Redirecting call to abort() to mozalloc_abort
/usr/lib/node_modules/slimerjs/src/slimerjs: line 167: 5588 Segmentation fault "$SLIMERJSLAUNCHER" -app "$SLIMERDIR/application.ini" $PROFILE -no-remote "$#"
if i run slimerjs --debug=true, I get:
Error: cannot open display: :1.1
Gecko error: it seems /usr/bin/firefox is not compatible with SlimerJS.
See Gecko version compatibility. If version is correct, launch slimerjs
with --debug=true to see Firefox error message
I already tried a lot of solution, like:
tried: Xvfb :1 -screen 0 1024x768x24 +extension RANDR & and export DISPLAY=:1 (with :99 too)
tried export LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu/
upgrade downgrade firefox version
check if there was fonts, there is one, so no problem
I don't know what I am trying anymore, some suggestions? : )
Anyway I get it running installing dbus package and with the comand:
dbus-uuidgen > /var/lib/dbus/machine-id
The Xlib: extension "RANDR" missing on display ":99" isn't a big issue...
from:
http://www.torkwrench.com/2011/12/16/d-bus-library-appears-to-be-incorrectly-set-up-failed-to-read-machine-uuid-failed-to-open-varlibdbusmachine-id/
Did you see this issue? Apparently you should:
Change the max version in src/application.ini
MaxVersion=45.*
I'm not sure about the xrandr error but it seems unrelated. Could be a result of experimentation or a red herring.
There's also a DBUS error that could be causing the subsequent segmentation fault.
I suggest you try to check it step by step:
see that firefox is working
X forwarding might help here, it would bring up the remote firefox window locally
make sure that firefox is working headless
you could generate an xvfb screenshot
check with slimerjs
check with your PHP wrapper script