LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1174|回复: 5

请教,有没有可以远程登陆Xwindow的软件?

[复制链接]
发表于 2004-12-9 14:03:34 | 显示全部楼层 |阅读模式
请教,有没有可以远程登陆Xwindow的软件?象securecrt登陆字符终端一样,谢谢!
发表于 2004-12-9 14:11:24 | 显示全部楼层
如果从linux登录的话不需要什么软件,直接用远程显示的功能就行了
如果从win登录有个mit开发的vnc(当然linux下也有这个软件).你到网上找一找吧
 楼主| 发表于 2004-12-9 14:20:15 | 显示全部楼层
谢谢,试试,不懂向你请教!
发表于 2004-12-9 14:27:48 | 显示全部楼层
1. download a vnc server for linux, install it.
2. download a vnc view for windows, install it.
3. to create configuration for a vnc server, open a terminal on linux, issue this command:
$vncserver
4. shut down the vncserver,
$vncserver -kill :1
5. modify the xstartup of vnc server,
$vi ~/.vnc/xstartup
6. remove the original content in xstartup, add these two lines:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
7. save and exit vi.
8. restart the vnc server:
$vncserver

then you will login to a perfect xwindows.
 楼主| 发表于 2004-12-9 15:26:55 | 显示全部楼层
我的xstartup改成这样了
#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

但是我在windows中用VNC Viewer连接,在输入服务器的IP后,提示信息如下,
unable to connect to host:Connection refused (10061)
连接不上,这是怎么回事?我的firewall没有开啊,而且是在局域网内!

谢谢
 楼主| 发表于 2004-12-9 16:05:52 | 显示全部楼层
好了,谢谢,是由于没有安装java 虚拟机的原因,装上就好了!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表