Ramblings about everything from computers to martial arts, science to religion, fitness to psychology and literature to movies. That's a lotta tos.
I have been investigating various security and privacy related add-ons for Firefox lately, and I feel that I want to dive deeper into what these add-ons are purported to do, and what they actually do in practice. Personal or professional opinions in what security and privacy are or should be will not be discussed here, unless a particular add-on requires such elaboration.
Firefox is my preferred browser, and I will also discuss upcoming security enhancements or fixes in Firefox, especially as it pertains to the add-ons I’ll be researching. I will not get into what makes Firefox different from, or better or worse than, any other browser. I just want to look at each add-on individually to see what it does, how it works, and whether or not it is worth using. Here is a mostly complete list of the add-ons I’m going to be covering:
I plan on seeing what each one does to my browsing experience, including access to my school’s websites (I’ve already seen issues caused by some add-ons when using some sections of my school’s online campus portal).
My hope is to put up a fair explanation of a single add-on, discussing its pros and cons and my conclusion, once per week.
Recently, I began having issues playing on servers in Left4Dead 2 – I would get this rather annoying and uninformative popup in l4d2 saying something like “Remove any plugins before attempting to connect to a VAC secured server.”
The problem was, I had no plugins and have never had any plugins. I’ve heard that programs such as FRAPS can cause issues but I’ve never used it and certainly have never used any programs or scripts for cheating. Yes, my level of FAIL in l4d2 comes entirely from skillz.
Regardless of what the original root cause was, I found that one thing I was doing was causing it to happen over and over, which was rather frustrating (the error certainly gives no indication of what was wrong) and I ended up losing my slot in several good games after a random crash or internet issue dropped me from a game and I could no longer rejoin.
The fix: make sure that any shortcut you use to launch l4d2 is using this text as the target: steam://rungameid/550
I use ObjectDock from Stardock and had originally created a shortcut directly to the left4dead2 executable rather than the URL above. Sometimes I launch l4d2 directly from the Steam GUI right after starting Steam (I don’t have Steam start with Windows) and was confounded when I could join a server that way, but couldn’t after that, when I was clicking on the l4d2 icon in ObjectDock . . .
So, all that was needed was to create a desktop shortcut for l4d2 from the Steam GUI (right-click on Left 4 Dead 2 in the Games list and choose “Create Desktop Shortcut”) to see what it was pointing to, and sure enough, using the steam URL shown above seems to fix the issue.
Additionally, I had deleted my addons folder (contained only community-made maps) and had even renamed my autoexec.cfg (contained only a few personalization settings like sv_search_key for my Steam group server, etc), just to make sure that nothing was messing with VAC – but it turns out that I likely didn’t need to do that.
Continued from this post.
Sorry for the delay . . . busy, busy. Left4Dead 2, The Walking Dead, and various other important pursuits, ya know. ::winkwink::
Back in Part 1, we set up the Linux server with the necessary bits needed for creating our virtual KVM environment. In this post, we wrap up with the client side setup. I’m writing this process for using Windows and Linux pair-up, so you may not get the same setup on any other combination.
For starters, grab the NX Client for Windows installer. Install it.
After installing the software will automatically start a new configuration. I’ll step through the settings I used on my Ubuntu 10.04 server.
At the NX Connection Wizard dialog, just click Next to get to the following screen:
I simply named the Session the same as the hostname of the Ubuntu server on my network. Leave the Port at 22 unless you have a custom OpenSSH server setup on your Linux server. Since I’m doing this on a LAN (Local Area Network), I moved the slider all the way to the right . . . to LAN. Yep. Click Next.
Since Ubuntu uses Gnome by default, I chose Unix from the first drop down list, and then GNOME from the second. I then selected 800×600 for the size of the remote desktop. Leave “Disable encryption of all traffic” UNchecked (I have not yet figured out how to run NX client over something other than SSH, so if you want to do that you’ll have to discover the method for yourself . . . I’ll update this post when I’ve gotten it working, but I’m not in a rush as I have a Gigabit LAN in my office and the overhead of SSH is not even noticeable at the settings I have).
“Create shortcut on desktop” is selected by default. Go ahead and keep it selected as we’ll use it to test. Check the box for “Show the Advanced Configuration dialog” box and click Next.
Verify that Host and Port are correct, check “Remember my password” and, for now, leave the settings on the other tabs alone (go back and play with them later, let’s just get the basic setup going). The only tab we’re really interested in is the Environment tab, specifically the value of the “User NX directory” field, and we’re not changing anything anyway. This is the folder where all your saved session configuration files go (well, actually a folder named “config” inside “User NX directory”).
Just make any changes you want and then click the Save button and close the NX Connection Wizard.
Now, test it! Double click the session shortcut that was saved to your desktop (it should be named whatever you chose for the Session name before). You’ll see the following dialog screen open:
The Login should be whatever your user name is on the Linux computer. Enter the Password for that user and click the Login button or press Enter. You should see it attempting to connect and authenticate – if it says it cannot connect then make sure you have the Host name correct and that you’ve allowed SSH through your server’s firewall; if the error says that it cannot authenticate make sure the user name is the correct case and that the password is correct. If successful, it will work through several stages and then open the remote desktop. You should see something like the following screen.
Take note of the text seen inside the area that I’ve highlighted in the upper left corner. You’ll need this for the AutoHotKey setup. In this example what we need is the entire string "NX – richard@ubuntu:2000 – ubuntu" (without the quotes, of course). This is the Title of the NX client session window. This is needed for the magic for the next section . . .
Make it easy to save that info by starting AutoIt3 Windows Spy (Start, All Programs, AutoHotKey, AutoIt3 Window Spy). This will bring up a blank AutoIt3 Window Spy Window . . . after it comes up, just click anywhere in the NX client session window and AutoIt3 Window Spy will show you what you need. The needed text will be on the second line in the window . . . in this case NX - richard@ubuntu:2000 – ubuntu. Just cut and paste it into a notepad document so that you have it for the next step. Here’s a screenshot:
Go back to your Linux session and choose “Log Out” from the Power button in GNOME. This will log you out of the Linux server and close the client session.
Now, open NX Client for Windows again, click Configure and in the General tab, change Display to Fullscreen and then Save and OK. Close NX Client for Windows.
Second, download and install AutoHotKey.
A word of caution: Some antivirus programs may warn that part of AutoHotKey is malware (a keylogger, if I recall correctly). I scanned it using multiple AVs (thanks to Virus Total, I am satisfied that it is safe. It is up to you to decide if you can trust it – if it does turn out to be malware I am not liable for any damages to your system, period).
Once the program is installed, run it once. It’ll automatically minimize itself to the system tray. Right click on the icon and quit the application.
Go to your My Documents folder and you should find a file named AutoHotKey (show file extensions, and it’ll have a .ahk for its extension). Edit this file in Notepad or your favorite text editor. Paste the following text anywhere in the file:
F12::
DetectHiddenWindows ON
IfWinExist NX - richard@ubuntu:2000 - ubuntu
{
IfWinNotActive NX - richard@ubuntu:2000 - ubuntu
{
WinShow
WinActivate
return
}
WinHide
WinActivate Program Manager
return
}
else
{
Run "C:\Users\Richard\Documents\.nx\config\ubuntu.nxs"
}
return
Three things about this config:
First, the very first line “F12::” is the key that will allow you to launch and show/hide the NX client session. I just use F12 but you can use whatever you wish. Read the AutoHotKey documentation about how to configure it for something other than a simple one-key press.
Second, note the two lines “IfWinExist” and “IfWinNotActive” – they both contain the window title that we got from AutoIt3 Window Spy. Change it to match the value you got for your setup.
Third, on the “Run” line, change the text in quotes to match the path to your saved session file.
Save the file. Restart AutoHotKey. AutoHotKey looks for the autohotkey,ahk file as its initial script when it starts and since we modified it we don’t have to make a custom script.
Now, press F12 and you should see the NX client session startup dialog . . . if everything has been setup correctly it should just automatically start the remote session and give you a fullscreen remote desktop to your Ubuntu computer. Press F12 again and AutoHotKey should hide the window . . . press F12 again and the window should reappear. Etc, etc.
When you want to close the remote session choose Log Out from the Power menu on the Ubuntu system. The NX client session will close. The session will be saved on the remote side and next time you connect, it should reconnect to that session.
Add AutoHotKey to your startups and then you can just press F12 whenever you want to launch and/or access the remote session.
Voila! Have fun!
Have a WordPress.com account? Log in now.