[Bug 471726] Re: x2x sharing problem i karmic
David Boersma
david.boersma at gmail.com
Fri Nov 20 11:39:04 UTC 2009
@Brian, Claus: at ubuntuforums it was suggested
(http://ubuntuforums.org/showthread.php?t=1309289) that this is maybe
(indeed) more a gdm issue than an x2x issue.
@Robert: I tried your workaround script and it works, thanks! I needed a
little tweak though; our network administrator assigned a different
static name to my laptop than I configured when installing Karmic. I
need the network name to run ssh, but xauth uses the local install name.
So I rewrote the script to:
#!/bin/bash
HOST=laptop-networkname
HOSTlocal=laptop-installname
USER=user
cmd1="xauth merge /var/run/gdm/auth-for-${USER}*/database"
cmd2="xauth list"
cmd3="x2x -west -to :0.0"
cmd4="xauth remove ${HOSTlocal}/unix:0"
ssh -XC ${USER}@${HOST} "$cmd1; $cmd2; $cmd3; $cmd4"
ssh -XC ${USER}@${HOST} "xauth list"
When I interrupt the script with ^C, cmd4 (xauth remove) apparently
still gets executed, because the final xauth list shows only one entry,
as desired.
Thanks!
--
x2x sharing problem i karmic
https://bugs.launchpad.net/bugs/471726
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list