0

GNOME RHE7.9 で xinetd を使用して VNC セッションを作成しようとしていますが、うまくいきました。しかし、達成しようとしているのは、複数のセッションで同じユーザーにログインすることです。

例えば:

セッション $hostname:1 を作成し、localhost:1 でユーザー "xyzuser" に正常にログインしました

セッション $hostname:2 を作成し、同じユーザー "xyzuser" で localhost:2 にログインしようとしています。しかし、これは機能していません。そしてvncクライアント画面では、ログインボタンの代わりにロック解除ボタンを取得しています

構成は以下のとおりです。

# cat /etc/gdm/custom.conf
[daemon]
KillInitClients=false
RemoteGreeter=/usr/libexec/gdm-simple-greeter
GdmXserverTimeout=60

[security]
DisallowTCP=false
AllowRemoteRoot=true

[xdmcp]
Enable=true
MaxSessions=99
HonorIndirect=true

[gui]

[greeter]
IncludeAll = false
DefaultWelcome=false
Welcome=Welcome to %n
SoundOnLogin=false

[chooser]

[debug]
Enable=true

また、/etc/xinet.d の下にある xinetd ファイルは次のとおりです。

# cat vnc1
service vnc1
{
        disable = no
        socket_type = stream
        protocol = tcp
        wait = yes
        user = nobody
        server = /usr/bin/Xvnc
        server_args = :1 -inetd -depth 24 -geometry 1280x1024 -once -query localhost -rfbauth /.vnc/passwd -SecurityTypes=None -IdleTimeout=0 -NeverShared -DisconnectClients=0 -desktop hostname:1
        port = 5901
}

# cat vnc2
service vnc2
{
        disable = no
        socket_type = stream
        protocol = tcp
        wait = yes
        user = nobody
        server = /usr/bin/Xvnc
        server_args = :2 -inetd -depth 24 -geometry 1280x1024 -once -query localhost -rfbauth /.vnc/passwd -SecurityTypes=None -IdleTimeout=0 -NeverShared -DisconnectClients=0 -desktop hostname:2
        port = 5902
}

インストールされるパッケージは、xinetd、tigervnc.x86_64、libvncserver.x86_64、tigervnc-server.x86_64 です。

ティア

4

0 に答える 0