sttsのソースコードMemoブログ

色々やってみた結果のMemo

CentOS8のVNCサーバでログイン画面を表示する

GUIがインストールされていないCentOS8にインストールした時の記録です。

実施したコマンドは下記です。CentOS7の頃より簡単になっていました。

# yum group install "Server with GUI"
# yum install tigervnc-server
# systemctl enable xvnc.socket
# vi /etc/gdm/custom.conf

custom.confにDisallowTCP=falseとEnable=trueを足しました。

# GDM configuration storage

[daemon]
# Uncoment the line below to force the login screen to use Xorg
#WaylandEnable=false

[security]
DisallowTCP=false

[xdmcp]
Enable=true

[chooser]

[debug]
# Uncomment the line below to turn on debugging
#Enable=true

これで再起動するとport5900でVNCサーバが起動していました。

日本語入力の設定は下記を参考にしました。

CentOS8での日本語入力 | コリオのブログ