Don't simlink, it's ugly solution which probably won't work when you remove the simlink. It will just cause you troubles in future. There are most certainly better ways to do it.
How are you building? You need to change the kernel header files directory in build configuration of fglrx. If you are building from AUR then change PKGBUILD.
to find all packages installed from AUR or on your own.
So you can create a list of packages from AUR and store it in file:
pacman -Qmq > aur_list
Then, you will want to edit aur_list file, and delete packages you want to keep from the file.
Then you can delete all packages from that file by using:
pacman -Rsc $( cat aur_list )
Be carefull what you delete. You might want to use -R instead of -Rsc.
-m, --foreign
Restrict or filter output to packages that were not found in the sync database(s). Typically these are packages that were downloaded manually and
installed with --upgrade.
... And including stuff you don't need. And slowing your computer down. And increasing memory usage. And limited customization and configuration options if compared to WM only setups....
Only benefits are nice GUIs and the fact you don't have to configure anything for stuff to work!
But, that's a flaw too. It's not configured how you want.
Not at all. I used to have DE and I've managed to escape from it's claws of fancy (3D) effects. Now I have customized my desktop so much that someone else needs manuals to work on it, literally, but my productivity increased for at least double, if not more (if I calculate the slowness of the system with DE with speed of pure WM)
To explain: "&> /dev/null" does the same as "> /dev/null 2>&1" (note that you forgot > before /dev/null) so I prefer to just type "&> /dev/null". The < /dev/null part is used to take tty input away from lxdm (which can sometimes freeze the tty).
This, however, might not solve the problem.
If not:
Send us some files.
I need:
/var/log/lxdm.log -> just after the blue screen, and the normal one (after running startx for a while)
/var/log/Xorg.0.log -> the same as above.
Check /var/log/errors.log and dmesg command for anything related (just after the blue screen, look from the bottom up). If you found something send it.
/etc/X11/xorg.conf -> if you have it
/etc/X11/xorg.conf.d/* -> all the files in directory.
This will save any output and errors during the blue screen to your /root/inittab.log. This was previously thrown away to /dev/null. init 5 and send this file.
Client part (javascript/html5) is not important. People will have client source code anyway, since it is javascript, and people will be able to change every bit of it.
You don't care what ppl do with their client, as long as all this stays on the client. So you got to protect the server the best you can. On server-side you must check everything.
For example, there could be a hack that user can see trough walls. But as long as server don't send data about ppl behind the wall, it's perfectly OK.
Also, they could increase their FPS very easily, as attempt to speed-hack, but again, if your server makes sure that the player is moving normal for all other players, you just don't care.
Don't go with obfuscation. Security trough obscurity was and always will be no security at all. Even compiled games can be reverse engineered and thus hacked easily because developers used obfuscation of the client instead of properly securing the server. That's why I can't enjoy CoD2 anymore. :(
TLDR: Forget about securing the client and secure it on server. NEVER TRUST THE CLIENT.
Edit: securing the client is important, but securing it so hackers can't do XSS, CSRF, memory overflows and other javascript based attacks used to steal identity of other users. But that is beyond the thread's subject.
It can be really dangerous. (especially .install files which I think nobody inspects). .install file can erase all you hard disk. It basically have root access over whole your system.
the PKGBUILD file by it self is fakeroot-ed. That means it can't delete everything but can inject virus or something like that in the program (and then virus can delete everything :D).
Anyway I think reading comments is simplest way to protect your self if you're not friend with BASH.
Reallity: I have spent too much time configuring my space machine to be fucked by some troll package. I check every packet I build. But I have never found something bad inside.
If you want cutting edge, enable [testing] in /etc/pacman.conf
Core must be stable.
Don't simlink, it's ugly solution which probably won't work when you remove the simlink. It will just cause you troubles in future. There are most certainly better ways to do it.
How are you building? You need to change the kernel header files directory in build configuration of fglrx. If you are building from AUR then change PKGBUILD.
He probably just entered your linux in super user mode (init level 1). This can be done by adding 1 to the kernel parameters in grub.
You can't really protect your self from someone who has physical access to your computer but to encrypt your whole hard disk. Grub 2 can handle it.
Np. Glad I helped you :D
First of all, you need to disable X from respawning when crashed.
If you are using inittab to start X:
Edit /etc/inittab and change:
to
Since your X won't respawn now, you can use this to manually start X from shell:
If you are using deamon to start X:
Edit /etc/rc.conf and remove your display manager from DAEMONS array.
You can start X manually with:
Running firefox from shell
Kill all firefox processes. Press Ctrl+Alt+F2 to go to shell, login as user, then type:
If it doesn't work with :0, try with :1, but 0 should work. You can even save the whole output to a file:
Also try this:
This will disable addons and such things.
Checking the logs
Also check /var/log/Xorg.0.log and dmesg. You can do:
to display all errors from Xorg log. Do this after Xorg crashes (and before starting new one). Also try:
I am OP xD.
Well I would personalty used 2nd way.
But I posted both so one can use what he finds best.
Well it is. But you get better result.
First way, you delete all packages from AUR, which is like 90% correct solution.
Second way, you delete last 400 packages which is exactly what OP asked.
Thanks for noticing the head thing. I've fixed it.
.... or you can use this little awk script:
Save it somewhere where you have good enough permissions (home or Desktop). Then run:
Now you can run the script like this:
This will print you all the packages you installed recently. Since you installed 400 packages, you can do this to get only 400 last packages:
However I recommend saving this to a file:
So you can edit the aur_list file and do the same like in my first post.
P.S. Ofc you have to replace file_name with name of the awk script you saved when running my commands.
EDIT: change head to tail
You can use
to find all packages installed from AUR or on your own. So you can create a list of packages from AUR and store it in file:
Then, you will want to edit aur_list file, and delete packages you want to keep from the file. Then you can delete all packages from that file by using:
Be carefull what you delete. You might want to use -R instead of -Rsc.
How do you suppose us to help you if we know nothing about your configuration and error messages/warnings produced by operating system?
Please send the files I've asked or I can't help you otherwise.
... And including stuff you don't need. And slowing your computer down. And increasing memory usage. And limited customization and configuration options if compared to WM only setups....
Only benefits are nice GUIs and the fact you don't have to configure anything for stuff to work! But, that's a flaw too. It's not configured how you want.
Not at all. I used to have DE and I've managed to escape from it's claws of fancy (3D) effects. Now I have customized my desktop so much that someone else needs manuals to work on it, literally, but my productivity increased for at least double, if not more (if I calculate the slowness of the system with DE with speed of pure WM)
Should be:
To explain: "&> /dev/null" does the same as "> /dev/null 2>&1" (note that you forgot > before /dev/null) so I prefer to just type "&> /dev/null". The < /dev/null part is used to take tty input away from lxdm (which can sometimes freeze the tty).
This, however, might not solve the problem.
If not: Send us some files.
I need:
/var/log/lxdm.log -> just after the blue screen, and the normal one (after running startx for a while)
/var/log/Xorg.0.log -> the same as above.
Check /var/log/errors.log and dmesg command for anything related (just after the blue screen, look from the bottom up). If you found something send it.
/etc/X11/xorg.conf -> if you have it
/etc/X11/xorg.conf.d/* -> all the files in directory.
Then, change temporarily inittab:
to
This will save any output and errors during the blue screen to your /root/inittab.log. This was previously thrown away to /dev/null. init 5 and send this file.
/etc/inittab - whole.
Please use pastebin if not problem :)
Client part (javascript/html5) is not important. People will have client source code anyway, since it is javascript, and people will be able to change every bit of it.
You don't care what ppl do with their client, as long as all this stays on the client. So you got to protect the server the best you can. On server-side you must check everything.
For example, there could be a hack that user can see trough walls. But as long as server don't send data about ppl behind the wall, it's perfectly OK.
Also, they could increase their FPS very easily, as attempt to speed-hack, but again, if your server makes sure that the player is moving normal for all other players, you just don't care.
Don't go with obfuscation. Security trough obscurity was and always will be no security at all. Even compiled games can be reverse engineered and thus hacked easily because developers used obfuscation of the client instead of properly securing the server. That's why I can't enjoy CoD2 anymore. :(
TLDR: Forget about securing the client and secure it on server. NEVER TRUST THE CLIENT.
Edit: securing the client is important, but securing it so hackers can't do XSS, CSRF, memory overflows and other javascript based attacks used to steal identity of other users. But that is beyond the thread's subject.
You can join the two and use webGL.
You need to unload bcma and then reload brcmsmac:
modprobe -r bcma
modprobe -r brcmsmac
modprobe brcmsmac
It can be really dangerous. (especially .install files which I think nobody inspects). .install file can erase all you hard disk. It basically have root access over whole your system.
the PKGBUILD file by it self is fakeroot-ed. That means it can't delete everything but can inject virus or something like that in the program (and then virus can delete everything :D).
Anyway I think reading comments is simplest way to protect your self if you're not friend with BASH.
Reallity: I have spent too much time configuring my space machine to be fucked by some troll package. I check every packet I build. But I have never found something bad inside.
GCC (g++) don't have EULA at all
Did it worked? (I'm not lazy, just can't restart X for another 5 hours xD)
This inspired me!
End of this list.
Back to top