p4v won't start: Unable to login as user "

Viewed 1743

I am running p4v on Ubuntu. Usually I login to p4 at a terminal window and then start p4v. However, this morning I started p4v before logging in at the terminal. I got the connection dialog which I quickly exited, went to the terminal and did p4 login, and then tried to start p4v again.

Now when I double-click the p4v icon on my desktop, all I get is the message:

Unable to login to SERVERNAME as user "

(that single quote is not a typo -- it's exactly what the message says).

and p4v won't start. The message box says "Try again?", and whether I click Yes or No, it won't start. How do I get past this?

2 Answers

It's almost as Chad mentioned, but in my version the config line should be

<Int varName="ConnectionStartOption">3</Int>

Edit ~/.p4qt/ApplicationSettings.xml

In the line

<String varName="StartupOption">Last</String>

change Last --> Dialog

Next time you start, you should get the Connections dialogue. You can either use a previous working connection, or fill in the fields with the correct settings.

Related