从blatwave.org上安装Solaris VNC

本文介绍了如何在Solaris系统中安装及配置VNC服务,包括安装VNC服务器与查看器、修改字体路径、设置环境变量、启动及停止VNC服务等步骤。
部署运行你感兴趣的模型镜像
This article is originally posted at http://blog.chinaunix.net/u1/41699/showart_381650.html.

VNC is a remote control software which lets you see and interact with desktop applications across the network.
  • install VNC from www.blastwave.org
[aubrey-lab@~] sudo pkg-get install vncserver
[aubrey-lab@~] sudo pkg-get install vncviewer
  • Change fontpath to match solaris configuration
[aubrey-lab@~]cat /opt/csw/bin/vncserver.diff
--- $fontPath = "tcp/localhost:7100";
+++ #$fontPath = "tcp/localhost:7100";
---#$fontPath = "/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi";
+++$fontPath = "/usr/lib/X11/X11/fonts/misc/,/usr/lib/X11/X11/fonts/75dpi";
  • Add the path of the command "xrdb" to your environment PATH
[aubrey-lab@~]exporth PATH=/usr/openwin/bin:$PATH
  • Startup gnome-session when start VNC server
[aubrey-lab@~]cat ~/.vnc/xstartup
---/usr/openwin/bin/twm &
+++#/usr/openwin/bin/twn &
+++/usr/bin/gnome-session &
  • Now it's time to start VNC server
[aubrey-lab@~]vncserver

New 'X' desktop is aubrey-lab:1

Starting application specified in /export/home/aubrey/.vnc/xstartup
Log file is /export/home/aubrey/.vnc/aubrey-lab:1.log
  • And It can be killed by the following command
[aubrey-lab@~]vncserver -kill :1
  • OK, you can connect this server by vncviewer on another machine, enter VNC server as "aubrey-lab:1", after password is checked successfully, you'll see the gnome desktop of the server.
 

您可能感兴趣的与本文相关的镜像

Stable-Diffusion-3.5

Stable-Diffusion-3.5

图片生成
Stable-Diffusion

Stable Diffusion 3.5 (SD 3.5) 是由 Stability AI 推出的新一代文本到图像生成模型,相比 3.0 版本,它提升了图像质量、运行速度和硬件效率

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值