Access to Solaris para and full virtual guest

本文介绍如何通过VNC访问OpenSolaris的HVM及domU虚拟机。对于HVM虚拟机,直接从域0进行VNC访问;对于domU虚拟机,则需要通过配置xVNC实现远程访问。文中还提供了创建非特权用户的步骤。
Access OpenSolaris HVM guest
=============================

1. vnc access from domain 0
VNC for HVM guest is default supported by xVM, so after create the HVM guest, domain 0 can access it through VNC:

% sudo virsh vncdisplay domain-name
% sudo vncviewer localhost:d

where d is the output of the first command.

2. remote access via xVNC

# svccfg -s cde-login setprop ’dtlogin/args=""’
# svcadm restart cde-login
# cat /etc/services | grep vnc-server
# printf "vnc-server/t5900/tcp/t/t/t# VNC Server/n" >> /etc/services
# svcadm enable xvnc-inetd

after these steps, you can use any vnc client software to connect the xVNC server.

Access OpenSolaris domU guest
=============================

1. console access from domain 0
VNC for domU guest is not support in current xVM. You can use "virsh console domain-name" to get a console for the guest.

2. vnc access via xVNC

Follow the same steps as above. "root" login will be rejected on a non-system console. So create a unpriveleged user:

# useradd -d /export/home/allen -m allen
# passwd allen
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值