OpenOffice does not accept password when opening files remotely over ssh

Bug #94326 reported by b
34
Affects Status Importance Assigned to Milestone
openoffice.org (Ubuntu)
Fix Released
Medium
Unassigned
Declined for Hardy by Chris Cheney

Bug Description

Binary package hint: openoffice.org

Under breezy I was able to open files on another machine but this seems not to work in feisty on my powerbook.

I'm connecting to the other machine using the "connect to server" option, selecting an ssh server and supplying the information for log in. Nautilis sees the mounted remove file system, and I can open files with evince for example. When I try and open any OO documents OO starts up and asks for the password. I enter it and then it asks for a password again, this time with the username feild blank. On the third try OO cancels and presents a "general input/output error" and quits.

Will attach an image of the login screen.

Been happening since OO 2.0.2 it seems.

Let me know if there is anything else I can do to debug.

.b.

ProblemType: Bug
Architecture: powerpc
Date: Tue Mar 20 22:01:52 2007
DistroRelease: Ubuntu 7.04
Uname: Linux ubuntu 2.6.20-11-powerpc #3 Thu Mar 15 04:30:50 UTC 2007 ppc GNU/Linux

Revision history for this message
b (ben-ekran) wrote : screenshot
Revision history for this message
Michael Broadbent (mikebro) wrote :

I can confirm this on Feisty Herd 5 with the latest updates (OOo 2.2 rc3)

Every file I tried to open over SSH worked fine except for OpenOffice documents. When I try to open up an OOo document the splash page comes up with the password dialog and I get the same problems except the error I get is: "General internet error has occurred"

If I went through the console and used SSH -y (X11 forwarding) I could open OOo files with no problems.

Changed in openoffice.org:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Pēteris Krišjānis (pecisk-gmail) wrote :

I can confirm this too on Ubuntu Feisty Beta. OpenOffice.org asks for password, but then spits out message about internet error and asks for password again, for uknown address this time.

Revision history for this message
Paul Swartz (paulswartz) wrote :

I can also confirm this, Feisty Beta. Additionally, if public key authorization is enabled, opening a file over SSH simply hangs OpenOffice until the ssh process is killed.

Revision history for this message
Michael Broadbent (mikebro) wrote :

This occurs still occurs in OOo 2.2.0-0ubuntu2 on Feisty and the Dapper backport.

There was a small difference on the Dapper backport though, there "General internet Error" message came after only one attempt to log in unlike Feisty where there was 3 logins, and the user name disappeared after one attempt

Revision history for this message
Paul J Thompson (paul-henrybrooks) wrote :

I can confirm this too, Feisty 7.04, final. Comes up with the message when attempting to open a file on a remote fileserver that has restrictions on who has write access. And of cause the file does not open.

Revision history for this message
Omegatron (omegatron) wrote :

Not sure if this is the same bug, but trying to open .doc files over SMB from an XP machine's shared folder doesn't work, either. Says "General internet error has occurred". These are not password-protected files.

Revision history for this message
Gareth Mullan (gareth-mullan) wrote :

I can confirm this is still a bug in Feisty when opening non-password protected XLS files using SAMBA onto a Windows network.

Revision history for this message
WillSmith (undertakingyou) wrote :

Confirm for bug. Behavior is exactly as outlined above. Using Fiesty Fawn, ssh into Gutsy Gibbon Alpha.

Revision history for this message
Chris Cheney (ccheney) wrote :

What is even more odd is that sftp:// works fine.

Chris

Revision history for this message
Thomas Novin (thomasn80) wrote :

This is still an issue with a fully updated Gutsy Gibbon install and also with Hardy Heron (fully updated as of 2008-01-16)! I don't think this is of medium importance, this should be High!

Revision history for this message
AnRkey (anrkey) wrote :

I can also confirm this bug on 3 of my Ubuntu 7.10 systems running OOo 2.3.0

Are there any work arounds? We use the Places menu to mount SSH shares and then when we try to edit a file with OOo the password prompt keeps popping up and we cant get any further than that.

Thanks

R

Revision history for this message
Pete Goodall (pgoodall) wrote :

You might try using an sshfs entry in your /etc/fstab. I'm not sure if this bug concerns OO.o accessing gnome-keyring or gnome-vfs (or both).

Revision history for this message
theLawman (billieboy) wrote :

I have this bug on a gutsy -gutsy home network. I suggest that the importance be elevated to high because, without the ability to share open office, the benefits of networking are much reduced.

I hope this is fixed in Hardy.

Revision history for this message
Neil Smith (neil-smith) wrote :

For a quick fix, in the the address bar of Nautilus put the user and password.

ssh://user:password@servername/folder

Here's an example: ssh://neil:pa55word@192.168.0.6/home/neil/Development/Web

Where the login is neil and neil's password into the server is pa55word.

Not ideal as it leaves them visible, but for a home user it may not matter too much.

Cheers,

Neil.

Revision history for this message
Thomas Novin (thomasn80) wrote :

This seems to be fixed now. I have no problems opening password protected items of any kind.

Revision history for this message
Xvani (fredrile+launchpad) wrote :

Not fixed in latest gutsy (with backports)

Revision history for this message
Chris Cheney (ccheney) wrote :

I believe that this bug has been corrected in Ubuntu hardy openoffice.org 1:2.4.0~rc2-1ubuntu3 so I am marking it as Fix Released. If after upgrading you continue to have problems with this issue then feel free to reopen this bug.

Thanks,

Chris Cheney

Changed in openoffice.org:
status: Confirmed → Fix Released
Revision history for this message
Mauro Vale (maurovale) wrote :

I'm using Hardy 8.04, and I can browse samba shares, using my username and password...

But if I try to open that share in Openoffice it asks me for a Username/Password.... and I cant open anything :(

Openoffice doesn't accept any username/password I insert in the box...

In the office there is more 10 ubuntu boxes with 7.10 working with openoffice and samba, and openoffice doesnt ask for a username/password, it only happens in Hardy....

What's going on where ???

Revision history for this message
Mauro Vale (maurovale) wrote :

Ok, closing this bug...sorry.

It was a problem with the Samba Shares and not Openoffice...

Just force you samba shares and restart samba and Openoffice wil work ;)

Revision history for this message
kikvors (kikvors) wrote :

I have the same error on Hardy beta where the problem is specific to OpenOffice files.

I can work around this by using the N. Smith approach.

Revision history for this message
judsonmitchell (jmitchel-loyno) wrote :

This problem persists for me. I'm running Hardy and OO 1:2.4.0-3ubuntu6

Revision history for this message
Martin von Wittich (martin.von.wittich) wrote :

Same problem here, Hardy and OpenOffice 1:2.4.0-3ubuntu6. I am opening a document on a Samba share; the credentials are stored in my keyring and they work if I i.e. use Nautilus to open the share. OpenOffice though seems to ignore the keyring and I have to enter the credentials into OpenOffice manually. They work though; as soon as I have entered the credentials and the checkbox "store until end of session" is checked, I don't have to enter them again until I logout.

Revision history for this message
John Kuang (xiphosurus) wrote :

i am experiencing the same problem. using nautilus to browse files on remote computer via sftp, i then dbl click on openoffice files and a dialog pop up asking for password, with my username already there. after entering it, the same dialog opens up again, this time without my username (no field to key username either), asking for password again. key in password, then same thing happens. after a few tries, i get the msg "general internet error has occurred".

this password dialog works when browing openoffice files using nautilus via samba, but not sftp.

could it be because i dont use port 22 for ssh? i switched ssh to use another port on both remote and client computers. is there a way to change the port that OO use for sftp?

Revision history for this message
Moreira (federico-morales) wrote :

I'm Having the same problem on ubuntu hardy heron with OpenOffice 1:2.4.1-1ubuntu2 with ssh shares.

Revision history for this message
Cédric Jeanneret deactivated (cjeanneret-c2c-deactivated) wrote :

having quiet the same problem on hardy with
1280:ii openoffice.org-base-core 1:2.4.1-1ubuntu2 [and deps]

opening a smb shared file works [well... sometimes.], saving them often crashes with I/O error, and replacing existing file is NOT possible...
only OOo has this problem. As far as I read things on google, this problem is really an old one [smb/network file support in OOo), as there are threads on forum dated from 2003.... and on different Linux flavour [fedora, suse, ubuntu, debian...]

Revision history for this message
the motorman (rdoctors) wrote :

Just loaded Ubuntu on an older laptop ( dell D505) nothing else on it, new hard drive. Everything works fine unless I try to access my other computer running winXP ( yuck! ) via wireless link linksys.
I can see the files but when I try to open them up I get the OO startup then it asks me for a password.
It also puts guest as the login name. I do not have anything protected as it's my own network. If I try to enter a password ( I tried the one I use to open Ubuntu ). I get first another identical window login "guest" and waiting for password. At the second attempt it gives me a network error same as other posts above.. I do not know what login or password OO is referring to ..I am a newbie and excited to finally find Ubuntu.. thanks for any ideas I'll try them If I get simple instructions.

Revision history for this message
James Walker (jamesjoseph-walker) wrote :

This problem still exists with OpenOffice 2.4 and Intrepid Ibex. I cannot browse through a Nautilus ssh folder and open a document without being prompted for a password and given a "general internet error". Why is this marked as being fixed?

Revision history for this message
Jan Groenewald (jan-aims) wrote :

Confirmed on hardy 8.04.2 up to date.
openoffice.org-writer 2.4.1-1ubuntu2.1

docs, xls, and odt on the SSH share (via nautilus and "connect To Server"
do not open. they ask for the password again with an openoffice dialogue.
It seems even the correct passwords fail.

Then it says "General Internet error has occured"

As an aside, winscp from windows used to open these.
I am not sure it is related, but the files now have to
be dragged out of winscp to be opened properly.
Very strange, since that seems to point at it NOT being
an openoffice problem.

But other (not doc, xls, odt) files are opening fine
on the Linux desktop, it is only the offiice formats
with problems.

Similarly on the Linux desktop, dragging the files from
the SSH nautilus window to the desktop and then opening
works fine.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.