OpenVZ Forum


Home » Mailing lists » Users » X11 and vncserver under VPS
X11 and vncserver under VPS [message #387] Sun, 20 November 2005 02:13 Go to next message
Eric Sammons is currently offline  Eric Sammons
Messages: 10
Registered: November 2005
Junior Member
First, let me start by stating I am fairly new to OpenVZ. Now, last night I
tried to use the pre packaged template for Fedora-core-4-default, which worked
fine, then I attempted to install vncserver + X11. These installs all seemed
to work fine, I did notice that a new fedora kernel was installed. Well, at
some point I decided to vzctl restart <vpsid> and it seemed the image started,
but I could not access it via ssh or vzctl enter. When hardware 0 reboots it
shows OpenVZ starts, but that VPS 101 fails to start.

So any idea how I might set up X11 under a VPS? Also, along the same note, is
there a good reference on how to build my own template?

Thanks!
Re: X11 and vncserver under VPS [message #396 is a reply to message #387] Mon, 21 November 2005 08:03 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Eric,

First, when submitting a bug report or a problem description please
always try to be as specific as possible. In this case it would be
helpful if you tell exactly the packages you have installed, the
commands you use to do that etc.

Second, the problem is xorg-x11 requires kernel-drm thus kernel is about
to be installed but it conflicts with our 'dev' package. If you have
used vzyum or yum it just bails out telling there is a conflict.

Anyway, to solve the problem some trick is needed. The trick is to have
a package installed which claims it provides kernel-drm = 4.3.0 so
xorg-x11 dependencies will be satisfied. So I have an updated version of
dummy package (which is created just for those tricks) that does just
that; it is attached.

What you need to do with it is:
1. Place it to /vz/template/fedora-core/4/i386/vz-addons/ directory.
2. cd to that directory and run createrepo as root (if you do not have
createrepo installed you can take rpm from
http://linux.duke.edu/projects/metadata/generate/)
3. Update template cache by running vzpkgcache (check that this very
version of dummy package is put into cache), then create a new VPS and
go on from there (vzyum VPSID install xorg-x11 vnc-server).

Restoring your existing VPS would be a bit more complex...

Eric L. Sammons wrote:

>First, let me start by stating I am fairly new to OpenVZ. Now, last night I
>tried to use the pre packaged template for Fedora-core-4-default, which worked
>fine, then I attempted to install vncserver + X11. These installs all seemed
>to work fine, I did notice that a new fedora kernel was installed. Well, at
>some point I decided to vzctl restart <vpsid> and it seemed the image started,
>but I could not access it via ssh or vzctl enter. When hardware 0 reboots it
>shows OpenVZ starts, but that VPS 101 fails to start.
>
>So any idea how I might set up X11 under a VPS? Also, along the same note, is
>there a good reference on how to build my own template?
>
>Thanks!
>
--
Kir Kolyshkin <kir@sw.ru> ICQ 7551596
Re: X11 and vncserver under VPS [message #397 is a reply to message #396] Mon, 21 November 2005 08:07 Go to previous messageGo to next message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Actual RPM is now attached.

Kir Kolyshkin wrote:

> Eric,
>
> First, when submitting a bug report or a problem description please
> always try to be as specific as possible. In this case it would be
> helpful if you tell exactly the packages you have installed, the
> commands you use to do that etc.
>
> Second, the problem is xorg-x11 requires kernel-drm thus kernel is
> about to be installed but it conflicts with our 'dev' package. If you
> have used vzyum or yum it just bails out telling there is a conflict.
>
> Anyway, to solve the problem some trick is needed. The trick is to
> have a package installed which claims it provides kernel-drm = 4.3.0
> so xorg-x11 dependencies will be satisfied. So I have an updated
> version of dummy package (which is created just for those tricks) that
> does just that; it is attached.
>
> What you need to do with it is:
> 1. Place it to /vz/template/fedora-core/4/i386/vz-addons/ directory.
> 2. cd to that directory and run createrepo as root (if you do not have
> createrepo installed you can take rpm from
> http://linux.duke.edu/projects/metadata/generate/)
> 3. Update template cache by running vzpkgcache (check that this very
> version of dummy package is put into cache), then create a new VPS and
> go on from there (vzyum VPSID install xorg-x11 vnc-server).
>
> Restoring your existing VPS would be a bit more complex...
>
> Eric L. Sammons wrote:
>
>> First, let me start by stating I am fairly new to OpenVZ. Now, last
>> night I tried to use the pre packaged template for
>> Fedora-core-4-default, which worked fine, then I attempted to install
>> vncserver + X11. These installs all seemed to work fine, I did
>> notice that a new fedora kernel was installed. Well, at some point I
>> decided to vzctl restart <vpsid> and it seemed the image started, but
>> I could not access it via ssh or vzctl enter. When hardware 0
>> reboots it shows OpenVZ starts, but that VPS 101 fails to start.
>>
>> So any idea how I might set up X11 under a VPS? Also, along the same
>> note, is there a good reference on how to build my own template?
>>
>> Thanks!
>>
--
Kir Kolyshkin <kir@sw.ru> ICQ 7551596

[Updated on: Mon, 21 November 2005 08:08]

Report message to a moderator

Re: X11 and vncserver under VPS [message #407 is a reply to message #396] Mon, 21 November 2005 23:40 Go to previous messageGo to next message
che2cbs is currently offline  che2cbs
Messages: 5
Registered: November 2005
Location: Virgina
Junior Member
Kir,

Thanks for all of your help and valuable information. As a learning exercise
I too am trying to build my own fedora-core-4 templates using RedHat's
"server" install as a baseline I noticed the dummy package you mentioned
below, but I also noticed vzdev throws things off a bit as well. It
advertizes the 'dev' capability without a version. RedHa't own udev
specifies a version of 3.2-7 and some packages request that. I ended up
going through a painful exercise of iteratively removing packages from my
template's .list file and an exclude statement in my yum.conf to get around
the conflicts.

Would it be possible to get the spec files for both packages?

Thanks,

Chris

On 11/21/05, Kir Kolyshkin <kir@sw.ru> wrote:
>
> Eric,
>
> First, when submitting a bug report or a problem description please
> always try to be as specific as possible. In this case it would be
> helpful if you tell exactly the packages you have installed, the
> commands you use to do that etc.
>
> Second, the problem is xorg-x11 requires kernel-drm thus kernel is about
> to be installed but it conflicts with our 'dev' package. If you have
> used vzyum or yum it just bails out telling there is a conflict.
>
> Anyway, to solve the problem some trick is needed. The trick is to have
> a package installed which claims it provides kernel-drm = 4.3.0 so
> xorg-x11 dependencies will be satisfied. So I have an updated version of
> dummy package (which is created just for those tricks) that does just
> that; it is attached.
>
> What you need to do with it is:
> 1. Place it to /vz/template/fedora-core/4/i386/vz-addons/ directory.
> 2. cd to that directory and run createrepo as root (if you do not have
> createrepo installed you can take rpm from
> http://linux.duke.edu/projects/metadata/generate/)
> 3. Update template cache by running vzpkgcache (check that this very
> version of dummy package is put into cache), then create a new VPS and
> go on from there (vzyum VPSID install xorg-x11 vnc-server).
>
> Restoring your existing VPS would be a bit more complex...
>
> Eric L. Sammons wrote:
>
> >First, let me start by stating I am fairly new to OpenVZ. Now, last night
> I
> >tried to use the pre packaged template for Fedora-core-4-default, which
> worked
> >fine, then I attempted to install vncserver + X11. These installs all
> seemed
> >to work fine, I did notice that a new fedora kernel was installed. Well,
> at
> >some point I decided to vzctl restart <vpsid> and it seemed the image
> started,
> >but I could not access it via ssh or vzctl enter. When hardware 0 reboots
> it
> >shows OpenVZ starts, but that VPS 101 fails to start.
> >
> >So any idea how I might set up X11 under a VPS? Also, along the same
> note, is
> >there a good reference on how to build my own template?
> >
> >Thanks!
> >
> --
> Kir Kolyshkin <kir@sw.ru> ICQ 7551596
>
Re: X11 and vncserver under VPS [message #408 is a reply to message #407] Tue, 22 November 2005 08:59 Go to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

Chris Schultz wrote:

> Kir,
>
> Thanks for all of your help and valuable information. As a learning
> exercise I too am trying to build my own fedora-core-4 templates using
> RedHat's "server" install as a baseline I noticed the dummy package
> you mentioned below, but I also noticed vzdev throws things off a bit
> as well. It advertizes the 'dev' capability without a version.
> RedHa't own udev specifies a version of 3.2-7 and some packages
> request that. I ended up going through a painful exercise of
> iteratively removing packages from my template's .list file and an
> exclude statement in my yum.conf to get around the conflicts.

Can you tell me which packages requires specific version of dev so I can
fix it.

>
> Would it be possible to get the spec files for both packages?

Sources of all the three RPMS we supply in vz-addons are available from
template metadata source at
http://download.openvz.org/template/metadata/fedora-core-4/s rc/

>
> Thanks,
>
> Chris
>
> On 11/21/05, *Kir Kolyshkin* <kir@sw.ru <mailto:kir@sw.ru>> wrote:
>
> Eric,
>
> First, when submitting a bug report or a problem description please
> always try to be as specific as possible. In this case it would be
> helpful if you tell exactly the packages you have installed, the
> commands you use to do that etc.
>
> Second, the problem is xorg-x11 requires kernel-drm thus kernel is
> about
> to be installed but it conflicts with our 'dev' package. If you have
> used vzyum or yum it just bails out telling there is a conflict.
>
> Anyway, to solve the problem some trick is needed. The trick is to
> have
> a package installed which claims it provides kernel-drm = 4.3.0 so
> xorg-x11 dependencies will be satisfied. So I have an updated
> version of
> dummy package (which is created just for those tricks) that does just
> that; it is attached.
>
> What you need to do with it is:
> 1. Place it to /vz/template/fedora-core/4/i386/vz-addons/ directory.
> 2. cd to that directory and run createrepo as root (if you do not have
> createrepo installed you can take rpm from
> http://linux.duke.edu/projects/metadata/generate/)
> <http://linux.duke.edu/projects/metadata/generate/%29>
> 3. Update template cache by running vzpkgcache (check that this very
> version of dummy package is put into cache), then create a new VPS
> and
> go on from there (vzyum VPSID install xorg-x11 vnc-server).
>
> Restoring your existing VPS would be a bit more complex...
>
> Eric L. Sammons wrote:
>
> >First, let me start by stating I am fairly new to OpenVZ. Now,
> last night I
> >tried to use the pre packaged template for Fedora-core-4-default,
> which worked
> >fine, then I attempted to install vncserver + X11. These
> installs all seemed
> >to work fine, I did notice that a new fedora kernel was
> installed. Well, at
> >some point I decided to vzctl restart <vpsid> and it seemed the
> image started,
> >but I could not access it via ssh or vzctl enter. When hardware
> 0 reboots it
> >shows OpenVZ starts, but that VPS 101 fails to start.
> >
> >So any idea how I might set up X11 under a VPS? Also, along the
> same note, is
> >there a good reference on how to build my own template?
> >
> >Thanks!
> >
> >_______________________________________________
> >Users mailing list
> >Users@openvz.org <mailto:Users@openvz.org>
> >https://openvz.org/mailman/listinfo/users
> >
> >
> >
>
> --
> Kir Kolyshkin <kir@sw.ru <mailto:kir@sw.ru>> ICQ 7551596
>
> _______________________________________________
> Users mailing list
> Users@openvz.org <mailto:Users@openvz.org>
> https://openvz.org/mailman/listinfo/users
>
>
> ------------------------------------------------------------ ------------
>
--
Kir Kolyshkin <kir@sw.ru> ICQ 7551596
Previous Topic: OpenVZ + VPS +dhclient
Next Topic: VServer vs OpenVZ
Goto Forum:
  


Current Time: Wed Oct 02 06:46:19 GMT 2024

Total time taken to generate the page: 0.06724 seconds