Tuesday Apr 15, 2008

VNC OpenSolaris/xVM Settings

I use VNC on my system running xVM. Since a lot of other folks are doing the same, I thought I'd share my settings.

First off, I opted for the "VNC Enterprise Edition for UNIX" from RealVNC, which cost $US 50. I like the extra features that this edition (4.3.2) provides... see the web site for more information.

Here's my xstartup file:

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
/usr/local/bin/vncconfig&
gnome-session &

I'm running gnome, so that's why the gnome-session is in there. The vncconfig, however, is the really cool thing. With it, I'm able to copy-n-paste into and out of my vnc window onto my desktop... even if my domU is isolated from my dom0 whilst using IPsec.

When I start vncserver on my domU, I use:

vncserver -geometry 1500x900 -IdleTimeout 0

This stops those blasted disconnections due to idle time. The chosen geometry fits quite comfortably on one of the two 22-inch heads I run at home.

Oh, and I use the vnpasswd on both my dom0 and domU machines and set the passwords to be the same.

Finally, when I start the vnc viewer on my dom0, I use:

vncviewer snvdom1:2 -passwd ~/.vnc/passwd&

With the addition of the -passwd option, I'm able to start the viewer in the background.

About

robs

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today
Bookmarks