nishio-dens's diary

Railsとかプログラミング関連の備忘録

Xephyrを使ってUbuntu9.10にリモートログインできない場合の対応策

2010年03月02日 追記) 以下にかかれている情報は不正確な可能性があります.


リモートログインされる側のパソコン(Ubuntu9.10)にxephyrをインストール

server$ sudo apt-get install xserver-xephyr

その後,リモートログインする側のパソコンにもxephyrを入れてリモートログインする

client$ Xephyr -query サーバのIP -fullscreen -screen 1920x1080 :1 &

しかし起動しない.

XDMCP fatal error: Session declined maximum number of open sessions from your host reached

なるエラーが発生している模様.
ここで,サーバ側の /etc/gdm/custom.conf に次の項目を追加.custom.confはなければ作る.

[xdmcp]
Enable=true
MaxSessions=16
DisplayPerHost=2

これでもう一度リモートログインを試みると無事成功した.