论坛风格切换切换到宽版
  • 1397阅读
  • 1回复

[问题求助][CentOS] 请教VNC多用户连接的问题? [复制链接]

上一主题 下一主题
离线dummy111.
 
发帖
1989
C币
-605070
威望
359
贡献值
4
银元
0
铜钱
4426
人人网人气币
0
只看楼主 倒序阅读 使用道具 楼主  发表于: 2009-05-01
请问我在配置vnc多用户登陆.的时候,为什么vnc1(root)用户是正常的,.而vnc2(test)用户却不正常呢?外贸
重启v.ncserver服务,2:test启动失败。外贸
而单独的第一个vnc用户可以正常远程连接.。电影
以下是我./etc/sysconfig/vncservers文件.内容:              乙肝
# The VNCSERVERS variable is a list .o.f display:user pairs.           女人
#
# Uncomment the l.ines below to start a VNC server on display .:2健康
# as my 'myusername.' (ad.just this to your own).  You will also投资
# need t.o set a VNC password; r.un 'man vncpasswd' to see how.
# t.o do that.                乙肝
#
# DO NOT RUN THIS SER.VICE if your loca.l area network is投资
# untrusted!  For a secure way .of using V.NC, see           女人
# <URL:http://www.uk.research.att.com/archive/vnc/sshvnc.html>;.外贸

# Use ".-nolisten tcp" to prevent X connections to .your VNC server via TCP..

# Use "-nohttpd" to prevent web-based. VNC clients co.nnecting.服务器

# Use "-localhost" to prevent remote VNC clients co.n.necting except when           女人
# doing so throug.h a secure tunnel.  See the "-via" option. in the    美容
# `man vncv.iewer' manua.l page.    美容

V.NCSE.RVERS="1:root 2:test"服务器
VNCSERVERARGS[1]="-geometry 800x600 -query localh.ost."            杀毒
VNCSERVERARGS[2]="-geometry 800x600 -q.uery localh.ost".

# VNCSE.RVERS="2:myuse.rname".
# VNCSERVERARGS[2]="-ge.ometry 80.0x600 -nolisten tcp -nohttpd -localhost"虚拟主机

请问是哪.里有问.题呢?(系统中创建的有test用户。)             电子

评价一下你浏览此帖子的感受

精彩

感动

搞笑

开心

愤怒

无聊

灌水
发帖
2027
C币
-139378
威望
384
贡献值
1
银元
0
铜钱
4613
人人网人气币
0
只看该作者 沙发  发表于: 2010-04-14
Re:[CentOS]
/etc/sysconfig/vncservers
VNCSERVERS=”1:root 2:phred 3:sysadmin” 1代表“桌面1”,root代表用户名;可同时启动多个用户桌面

VNCSERVERARGS[1]=”-geometry 800×600 -alwaysshared -depth 24″
-alwaysshared代表允许多用户同时登录 -depth代为色深,参数有8,16,24,32。
快速回复
限100 字节
如果您在写长篇帖子又不马上发表,建议存为草稿
 
上一个 下一个