Re: [OpenIndiana-discuss] Installing TrueType Fonts

2012-08-08 Thread Apostolos Syropoulos
 
 1.       Copy the ttf files to /usr/share/fonts
 

Better create a folder inside /usr/share/fonts and store them there.

 2.       pkg install font-utilities (if not already installed)
 
 3.       Run mkfontdir /usr/share/fonts
 
 4.       Run mkfontscale /usr/share/fonts
 

Well I think these commands are not necessary anymore as they were
some sort of support files in order for X to be able to use them.
For example there are no files fonts.dir and fonts.scale in my
/usr/share/fonts/OpenType yet the fonts are usable. (OK some
old applications like XMMS cannot use these fonts unless these
file will not be there and I am not so sure whether this will
make them usable.)


 5.       Run fc-cache /usr/share/fonts
 


A.S.


 
--
Apostolos Syropoulos
Xanthi, Greece


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Calibre doc converter to ebooks formats for OpenIndiana??

2012-08-08 Thread Hans J. Albertsson

Is there a version of the Calibre ebook/epub doc converter for OpenIndiana?
Or any other SW that can convert a PDF book to epub?

Epub (or other ebook formats) are much more readable on smartphones than 
standard PDFs ususally are, due to the text reflow capability.


So I'd like to be able to convert even large pdf docs to some ebook 
format, so I can take large manuals along on trips.



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Calibre doc converter to ebooks formats for OpenIndiana??

2012-08-08 Thread Paolo Marcheschi

Hi

Instead try the online service:

http://ebook.online-convert.com/convert-to-epub

Ciao
Paolo
On 08/ 8/12 11:03 AM, Hans J. Albertsson wrote:

Is there a version of the Calibre ebook/epub doc converter for OpenIndiana?
Or any other SW that can convert a PDF book to epub?

Epub (or other ebook formats) are much more readable on smartphones than 
standard PDFs ususally are, due to the text reflow capability.

So I'd like to be able to convert even large pdf docs to some ebook format, so 
I can take large manuals along on trips.


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss





___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Should ZFS clones inherit(clone) current settable attributes of origin datasets, or of their new hierarchical parents

2012-08-08 Thread Jim Klimov

Hello all,

  In the past days I've been doing some migration and reorganization
of datasets (VM images, local zones and stuff), and in the process I
used both dataset cloning and zfs-send|zfs-recv within the pool.
This is on the old SXCE snv_117, so things might have got better in OI.

  As one of the goals of the data reorganization was to enforce some
different compression (i.e. gzip-9 for data which was not touched for
a long time, or for the golden-images of VMs/zones), I tracked the
dataset attribute changes whenever a new dataset was spawned.

  It seems that changeable attributes such as compression are inherited
from the new parent dataset during cloning, however they are enforced
from the original dataset's values when I do a replication send (with
zfs send -R). That is, if I had a gzip-9 compressed golden VM cloned
into a pool hierarchy branch with different compression (off or lzjb),
the new cloned dataset by default inherits this different compression
setting; if I want it to remain gzip-9 - I have to do that explicitly.

  Is this by design? Does a snapshot which is the origin know of any
such settings, so it can provide them to children in the first place -
it seems to be so during replication-sends (though zfs send might
query the live dataset instead)?
  Is it so in the current ZFS versions as well?

  One of the reasons I ask is because of my RFE to support hierarchical
root filesystems in OI ( https://www.illumos.org/issues/829 ), which
for the most part works out of the box (with some manual procedures)
and allows to compress most of the FS with the bootloader not liking
compressed roots; however cloned BEs' datasets become uncompressed
by ZFS inheritance and thus the added value of the hierarchy is soon
negligible (as BE clones often occur during updates, and the new
software image is written to disk without compression).

  I wonder if it is possible to augment zfs clone with an option
to replicate origin's changeable attributes (all and/or a list of
ones we want), and use this feature in beadm?

Thanks,
//Jim Klimov


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] SSD swap space performance

2012-08-08 Thread Reginald Beardsley
Has anyone done any testing on the performance of an SSD for swap vs disk?  I'm 
currently fully populated at 12 GB in my Z400.

Thanks,
Reg

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] SSD swap space performance

2012-08-08 Thread Udo Grabowski (IMK)

On 08/08/2012 16:47, Reginald Beardsley wrote:

Has anyone done any testing on the performance of an SSD for swap vs disk?  I'm 
currently fully populated at 12 GB in my Z400.


That should work, but if you really need a fast SSD for
regularily swapping, you may should start thinking about
more memory...
--
Dr.Udo GrabowskiInst.f.Meteorology a.Climate Research IMK-ASF-SAT
www-imk.fzk.de/asf/sat/grabowski/ www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technologyhttp://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany  T:(+49)721 608-26026 F:-926026

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Installing TrueType Fonts

2012-08-08 Thread Alan Coopersmith
On 08/ 7/12 11:49 PM, Apostolos Syropoulos wrote:
 3.   Run mkfontdir /usr/share/fonts
 4.   Run mkfontscale /usr/share/fonts
  
 
 Well I think these commands are not necessary anymore as they were
 some sort of support files in order for X to be able to use them.

They are needed for the old X font system, the one in which you specify
fonts with names like -microsoft-comic sans-bold-r-normal--0-0-0-0-p-0-iso8859-1
but are not needed for the modern font system (fontconfig  freetype) used by
most GNOME apps, in which fonts have more human readable names such as
Comic Sans MS:style=Regular.   Only the new system has antialiased fonts,
so if you're seeing antialiased text you know which is in use.

For deeper levels of detail, see:
http://www.x.org/releases/X11R7.7/doc/xorg-docs/fonts/fonts.html

-- 
-Alan Coopersmith-  alan.coopersm...@oracle.com
 Oracle Solaris Engineering - http://blogs.oracle.com/alanc

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] SSD swap space performance

2012-08-08 Thread Jan Owoc
On Wed, Aug 8, 2012 at 8:49 AM, Udo Grabowski (IMK)
udo.grabow...@kit.edu wrote:
 On 08/08/2012 16:47, Reginald Beardsley wrote:

 Has anyone done any testing on the performance of an SSD for swap vs disk?
 I'm currently fully populated at 12 GB in my Z400.

 That should work, but if you really need a fast SSD for
 regularily swapping, you may should start thinking about
 more memory...

I haven't done testing on OpenIndiana, but in my experience swap on an
SSD is an order of magnitude faster than swap on HDD. Note that, as
Udo pointed out, this is still an order of magnitude (or two) slower
than additional RAM.

If your workload is such that you have large chunks of memory that can
be swapped out for extended periods of time, then an SSD will do this
several times faster. However, if you have a program that is actively
using more than the 12GB of RAM you have, you will kill your SSD (SSDs
have a limited number of write cycles - each time you'd run the
program, loads of data would hit the SSD) and won't get anywhere near
the performance of actually having adequate memory.

Jan

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] SSD swap space performance

2012-08-08 Thread Reginald Beardsley
Order of magnitude I already knew.  I was hoping for measured data.  I'm 
running Solaris 10 on this particular system.  The OI box is a nettop for 
Internet access.

I'm concerned w/ occasionally running jobs which exceed physical memory.  At 
most I can only go up to 24 GB by replacing all the 2 GB DIMMS w/ 4 GB DIMMS. 

However, I'd not considered the problem of pathological paging patterns.  On a 
long job one might well wear out an SSD in a single run which would not be 
helpful.  I don't think I want to try to figure out what the paging patterns of 
a large solver like glpk are.  Particularly because it almost certainly problem 
and option dependent.

A dedicated pair of small, fast disks for swap is probably the best option. To 
the best of my knowledge Solaris will still interleave paging among multiple 
swap partitions on separate drives. This was something I routinely did on my 
systems for many years.

IIRC two matched drives were almost twice as fast as one. It was essential that 
the drives have identical performance, otherwise it actually slowed the system 
down.  I vaguely recall that more than two didn't improve performance, but it 
was a long time ago.  I may not have had 4 identical drives.

Have Fun!
Reg

--- On Wed, 8/8/12, Jan Owoc jso...@gmail.com wrote:

 From: Jan Owoc jso...@gmail.com
 Subject: Re: [OpenIndiana-discuss] SSD swap space performance
 To: Discussion list for OpenIndiana openindiana-discuss@openindiana.org
 Date: Wednesday, August 8, 2012, 10:39 AM
 On Wed, Aug 8, 2012 at 8:49 AM, Udo
 Grabowski (IMK)
 udo.grabow...@kit.edu
 wrote:
  On 08/08/2012 16:47, Reginald Beardsley wrote:
 
  Has anyone done any testing on the performance of
 an SSD for swap vs disk?
  I'm currently fully populated at 12 GB in my Z400.
 
  That should work, but if you really need a fast SSD
 for
  regularily swapping, you may should start thinking
 about
  more memory...
 
 I haven't done testing on OpenIndiana, but in my experience
 swap on an
 SSD is an order of magnitude faster than swap on HDD. Note
 that, as
 Udo pointed out, this is still an order of magnitude (or
 two) slower
 than additional RAM.
 
 If your workload is such that you have large chunks of
 memory that can
 be swapped out for extended periods of time, then an SSD
 will do this
 several times faster. However, if you have a program that is
 actively
 using more than the 12GB of RAM you have, you will kill your
 SSD (SSDs
 have a limited number of write cycles - each time you'd run
 the
 program, loads of data would hit the SSD) and won't get
 anywhere near
 the performance of actually having adequate memory.
 
 Jan
 
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss
 

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] SSD swap space performance

2012-08-08 Thread Jason Matthews

many ssds carry 3-year warranties and report useable life via smart. if you are 
concerned about wearing them then buy a spare or two and rma them as they 
approach burn out. 

that is what i do :)

Sent from Jasons' hand held

On Aug 8, 2012, at 9:24 AM, Reginald Beardsley pulask...@yahoo.com wrote:

 Order of magnitude I already knew.  I was hoping for measured data.  I'm 
 running Solaris 10 on this particular system.  The OI box is a nettop for 
 Internet access.
 
 I'm concerned w/ occasionally running jobs which exceed physical memory.  At 
 most I can only go up to 24 GB by replacing all the 2 GB DIMMS w/ 4 GB DIMMS. 
 
 However, I'd not considered the problem of pathological paging patterns.  On 
 a long job one might well wear out an SSD in a single run which would not be 
 helpful.  I don't think I want to try to figure out what the paging patterns 
 of a large solver like glpk are.  Particularly because it almost certainly 
 problem and option dependent.
 
 A dedicated pair of small, fast disks for swap is probably the best option. 
 To the best of my knowledge Solaris will still interleave paging among 
 multiple swap partitions on separate drives. This was something I routinely 
 did on my systems for many years.
 
 IIRC two matched drives were almost twice as fast as one. It was essential 
 that the drives have identical performance, otherwise it actually slowed the 
 system down.  I vaguely recall that more than two didn't improve performance, 
 but it was a long time ago.  I may not have had 4 identical drives.
 
 Have Fun!
 Reg
 
 --- On Wed, 8/8/12, Jan Owoc jso...@gmail.com wrote:
 
 From: Jan Owoc jso...@gmail.com
 Subject: Re: [OpenIndiana-discuss] SSD swap space performance
 To: Discussion list for OpenIndiana openindiana-discuss@openindiana.org
 Date: Wednesday, August 8, 2012, 10:39 AM
 On Wed, Aug 8, 2012 at 8:49 AM, Udo
 Grabowski (IMK)
 udo.grabow...@kit.edu
 wrote:
 On 08/08/2012 16:47, Reginald Beardsley wrote:
 
 Has anyone done any testing on the performance of
 an SSD for swap vs disk?
 I'm currently fully populated at 12 GB in my Z400.
 
 That should work, but if you really need a fast SSD
 for
 regularily swapping, you may should start thinking
 about
 more memory...
 
 I haven't done testing on OpenIndiana, but in my experience
 swap on an
 SSD is an order of magnitude faster than swap on HDD. Note
 that, as
 Udo pointed out, this is still an order of magnitude (or
 two) slower
 than additional RAM.
 
 If your workload is such that you have large chunks of
 memory that can
 be swapped out for extended periods of time, then an SSD
 will do this
 several times faster. However, if you have a program that is
 actively
 using more than the 12GB of RAM you have, you will kill your
 SSD (SSDs
 have a limited number of write cycles - each time you'd run
 the
 program, loads of data would hit the SSD) and won't get
 anywhere near
 the performance of actually having adequate memory.
 
 Jan
 
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss
 
 
 ___
 OpenIndiana-discuss mailing list
 OpenIndiana-discuss@openindiana.org
 http://openindiana.org/mailman/listinfo/openindiana-discuss

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Calibre doc converter to ebooks formats for OpenIndiana??

2012-08-08 Thread Ray Arachelian
On 08/08/2012 05:03 AM, Hans J. Albertsson wrote:
 Is there a version of the Calibre ebook/epub doc converter for
 OpenIndiana?
 Or any other SW that can convert a PDF book to epub?

 Epub (or other ebook formats) are much more readable on smartphones
 than standard PDFs ususally are, due to the text reflow capability.

 So I'd like to be able to convert even large pdf docs to some ebook
 format, so I can take large manuals along on trips.


Sadly I don't think it's been built on OI.  There are Linux, OS X and
windows version - I guess you could install Ubuntu inside KVM and try it
there?
It's an amazing program.

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Calibre doc converter to ebooks formats for OpenIndiana??

2012-08-08 Thread Francois Dion
On Wed, Aug 8, 2012 at 1:17 PM, Ray Arachelian r...@arachelian.com wrote:
 On 08/08/2012 05:03 AM, Hans J. Albertsson wrote:
 Is there a version of the Calibre ebook/epub doc converter for
 OpenIndiana?
 Or any other SW that can convert a PDF book to epub?

 Epub (or other ebook formats) are much more readable on smartphones
 than standard PDFs ususally are, due to the text reflow capability.

 So I'd like to be able to convert even large pdf docs to some ebook
 format, so I can take large manuals along on trips.


 Sadly I don't think it's been built on OI.  There are Linux, OS X and
 windows version - I guess you could install Ubuntu inside KVM and try it
 there?
 It's an amazing program.

Just looked at it, it requires PyQT4 and that means QT4... Is there a
prebuilt QT4?

Francois

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Calibre doc converter to ebooks formats for OpenIndiana??

2012-08-08 Thread Milan Jurik

Hi,

On 08.08.2012 22:29, Francois Dion wrote:
On Wed, Aug 8, 2012 at 1:17 PM, Ray Arachelian r...@arachelian.com 
wrote:

On 08/08/2012 05:03 AM, Hans J. Albertsson wrote:

Is there a version of the Calibre ebook/epub doc converter for
OpenIndiana?
Or any other SW that can convert a PDF book to epub?

Epub (or other ebook formats) are much more readable on smartphones
than standard PDFs ususally are, due to the text reflow capability.

So I'd like to be able to convert even large pdf docs to some ebook
format, so I can take large manuals along on trips.



Sadly I don't think it's been built on OI.  There are Linux, OS X 
and
windows version - I guess you could install Ubuntu inside KVM and 
try it

there?
It's an amazing program.


Just looked at it, it requires PyQT4 and that means QT4... Is there a
prebuilt QT4?



yes, there are gcc and Sun Studio stdcxx based in OpenIndiana SFE repo. 
I tried to built Calibre few times many months back but it has more 
dependencies you need to solve and I had not enough energy to finish it.


I recommend to go with GCC builds of libraries in this case if somebody 
wants to do that.



Francois




Best regards,

Milan

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Using a SAN on OpenIndiana

2012-08-08 Thread John McQuay
Hi All

 

I'm using OI 151_a5 and have a query relating to SANs.  There's a website
called smallnetbuilder  that I've stumbled across giving advice on many
things, one of the articles is how to build a SAN.  I've thought about
building a smaller version of this for kicks more than anything but was
wondering if anyone has mounted a fibre-channel SAN into OI, and if so, how
easy is it?

 

Many thanks and best regards, John.

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Code Bounty (Active Directory Integration)

2012-08-08 Thread James Relph
As may have become obvious from my last few posts we've been looking at Active 
Directory integration for the past few weeks (and pretty hard for the past 
week).  Obviously the CIFS server integration with AD seems pretty reasonable 
straight out of the box, but other services that want to use AD user details 
(et. netatalk in our case - NetAFP have been very helpful in looking into this 
with us) seem to have pretty poor integration unless you go towards LDAP 
integration with AD (that means either modifying the AD schema or something 
like IDMU - which means touching the AD again).

We have a pretty big interest in getting something working that doesn't involve 
touching the AD too much, as that can immediately put off the Windows admins we 
tend to deal with.  Ideally something with a similar featureset to the Mac OS X 
AD plugin would be ideal (obviously that's a system we know well!).  The OS X 
plugin doesn't require any changes to the AD schema for general operation and 
can immediately be used by other services/applications on the local system 
without any further work.

If anyone is interested in looking into improving the AD integration in 
OpenIndiana, if you drop me an email we can discuss a project bounty on this.  
We've got a potentially reasonably large budget for funding work on this as we 
can see some business opportunities that this would make significantly easier.

Thanks,

James.

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Using a SAN on OpenIndiana

2012-08-08 Thread gseoane
( I need more than one english class per week, be patient )

Which kind of hardware and HBA you will use?

I never configure SAN on OI but with Solaris itks really easy but the main 
problem are HBA models ( for me ) 
Enviado desde mi BlackBerry de Movistar (http://www.movistar.com.ar)

-Original Message-
From: John McQuay j...@johnmcquay.co.uk
Date: Wed, 8 Aug 2012 23:54:46 
To: openindiana-discuss@openindiana.org
Reply-To: Discussion list for OpenIndiana openindiana-discuss@openindiana.org
Subject: [OpenIndiana-discuss] Using a SAN on OpenIndiana

Hi All

 

I'm using OI 151_a5 and have a query relating to SANs.  There's a website
called smallnetbuilder  that I've stumbled across giving advice on many
things, one of the articles is how to build a SAN.  I've thought about
building a smaller version of this for kicks more than anything but was
wondering if anyone has mounted a fibre-channel SAN into OI, and if so, how
easy is it?

 

Many thanks and best regards, John.

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Synchronizing Sun DHCP servers

2012-08-08 Thread Jim Klimov

Hello all,

  I wondered if the Sun DHCP server, also provided in OI, supports
synchronization of instances - i.e. two boxes providing addresses
for the same range, should support interchange of leased address
lists, defined macros (dhcptab) and so on.

  Perhaps a shared LDAP backend can be implemented?

  From what I currently see, there is multi-instance support, but
it seems based on shared FS (i.e. NFS) to store the DHCP tables...
are there any other options currently available, or reasonably easy
to implement?

  Secondly, does Sun DHCP support active probing (arp/ping) whether
the IP address it is going to lease is actually available and not
used by some squatter (or a client of another DHCP server), and
logging the result?

Thanks,
//Jim Klimov

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Calibre doc converter to ebooks formats for OpenIndiana??

2012-08-08 Thread Francois Dion
On Wed, Aug 8, 2012 at 6:05 PM, Milan Jurik milan.ju...@xylab.cz wrote:
 On 08.08.2012 22:29, Francois Dion wrote:

 Just looked at it, it requires PyQT4 and that means QT4... Is there a
 prebuilt QT4?


 yes, there are gcc and Sun Studio stdcxx based in OpenIndiana SFE repo. I
 tried to built Calibre few times many months back but it has more
 dependencies you need to solve and I had not enough energy to finish it.

The python modules are easy. Most are only an easy_install  away.
Except lxml which requires pycrypto, and there you have to modify
_fastmath.h to find the gmp.h and then it'll go.

PyQT requires sip (from the same website as pyqt) but that also was
easy. Got pyqt working.

Not too bad, until I realized that Python 2.7.x is _really_ needed. I
thought it was just one or two tweaks, but he's using heavily
dictionary comprehension and other stuff. I'm not even going to try
until 2.7 is part of the OS.



BTW in the process I noticed that MagickWand.pc is named Wand.pc on
OI... ln -s Wand.pc MagickWand.pc takes care of that, in case anybody
else comes upon that particular problem

Francois

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


[OpenIndiana-discuss] Running VirtualBox

2012-08-08 Thread Edward Ned Harvey
I installed openindiana server (headless).  I want to run VirtualBox.  (At
least, I think I want to run VirtualBox, to host windows  linux guests, but
I'm open to suggestions.)
 
How does one run VirtualBox remotely?  I tried remoting in with X
forwarding, and then launching VirtualBox.  It starts out well, but when I
try to create my first VM, it complains, permission denied trying to access
USB subsystem.  So I guess it needs to run as root ... But I can't login as
root over ssh, and I can't sudo VirtualBox because X11 forwarding gets
denied.  (I tried every variation of xhost + and setting DISPLAY that I can
think of, but haven't gotten sudo X applications to run yet.)
 
What is everyone else doing?
 
Eventually, I'll want to make my guest VM's startup/shutdown automatically,
without needing a GUI client connected.  And it sure would be nice to be
able to connect/disconnect to the GUI console of the guests when I want
to...
 
Thanks for suggestions.
___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Running VirtualBox

2012-08-08 Thread Jim Klimov

2012-08-09 5:04, Edward Ned Harvey пишет:

I installed openindiana server (headless).  I want to run VirtualBox.  (At
least, I think I want to run VirtualBox, to host windows  linux guests, but
I'm open to suggestions.)

How does one run VirtualBox remotely?  I tried remoting in with X
forwarding, and then launching VirtualBox.  It starts out well, but when I
try to create my first VM, it complains, permission denied trying to access
USB subsystem.  So I guess it needs to run as root ... But I can't login as
root over ssh, and I can't sudo VirtualBox because X11 forwarding gets
denied.  (I tried every variation of xhost + and setting DISPLAY that I can
think of, but haven't gotten sudo X applications to run yet.)

What is everyone else doing?

Eventually, I'll want to make my guest VM's startup/shutdown automatically,
without needing a GUI client connected.  And it sure would be nice to be
able to connect/disconnect to the GUI console of the guests when I want
to...

Thanks for suggestions.


I use a VNC server bound to localhost, which you can forward via SSH
for actual X11 graphical connections to your workstation. To this
VNC session you xhost + permit your user/zone who executes VMs.
At least as of VirtualBox 3.x, it could run as an unprivileged user
(non-root), and in a local zone too, so USB should not be a problem.
If the VNC server is owned by root, rather insecurely for the paranoic
at least, you can use it to spawn root-owned shells and ultimately
VirtualBox GUI processes. Alternately look at su (without -)
to inherit your current user's envvars, including DISPLAY, or
try to wrap VirtualBox invokation along with shell-setting into
a script and sudo that. Paranoic stuff might not be required
really, if you only fire up this VNC server to configure a VBox...

For headless startup/shutdown of prepared VMs (as usual SMF service
instances), again, see the http://vboxsvc.sourceforge.net/ project,
feel free to ask questions or add RFEs if I still missed something
useful ;)
The method script can also be used as a CLI script to switch VMs
from SMF to GUI mode and back via savestate to disk.

For most of the time you can use RDP consoles to VMs instead, but
yes GUI can be useful. Alternately, there are some Web-GUIs to
VirtualBox which essentially recreate the X11 GUI equivalent in
HTML (for general administrative tasks without need for X11), and
often include an RDP client to conveniently connect to consoles.

HTH,
//Jim Klimov

___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Running VirtualBox

2012-08-08 Thread James C. McPherson

On  9/08/12 11:23 AM, Jim Klimov wrote:
...

For headless startup/shutdown of prepared VMs (as usual SMF service
instances), again, see the http://vboxsvc.sourceforge.net/ project,
feel free to ask questions or add RFEs if I still missed something
useful ;)
The method script can also be used as a CLI script to switch VMs
from SMF to GUI mode and back via savestate to disk.

For most of the time you can use RDP consoles to VMs instead, but
yes GUI can be useful. Alternately, there are some Web-GUIs to
VirtualBox which essentially recreate the X11 GUI equivalent in
HTML (for general administrative tasks without need for X11), and
often include an RDP client to conveniently connect to consoles.


If you're using bridged networking, then you can ssh in, or use
xdmcp (if you set it up). The vboxheadless service is handy to have
as well too. I've got it configured, but haven't needed to use it
in quite a while since my use-cases changed.


James C. McPherson
--
Solaris kernel software engineer, system admin and troubleshooter
  http://www.jmcpdotcom.com/blog
Find me on LinkedIn @ http://www.linkedin.com/in/jamescmcpherson


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Running VirtualBox

2012-08-08 Thread Carl Brewer

On 9/08/2012 11:57 AM, James C. McPherson wrote:

On  9/08/12 11:23 AM, Jim Klimov wrote:
...

For headless startup/shutdown of prepared VMs (as usual SMF service
instances), again, see the http://vboxsvc.sourceforge.net/ project,
feel free to ask questions or add RFEs if I still missed something
useful ;)
The method script can also be used as a CLI script to switch VMs
from SMF to GUI mode and back via savestate to disk.

For most of the time you can use RDP consoles to VMs instead, but
yes GUI can be useful. Alternately, there are some Web-GUIs to
VirtualBox which essentially recreate the X11 GUI equivalent in
HTML (for general administrative tasks without need for X11), and
often include an RDP client to conveniently connect to consoles.


If you're using bridged networking, then you can ssh in, or use
xdmcp (if you set it up). The vboxheadless service is handy to have
as well too. I've got it configured, but haven't needed to use it
in quite a while since my use-cases changed.


I've used x11vnc to attach remotely to running console sessions too, 
works well.


Carl


___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Running VirtualBox

2012-08-08 Thread Edward Ned Harvey
 From: Jim Klimov [mailto:j...@cos.ru]
 Sent: Wednesday, August 08, 2012 9:23 PM
 
 I use a VNC server bound to localhost, 

I tried pkg search vnc, and I saw a whole mess of vnc clients, but no server 
(at least no obvious server.)  What vnc server are you using? Where did you get 
it?



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss


Re: [OpenIndiana-discuss] Running VirtualBox

2012-08-08 Thread Edward Ned Harvey
It turns out, this is the best answer for the USB support:
https://www.virtualbox.org/manual/ch02.html#idp11489664

Add yourself to the vboxuser group (and logout and login) before launching
the guest VM.  That group has the requisite permissions.

It turns out, this is the best answer for the remote console:
https://www.virtualbox.org/manual/ch07.html

You can launch machines headless with VBoxHeadless.
You can make the guest physical console available over RDP.
By default, there's no username or password on VRDE, but you can enable it.
By default, external means authenticate using any username/pass from the
host OS.  But you can change the vrdeauthlibrary to VBoxAuthSimple, and then
you can specify any username/pass you want for the RDP connection.

If you have more than one guest, you can either have them listen on
different ports
VBoxManage modifyvm vmname --vrdeport 3389
Or listen on different IP addresses
VBoxManage modifyvm vmname --vrdeaddress hostip



___
OpenIndiana-discuss mailing list
OpenIndiana-discuss@openindiana.org
http://openindiana.org/mailman/listinfo/openindiana-discuss