Running X server in VE [message #15533] |
Sat, 04 August 2007 09:33 |
marc1911
Messages: 11 Registered: August 2007
|
Junior Member |
|
|
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
|
|
|
|
Re: Running X server in VE [message #15547 is a reply to message #15534] |
Sun, 05 August 2007 10:16 |
tabaki
Messages: 11 Registered: April 2007 Location: Russia
|
Junior Member |
|
|
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.
[Updated on: Sun, 05 August 2007 10:19] Report message to a moderator
|
|
|
Re: Running X server in VE [message #15596 is a reply to message #15533] |
Mon, 06 August 2007 20:17 |
efball
Messages: 41 Registered: September 2006 Location: Santa Rosa, California
|
Member |
|
|
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.
E Frank Ball efball@efball.com
|
|
|
Re: Running X server in VE (*SOLVED*) [message #15630 is a reply to message #15533] |
Tue, 07 August 2007 13:29 |
marc1911
Messages: 11 Registered: August 2007
|
Junior Member |
|
|
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
[Updated on: Tue, 07 August 2007 13:29] Report message to a moderator
|
|
|
Re: Running X server in VE [message #16112 is a reply to message #15533] |
Wed, 22 August 2007 16:30 |
wildpossum
Messages: 1 Registered: August 2007
|
Junior Member |
|
|
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.
|
|
|