---------- Forwarded Message ----------
Subject: Re: [Xen-users] vfb in PV
Date: Sunday 09 March 2008
From: jim burns <
jim_burn@xxxxxxxxxxxxx>
To: "Nikhil Talpallikar" <
nikhil.talpallikar@xxxxxxxxx>
On Sunday 09 March 2008 10:06:53 pm you wrote:
> I tried yum install vnc and yum install xserver. The installation goes
> successfully. but when i do startx or vncserver :10 in domU both give the
> same error saying command not found. but after installation i do not get
> the vkfb not found error i used to get earlier during xm create. even from
> dom0 i cannot connect the vncviewer to the domU.
Do an 'rpm -ql vnc' (or vnc-server). On my system, I get:
[1190] > rpm -ql vnc
/usr/bin/vncviewer
/usr/share/applications/vncviewer.desktop
/usr/share/doc/vnc-4.1.2
/usr/share/doc/vnc-4.1.2/LICENCE.txt
/usr/share/doc/vnc-4.1.2/README
/usr/share/icons/hicolor/16x16/apps/vnc.png
/usr/share/icons/hicolor/24x24/apps/vnc.png
/usr/share/icons/hicolor/48x48/apps/vnc.png
/usr/share/man/man1/vncviewer.1.gz
jimb@Insp6400 03/09/08 10:25PM:~
[1191] > rpm -ql vnc-server
/etc/rc.d/init.d/vncserver
/etc/sysconfig/vncservers
/usr/bin/Xvnc
/usr/bin/vncconfig
/usr/bin/vncpasswd
/usr/bin/vncserver
/usr/bin/x0vncserver
/usr/lib/xorg/modules/extensions/libvnc.so
/usr/share/man/man1/Xvnc.1.gz
/usr/share/man/man1/vncconfig.1.gz
/usr/share/man/man1/vncpasswd.1.gz
/usr/share/man/man1/vncserver.1.gz
/usr/share/man/man1/x0vncserver.1.gz
/usr/share/vnc
/usr/share/vnc/classes
/usr/share/vnc/classes/index.vnc
/usr/share/vnc/classes/logo150x150.gif
/usr/share/vnc/classes/vncviewer.jar
>From this, you see that vncviewer is in /usr/bin/vncviewer, and vncserver is a
service, started with (as root) 'service vncserver start'. For the server,
look at /etc/sysconfig/vncservers, and modify the lines at the bottom to
automatically spawn a server under your user account, and with the specified
desktop geometry. Then you can use (as root) 'chkconfig vncserver on' to
start the service automatically at boot time. And you should look at
~/.vnc/xstartup, which controls what desktop software is running in the vnc
window. (eg - if the last line is 'startkde &', you get kde. Look at the man
pages in the rpm listings above.)
You might also look at Gnome's vino server, which does something similar.