小编hit*_*jim的帖子

了解有关 Xvnc 进程的“vncserver -list”

我在 Centos 6.5 VM 上有一个非常标准的设置。我已经根据CentOS 的 wiki将 VNC 会话配置为在启动时启动

VNCSERVERS="1:root 2:moe 3:curly"
VNCSERVERARGS[1]="-geometry 640x480"
VNCSERVERARGS[2]="-geometry 640x480"
VNCSERVERARGS[3]="-geometry 800x600"
Run Code Online (Sandbox Code Playgroud)

就我而言,我配置了会话 1 到 12,其中 2 到 12 是本地用户,会话 1 属于 root。

正如预期的那样,我的所有会话都是在启动时创建的,我可以验证是否运行“ps -ef | grep Xvnc”

[moe@stooges ~]$ ps -ef|grep Xvnc
root     26037     1  0 Aug19 ?        00:00:14 /usr/bin/Xvnc :1 -desktop stooges.domain.com:1 (root) -auth /root/.Xauthority -geometry 1024x768 -rfbwait 30000 -rfbauth /root/.vnc/passwd -rfbport 5901 -fp catalogue:/etc/X11/fontpath.d -pn
moe 26126     1  0 Aug19 ?        00:00:00 /usr/bin/Xvnc :2 -desktop stooges.domain.com:2 (moe) -auth /export/home/moe/.Xauthority …
Run Code Online (Sandbox Code Playgroud)

vnc ps centos

10
推荐指数
1
解决办法
5万
查看次数

标签 统计

centos ×1

ps ×1

vnc ×1