Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Is there anyway to get an error log for a failed VPN connection attempt? All I get is this notification and I have no idea where to go from there:

VPN Connection failed

share|improve this question

4 Answers 4

Log is written to /var/log/syslog.
Open gnome-terminal and do sudo tail -f /var/log/syslog
This will follow the file (prints to terminal new log messages).
Now try to connect to the vpn, the messages then will start showing in the terminal.
When you are done following the log just click Ctrl+c to quit tail.

share|improve this answer

What kind of VPN are you trying to establish?

Is it PPTP (Microsoft proprietary) or Cisco-compatible ?

The easiest way would be for you to run pptp (for PPTP) or vpnc (for Cisco) from a console and see the possible errors interactively.

I think that vpnc is quite straight forward, you just need to type in the necessary info (gateway ip, group name/pass, user name/pass).

I haven't actually used a PPTP VPN, but some info about setting it up can be found in the following link:


share|improve this answer

I just confirm the problem on ubuntu 14.04 LTS.

Add that if you launch the vpn manually with the following command it works at least for me:

sudo vpnc --domain "" --local-port 0 --enable-1des mypcffile
share|improve this answer

In Fedora and other systemd distro's that do not have /var/log/syslog, the VPN logs can be accessed with "sudo journalctl -f"

-f is for follow.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.