I installed openvpn on my Ubuntu 16.04.2 LTS System, but I can't add a connection, because the field is greyed out.   I've tried this:  sudo apt-get install network-manager-openvpn network-manager-openvpn-gnome   Is there maybe any super secret file I have to edit?  Edit: Also tried to solve it via installing the following packages:  network-manager-openvpn network-manager-openvpn-gnome network-manager-pptp network-manager-vpnc   Edit 2: The suggested solution in the comment from alfred worked for me:     I'm on 16.04.2, but I don't see "Add a VPN connection" option on nm-applet. > However I can add a VPN connection by choosing "Edit conections..." -> "Add" > – alfred Mar 17 at 23:55
When I choose the Connection Type in VPN Connections, I have only PPTP and I can't find OpenVPN, but I already installed it via terminal with the command sudo apt-get install openvpn easy-rsa  Why I can't find it?
Permanent background ssh connection to create reverse tunnel: what is correct way? How do I unit test code that includes a callout? This is a canonical question and answer developed by the community to help address common questions. If you've been directed here, or your question has been closed as a duplicate, please look through the resources here and use them to shape more specific questions. To browse all canonical questions and answers, including more unit test resources, navigate to the  tag.  How do I unit test code that includes a SOAP or REST-based callout, or indirectly calls code that makes a callout? I'm getting an error saying that callouts are not supported. When do I use active vs passive perception? So, I'm trying to figure out how to run the scene from the beginning of Lost Mine of Phandelver (5e starter set) where the party is ambushed by goblins and I'm really confused as to how Passive Wisdom (Perception) works.  The included rulebook mentions on page 6 :     When you hide, there’s a chance someone will notice you even if they aren’t searching. To determine whether such a creature notices you, the DM compares your Dexterity (Stealth) check with that creature’s passive Wisdom (Perception) score, which equals 10 + the creature’s Wisdom modifier, as well as any other bonuses or penalties. If the creature has advantage, add 5. For disadvantage, subtract 5. For example, if a 1st-level character (with a proficiency bonus of +2) has a Wisdom of 15 (a +2 modifier) and proficiency in Perception, he or she has a passive Wisdom (Perception) of 14.   So the party is being ambushed by goblins and at that point the DM guide mentions on page 7 :     Check to see who, if anyone, is surprised. [...] Make a Dexterity (Stealth) check for the goblins, rolling once for all of them. Roll a d20, add the goblins' Stealth skill modifier (+6) to the roll and compare the result to the characters' Passive Wisdom (Perception) scores.   So to me this reads like I should roll 1d20+6 for the goblins and compare that to the static Passive Wisdom (Perception) score on the character sheet of a PC. The PCs don't get to roll anything as they're not actively looking for enemies, even though they are investigating the dead horses.  I would also think that if the characters were supposed to roll, the DM guide would clearly instruct so, given that this is the starter set.  However, watching  at around 8:01 I notice that the DM is explicitly asking his party for a perception roll. And the same thing happens on a couple of other videos where people are running the Lost Mine adventure. The DM always requests a roll.  So what gives? Shall I take it that the DMs ask for the roll because they consider the party to be actively seeking for hidden foes? Or am I just misreading the rulebook and the DM guide? I am flying from New Orleans to Dulles (IAD) on United Express, and from IAD to Frankfurt on United. I have a short connection (45 minutes) in IAD.   I'm trying to figure out how can I make it:  Will I need to go throughout security and border check since I'm leaving the US? How big is IAD airport? and are there different terminals for domestic and international flights? If so, how long would it take to walk between them? Why is quantum entanglement considered to be an active link between particles? From everything I've read about quantum mechanics and quantum entanglement phenomena, it's not obvious to me why quantum entanglement is considered to be an active link. That is, it's stated every time that measurement of one particle affects the other.  In my head, there is a less magic explanation: the entangling measurement affects both particles in a way which makes their states identical, though unknown. In this case measuring one particle will reveal information about state of the other, but without a magical instant modification of remote entangled particle.  Obviously, I'm not the only one who had this idea. What are the problems associated with this view, and why is the magic view preferred? What is the meaning of the term "linear" I'm building a small chat. Now I see but in other chats (whatsapp, facebook mobile chat, sms ...) that the arrangement is always the same:  Left: the chat partner. right: myself      Why is that? Configure Postfix to use external MX servers for delivery of local mail if user is unknown I often run into this issue. I'm creating a file in Photoshop with masked layers etc. I want to make the final output available for some mock-ups in Illustrator, so I rasterize the layers and marquee select the entire area, copy and move to Illustrator.  Pasting the area in Illustrator flattens all transparencies, which is quite annoying. I'm left with my object and a flat white background.  Is there a reason for this? How to use a decimal range() step value? After enabling hibernate grub menu appears on start-up with 30s timeout My system is not dual boot just single OS UBUNTU 16.04. Prior to making the following changes, the Grub screen would not appear at start-up (OK).  After following these steps from  to enable hibernate in the system menu:   Open terminal and enter;   sudo nano /etc/polkit-1/localauthority/50-local.d/com.ubuntu.enable-hibernate.pkla  add the lines into the empty file;  [Re-enable hibernate by default in upower] Identity=unix-user:* Action=org.freedesktop.upower.hibernate ResultActive=yes  [Re-enable hibernate by default in logind] Identity=unix-user:* Action=org.freedesktop.login1.hibernate;org.freedesktop.login1.handle-hibernate-key;org.freedesktop.login1;org.freedesktop.login1.hibernate-multiple-sessions;org.freedesktop.login1.hibernate-ignore-inhibit ResultActive=yes  ^X then Y to save (a filename was suggested and I accepted without taking note).  Reboot for the changes to take effect.   hibernate now works and appears in the menu (OK) but whenever I reboot I now get a Grub menu at start up with a full 30 second timeout (NOK). I tried playing around with the Grub menu timeout settings but still get the full 30 sec timeout.  How do I stop the Grub menu from appearing and reduce my boot time to what it was before I made these changes.   Current Grub settings;   GRUB_DEFAULT="0" GRUB_HIDDEN_TIMEOUT="0" GRUB_HIDDEN_TIMEOUT_QUIET="true" GRUB_TIMEOUT="1" GRUB_DISTRIBUTOR="`lsb_release -i -s 2&gt; /dev/null || echo Debian`" GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" GRUB_CMDLINE_LINUX="" How to execute sudo commands with Expect & send commands in bash script? If $p$ is congruent to $2 \pmod 3$, how can I prove that all $a$, $1 \le a \le p-1$ are cubic residues $\mod p$?  Here's what I've done:  $1^3$ congruent to $1 \pmod p$ thus, 1 is a cubic residue, Also $(p-1)^3=(p-1) \pmod p$ implies  $$(p-1)^3 - (p-1) = (p-1)[(p-1)^2 -1] = (p-1)(p^2 -2p) = p(p-1)(p-2) $$ implies $$p|(p-1)^3 -(p-1)$$ Thus  $p-1$ is a cubic residue $\mod p$. Now I don't know how to show for $1\lt a \lt p-1$ are all cubic residues when $p$ is congruent to $2\pmod 3$. Every time the DeLorean travels in time, it appears in the same place as the place it left. But that's the same place relative to the Earth's surface. In space-time terms, that point is constantly moving: the Earth rotates on its axis at a speed of one revolution per day, and moves around the Sun at a speed of one revolution per year (a roughly circular orbit with a radius of 93 million miles). The Sun is orbiting around the centre of our galaxy, pulling its planets with it, and our galaxy is moving relative to all other galaxies.  So if the DeLorean does not move in space in absolute terms, then a time-jump of even a few minutes would place it outside the Earth's atmosphere as the planet would have moved a few miles in that time. Therefore, to prevent this, the car's computer has to calculate the precise movement of the Earth (and Hill Valley) over the required interval travelled.  Two questions:   A computer powerful enough to do that kind of calculation probably couldn't have fitted into a car in 1985. So where did Doc get it from? If he could calculate the spatial displacement to remain in the same place on the Earth's surface that accurately, why couldn't he adjust those calculations to make the DeLorean appear wherever he wanted? I know this proof is somewhat similar, or related to the Baire's Category Theorem but I can't seem to figure out how to do it.  The Baire Category theorem asserts that if X is a complete metric space or a locally compact Hausdorff space (my case), then the complement of a countable union of nowhere dense sets is always nonempty.  How can I use this on the proof? We know for a metallic conductor   Current $\frac{I}{enA} = v$ where $v$ is drift velocity , $e$ is the charge of an electron, $n$ is no of electrons per unit volume and $A$ is area of cross section.  Ok my questions that I am struggling with:   Does it depend on length of wire? (let's say if the current is the same and area is also the same but one wire is longer and one wire is shorter then is the drift velocity for both wires the same?) Does it depend on the cross sectional area of the wire? (Yes, according to the relation, if the area is greater, drift velocity is lower, correct?)   I have digged university physics still I couldn't get my answer :( . Why does every server I try say it can't connect? I just re-purchased Minecraft (because my old profile stopped working so I bought it) after not playing it for a couple of months. I've added a bunch of servers, but almost every one says "can not connect."  I know its not because the server is not 1.7.2, because I checked that they'd update. It will say "server can't connect" after a long time. I don't know if its me or the servers.  My server screen looks like this (notice the one at the bottom – it's still loading!): CSS z-index causes part of tags to show through notifications on webmasters, web applications, gaming, gamedev, and their meta sites When you vote 35 times in a day and you only have five votes left, you start getting a warning popup that you are almost at your limit.  When this warning appears in the same place as the tags, part of the tags shows through it.        This screen shot was taken on webmasters.    This is also a problem on Web Applications: :        and :        This also happens on  as described .  Here is a .  It is also happening on the meta sites associated with the sites that have the problem.   For example, here is web apps meta site:    This a minor annoyance that has been around for at least a couple years. My online friend is asking for money in order to visit my home country. Is this a legit request or a scam? Java error: Implicit super constructor is undefined for default constructor