VNC接続してもログイン画面が表示されない!!

Date 2018-3-14 8:43:08 | Topic: Linux (CentOS)運用時のメモ

conohaのVPSにCentOS6.9をインストールし、vnc ServerをXinetd経由で立ち上げ、Window機からVNC接続しても、ログイン画面が表示されない!!
/etc/xindetd.d/vnc-serverには
service vnc-server
{
 	disable		= no
  	socket_type	= stream
  	wait		= no
  	user		= nobody
  	server		= /usr/bin/Xvnc
  	server_args	= -inetd -query localhost -once -securitytypes=none -geometry 1600x900 -depth 24
  	log_on_failure	+= USERID
}

/etc/gdm/custom.confには
# GDM configuration storage
[daemon]
	remoteGreeter=/usr/libexec/gdmgreeter
[security]
 	AllowRemoteRoot=true
[xdmcp]
 	Enable=true

のように設定をしている。VNCの接続には成功しているが、ログインが面画が出ず真っ黒である。
原因はGDMを再起動しなかったため、
GDMのプロセスIDを調べて再起動してもいいが、面倒なのでVPSのCentOS自体を再起動したらログイン画面も表示され、めでたし、めでたし。


This article comes from 錦稜会 KINRYOKAI
https://www.kinryokai.net

The URL for this story is:
https://www.kinryokai.net/article.php?storyid=347