X in a window in X [closed] - xorg

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can I create a new X in a window of the old X? A custom .xinitrc for the new X would be nice. I intend to use this for WM tinkering, so I don't break the WM I'm currently running.

Use Xnest.
Use Xephyr. It's an X server whose backend is an X window.
Recommendation taken from packages.debian.org:
Use of the Xephyr X server instead of Xnest is recommended.
— https://packages.debian.org/wheezy/xnest
Xephyr is an X server that can be run inside another X server, much like Xnest. It is based on the kdrive X server, and as a result it supports newer extensions than Xnest, including render and composite.
— https://packages.debian.org/wheezy/xserver-xephyr

You could run a virtual machine using VirtualBox.
The nice thing about that is you can modify pretty much anything and everything. If you work yourself into a hole, no problem; just revert to a snapshot or reinstall the virtual machine.

Related

Communication between Different programs in Different Computers (C# or Python) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I'm building a program that I want to be able to exchange information with other programs running in another computer. I started using C# and a library called SimpleTCP. The main issue is that is too simple and only send and receive messages.
I'm looking for something that I can predetermine functions that one or the other can call from each other.
I looked on google and stack overflow but I was unable to find an appropriated subject to study, what should I be looking for to learn this? Thank you
The most complete protocol for what you want is gRPC. There is a learning curve but worth it in my opinion. https://github.com/grpc/grpc
There is a way but it's little bit different
Such programs like this written in tow different languages
You can make a center database between the both programs
In this situation it's very easy to communicate and receive ,send data
You can mysql ,oracl, mariadb or any Database you prefer

How can I prevent R eating up all my RAM? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I use Mac OS X 10.6.8 (yeah, it's an old MBP but it works)...
Still, i think there's something not working properly. The machine gets dead slow but there should be around 1.12 GB left:
I have the feeling the memory is not allocated to the R program. Here no other software is running, and R is doing some stopword removal operation on a 600 MB corpus.
(I'm posting this here because i dont believe i could make it to apple.stackoverflow but feel free to migrate to a better forum).
How can I "free" the inactive RAM to either the system or the running application?
I am not sure of your actual application, but if you are storing large datasets in memory, then one way to reduce memory usage is to delete them after they are no longer needed using rm(). For example, if I load a large dataset "allData", and then filter it as "filteredData", then it would be best to remove allData by rm(allData) if it is not being used anymore.

Can I hack people connecting to my server? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
First of all, this is obviously for learning porpoises only. Don't be afraid to answer.
So anyway, is there a way for a man to hack a computer logging in, for example, to a garry's mod server hosted on my PC?
If there is, I am very interested on how this is working. Explanations will be welcome.
In general terms, yes, it's possible. Game clients receive data from their servers, which they expect to be in a particular format. If the server is modified to send mis-formatted data, the result could easily be to trigger a buffer overflow or other exploitable bug in the client.
See for example http://threatpost.com/researchers-discover-dozens-of-gaming-client-and-server-vulnerabilities/100744
Not sure about your locale, but most countries have a similar law to the UK's Computer Misuse Act. Which pretty much means 'hacking back' is illegal.
If you want to learn about exploits, and how to use them ethically - www.google.com is the place to start, try looking for 'ethical hacking course'

Minimal most lightweight Qt build [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Is there a way to remove some uneeded locale to reduce the size of Qt Core ?
You'll need to be more specific about what your application requires. Regardless, I'd recommend reading through this thread on the interest mailing list, as it has some interesting information regarding slimming Qt Core. In particular, you can reduce the size of ICU:
I'll leave it for others to pass comment on the standard configure
options and size, but if you're really desperate for every last saving
then removing the locales you don't need can save you 230 KB (on Linux
64bit it reduces my default release build from 5.5MB to 5.2MB), but
it's a manual process:
Download http://unicode.org/Public/cldr/24/core.zip and unzip
Run "../path/to/qt5/qtbase/util/local_database/cldr2qlocalexml.py
core/common/main >> qlocale.xml"
Edit qlocale.xml to remove all the locales you don't need: only
remove groups from inside and nothing else, I
suggest you always keep C and en_US in addition to the locales you
require.
Run "../path/to/qt5/qtbase/util/local_database/qlocalexml2cpp.py
qlocale.xml ../path/to/qt5/qtbase/"

Detect a TrueCrypt Volume [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I think I set up a TrueCrypt volume on my Win7 machine a few months ago. Now I cannot remember where I set it up or what the password might be. Is there any way that I can detect this volume? I would have maybe gave it a capacity of 2GB or thereabouts so I don't want that storage going to waste.
If I uninstall TrueCrypt, would that release the volume assigned to it?
GF
Try a disk utility that allows you to locate large files or sort files by size (such as windirstat, although there are many others). A file that's 2GB should stand out.
Search your disk for a file with extension tc (*.tc).
There is no volume assigned unless you assign one (a drive letter). So you can uninstall freely.

Resources