LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
LinkBack Search this Thread
Old 11-24-2009, 04:11 AM   #1
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 13.37
Posts: 430

Rep: Reputation: 56
SSH-forward and openoffice


Hi there.

I currently use to computers frequently. My GF and I generally use the same user account because it's a pain to log in and log out all the time. If she needs to use her own, she starts another X-session, so I'm basically always logged inn.

Sometimes we both need do text-editing and here comes the problem. If OOo is already started on the main computer, I can't x-forward openoffice to the laptop. When I try to start OOo remotely, the window stats on the main computer. But this only happens if OOo is already running to the main computer.

I'm guessing it's something about the environment or something, because currently I've only experienced this with OOo, the other applications are working fine. Has anyone else experienced this? Is there a workaround?

It's not really a big deal, I usually just mount the other computer with sshfs, so I'm still able to work on my files. It's just out of curiosity.
 
Old 11-24-2009, 06:59 AM   #2
evo2
Senior Member
 
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 2,605

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Some programs buy default only run a single instance and set the display to whatever it was when it was started. Try passing and setting the -display flag. Or perhaps just passing the -nolockcheck flag will work.

Cheers,

Evo2.

PS. I know it is a pain to log out and log in when there are more than one person using the machine: that is why things likes the gnome fast user switch applet exist. I guess there is a KDE equivalent.
 
Old 11-24-2009, 01:38 PM   #3
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 13.37
Posts: 430

Original Poster
Rep: Reputation: 56
Hmm, the display command sounds interessting. I read a little about it in the man-page. My problem is however that I'm not sure how to use it. I tried:

soffice -display 192.168.1.101:0

But it gave the following error:

/opt/openoffice.org3/program/soffice.bin X11 error: Can't open display: 192.168.1.101:0

I get the same with various displays (:0.0, :1, :0.1). I assume I use the wrong display. Is there a way to find out what parameters to give -display?
 
Old 11-26-2009, 06:00 AM   #4
evo2
Senior Member
 
Registered: Jan 2009
Location: Japan
Distribution: Debian
Posts: 2,605

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Sorry, don't recall how to work out exactly what to set display to. Did you try using -nolockcheck instead?

Evo2.
 
Old 11-27-2009, 10:46 AM   #5
Dinithion
Member
 
Registered: Oct 2007
Location: Norway
Distribution: Slackware 13.37
Posts: 430

Original Poster
Rep: Reputation: 56
Yes, I tried that as well, but without any luck. Oh well, it's no big deal. sshfs works just fine. Thanks for your effort
 
Old 11-27-2009, 10:59 AM   #6
rich_c
Member
 
Registered: Apr 2008
Location: UK
Distribution: Mepis; Maemo; openSUSE
Posts: 370
Blog Entries: 70

Rep: Reputation: 81
On the multi user thing, in my household we all login to the main machine seperately & then either switch between sessions using the function keys (alt + f7 or f8 etc...) or whichever gui method presents itself at the time, i.e. from a locked screen. This with KDE. If you did this, you could log on remotley and kill any running sessions of OOo using your user id without risking binning your GF off in the middle of working which would no doubt be unpopular...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Forward OS/X apps over ssh? djeikyb Linux - Software 1 03-25-2008 01:39 AM
SSH X forward firefox Cetko Linux - Networking 6 02-20-2008 01:53 AM
LXer: OpenOffice.org Takes Another Step Forward LXer Syndicated Linux News 0 12-22-2005 01:46 PM
forward ssh serii Linux - Newbie 1 05-01-2005 02:41 PM
port forward over ssh bedwardj Linux - Security 1 06-26-2001 04:07 PM


All times are GMT -5. The time now is 02:43 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration