[Bug 471726] Re: x2x sharing problem i karmic

RCJ rcj4747 at gmail.com
Tue Nov 10 15:51:14 UTC 2009


#!/bin/bash
## This is provided as a example of the steps required to work-around this issue.
## I am worried that it will get less attention with a workaround provided, but
## someone is going to do it, so here it is.

HOST=laptop
USER=user

## Add the cookie for :0 to the xauth file
## NOTE: This assumes that there is only one /var/run/gdm/auth-for-${USER}* directory
ssh -XC ${USER}@${HOST} 'xauth merge /var/run/gdm/auth-for-${USER}*/database'
# ssh -XC  ${USER}@${HOST} 'xauth list'

## Run x2x on the remote host
## NOTE: This assumes that the desktop on the remote host is :0.0
ssh -XC  ${USER}@${HOST} 'x2x -east -to :0.0'

## Remove the cookie for :0 from the xauth file
## NOTE: This assumes that the desktop on the remote host is :0.0
ssh -XC  ${USER}@${HOST} 'xauth remove ${HOST}/unix:0'
# ssh -XC  ${USER}@${HOST} 'xauth list'

-- 
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