Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.
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?
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...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.