L
L
Levsha1002011-09-04 21:13:48
Multimonitor
Levsha100, 2011-09-04 21:13:48

xdmx setup?

There is a laptop and a netbook with ubuntu, I want the netbook to work as a second monitor, for this:
I tap on ssh from the netbook and go to the laptop,
then I do

export |grep DISP<br/>
<br/>
declare -x DISPLAY=&quot;localhost:10.0&quot;<br/>

after
startx -- /usr/bin/Xdmx :1 +xinerama -display :0.0 -display localhost:10.0 -norender -noglxproxy<br/>

then an error appears
Fatal server error: Server is already active for display 0<br/>
If this server is no longer running, remove /tem/.X0-lock and start again

After deleting /tem/.X0-lock, the following error is thrown:
xauth: error in locking authority file /home/alex/.Xauthority<br/>
xauth: error in locking authority file /home/alex/.Xauthority<br/>
<br/>
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed<br/>
_XSERVTransMakeAllCOTSServerListeners: server already running<br/>
<br/>
Fatal server error:<br/>
Cannot establish any listening sockets - Make sure an X server isn't already running<br/>
<br/>
Please consult the The X.Org Foundation support <br/>
 at <a href="http://wiki.x.org">wiki.x.org</a><br/>
 for help. <br/>
Please also check the log file at &quot;/var/log/Xorg.0.log&quot; for additional information.<br/>
<br/>
ddxSigGiveUp: Closing log<br/>
No protocol specified<br/>
xinit: giving up<br/>
xinit: unable to connect to X server: Connection refused<br/>
xinit: server error<br/>
xauth: error in locking authority file /home/alex/.Xauthority<br/>

sudo cat /var/log/Xorg.0.log<br/>
[ 4897.616] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed<br/>
[ 4897.616] _XSERVTransMakeAllCOTSServerListeners: server already running<br/>
[ 4897.616] <br/>
Fatal server error:<br/>
[ 4897.616] Cannot establish any listening sockets - Make sure an X server isn't already running<br/>
[ 4897.616] <br/>
Please consult the The X.Org Foundation support <br/>
 at <a href="http://wiki.x.org">wiki.x.org</a><br/>
 for help. <br/>
[ 4897.616] Please also check the log file at &quot;/var/log/Xorg.0.log&quot; for additional information.<br/>
[ 4897.616] <br/>
[ 4897.616] ddxSigGiveUp: Closing log<br/>

No matter how I tried to change the settings, nothing happens.
Please tell me how to do it right.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
rasa, 2011-09-04
@rasa

So have you tried deleting .X0-lock?

4
4dmonster, 2011-09-05
@4dmonster

declare -x DISPLAY="localhost:10.0"
try writing here not localhost but netbook ip address

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question