OpenVZ Forum - RDF feed
type: channel
items: Running X server in VE
items: Re: Running X server in VE
items: Re: Running X server in VE (*SOLVED*)

Running X server in VE
type: item
description: Hi there, I'm trying to get Alfresco (Document Management System) up and running in a VE. The problem I'm facing now is that is uses OpenOffice to do some background actions when checking in a document. OpenOffice needs a X server to work. Does anyone know a good howto to get an Xserver running in a VE? Regards, Marc
creator: marc1911
date: 2007-08-04T09:33:11-00:00

Re: Running X server in VE
type: item
description: in debian. -> apt-get install xserver-xorg-core xfonts-base xfonts-100dpi xfonts-75dpi but you must install udev before to do this. Wiki -> http://wiki.openvz.org/Installing_udev_in_VE_based_on_Debian -4.0 vzctl set XXX --features "sysfs:on" --save . This tip could work, but i cant install nxserver with this "sorry for my english"
date: 2007-08-04T10:30:49-00:00

Re: Running X server in VE
type: item
description: in fedora-6 (centos-5) VE: I install Xvnc-server. Running Xvnc server over GDM. vzyum XXX install yum vzyum XXX install gdm may be installing by dependence udev, it`s very bad, need remove it vzrpm XXX -e udev module-init-tools mkinitrd --nodeps vzrpm XXX -ihv vzdev-xxx.rpm --nodeps vzrpm XXX -ihv dummy-xxx.rpm --nodeps Login in VE. yum install vnc-server xorg-x11-fonts* If need KDE or GNOME: yum groupinstall "GNOME Desktop Environment" or yum groupinstall "KDE (K Desktop Environment)" Modification file /etc/gdm/custom.conf for starting Xvnc server on display 0: init 5 If not OK, need increase limits UBC-resources, see failcnt. cat /proc/user_beancounters Connect to VE trough VNC-client (on Windows or Linux) Sorry for my english.
creator: tabaki
date: 2007-08-05T10:16:03-00:00

Re: Running X server in VE
type: item
description: I'm also running vncserver within a VE to get an xserver. I don't have gnome, kde, gdm, kdm, xdm, etc. I just start a fvwm session from the .vnc/xstartup file. The vncserver is started from /etc/sysconfig/vncserver. I'm using a RHEL 4 host with CentOS 4 VEs.
creator: efball
date: 2007-08-06T20:17:46-00:00

Re: Running X server in VE (*SOLVED*)
type: item
description: Well I finally succeeded in getting OpenOffice working using vncserver. With regard to the Alfresco product I found a wiki-page ( http://wiki.alfresco.com/wiki/Running_OpenOffice_From_Termin al) that described a way to run OpenOffice from a terminal. What I did was I installed vncserver and started it with display 1, like this: # vncserver :1 furthermore I adjusted the startup command of OpenOffice and it came out like this: # /opt/Alfresco/openoffice.org2.1/program/soffice " -accept=socket,host=localhost,port=8100;urp;StarOffice.Servi ceManager " -nologo -headless -nofirststartwizard -display :1 & Because I had to make a lot of steps in getting Alfresco to work on the VPS, I wrote a Howto. Currently it's not more than a quick & dirty note just good enough for me to fall back to if needed, but if anyone is interessing I'm more than happy to rewrite it a bit and put it on the internet. Regards, Marc
creator: marc1911
date: 2007-08-07T13:29:20-00:00

Re: Running X server in VE
type: item
description: There is an easier way, use the Xvfb program. Xvfb :99 -screen 0 800x600x16 & soffice -display :99 blah blah I hit this exact problem today. I'm surprised the Alfresco people shipped their package with a broken start script.
creator: wildpossum
date: 2007-08-22T16:30:01-00:00