Solaris 公用桌面环境:用户指南

使用 remsh

remsh 命令在远程主机上启动 shell ,执行一些客户机活动(经常在该主机上启动终端仿真程序),并在需要时将显示重新定向,返回初始系统。

语法为:

remsh remote -n client -display system:display[.screen]

其中:

remote-远程主机名

client-要在远程主机上运行的程序

system:display[.screen]-将要显示结果的主机和显示器

remsh 命令经常用于定制菜单, 以访问其它主机。

例如,下列命令在名为 there 的远程主机上运行 xload,并将输出定向回您的系统 here 上。

remsh there -n /usr/bin/X11/xload -display here:0.0 &