True headless possible ?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

True headless possible ?

marten
And another question. Will Squeak/Pharo run under a true headless Linux
system without any X or stuff like this ???

Marten
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: True headless possible ?

Sven Van Caekenberghe-2

On 05 Apr 2013, at 20:32, Marten Feldtmann <[hidden email]> wrote:

> And another question. Will Squeak/Pharo run under a true headless Linux system without any X or stuff like this ???

For Pharo: yes indeed it does.

Pharo includes very nice command line tools/features, stdin, stdout, stderr and logging support, terminal color support, etc...

Sven

--
Sven Van Caekenberghe
Proudly supporting Pharo
http://pharo.org
http://association.pharo.org
http://consortium.pharo.org




_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: True headless possible ?

EstebanLM
Hi,

but AFAIK, it still needs the libraries to be present (even it it will not use them).

Esteban

On Apr 5, 2013, at 8:41 PM, Sven Van Caekenberghe <[hidden email]> wrote:

>
> On 05 Apr 2013, at 20:32, Marten Feldtmann <[hidden email]> wrote:
>
>> And another question. Will Squeak/Pharo run under a true headless Linux system without any X or stuff like this ???
>
> For Pharo: yes indeed it does.
>
> Pharo includes very nice command line tools/features, stdin, stdout, stderr and logging support, terminal color support, etc...
>
> Sven
>
> --
> Sven Van Caekenberghe
> Proudly supporting Pharo
> http://pharo.org
> http://association.pharo.org
> http://consortium.pharo.org
>
>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: True headless possible ?

marten
Which libraries are actually needed ???


Marten

On 05.04.2013 20:42, Esteban Lorenzano wrote:
> Hi,
>
> but AFAIK, it still needs the libraries to be present (even it it will not use them).
>
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: True headless possible ?

Sven Van Caekenberghe-2
In reply to this post by EstebanLM

On 05 Apr 2013, at 20:42, Esteban Lorenzano <[hidden email]> wrote:

> Hi,
>
> but AFAIK, it still needs the libraries to be present (even it it will not use them).

No it does not:

ubuntu@ip-10-226-6-28:~/smalltalk$ ldd vm/pharo
        linux-gate.so.1 =>  (0xb7760000)
        libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6 (0xb772a000)
        libdl.so.2 => /lib/i386-linux-gnu/tls/i686/nosegneg/libdl.so.2 (0xb7725000)
        libpthread.so.0 => /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb770a000)
        libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb755f000)
        /lib/ld-linux.so.2 (0xb7761000)
ubuntu@ip-10-226-6-28:~/smalltalk$ ldd vm/vm-display-null
        linux-gate.so.1 =>  (0xb7731000)
        libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6 (0xb76f7000)
        libdl.so.2 => /lib/i386-linux-gnu/tls/i686/nosegneg/libdl.so.2 (0xb76f2000)
        libpthread.so.0 => /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb76d7000)
        libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb752c000)
        /lib/ld-linux.so.2 (0xb7732000)
ubuntu@ip-10-226-6-28:~/smalltalk$ ldd vm/vm-sound-null
        linux-gate.so.1 =>  (0xb77b6000)
        libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6 (0xb777d000)
        libdl.so.2 => /lib/i386-linux-gnu/tls/i686/nosegneg/libdl.so.2 (0xb7778000)
        libpthread.so.0 => /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb775d000)
        libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb75b2000)
        /lib/ld-linux.so.2 (0xb77b7000)

No X11 libs to be seen….

> Esteban
>
> On Apr 5, 2013, at 8:41 PM, Sven Van Caekenberghe <[hidden email]> wrote:
>
>>
>> On 05 Apr 2013, at 20:32, Marten Feldtmann <[hidden email]> wrote:
>>
>>> And another question. Will Squeak/Pharo run under a true headless Linux system without any X or stuff like this ???
>>
>> For Pharo: yes indeed it does.
>>
>> Pharo includes very nice command line tools/features, stdin, stdout, stderr and logging support, terminal color support, etc...
>>
>> Sven
>>
>> --
>> Sven Van Caekenberghe
>> Proudly supporting Pharo
>> http://pharo.org
>> http://association.pharo.org
>> http://consortium.pharo.org
>>
>>
>>
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: True headless possible ?

EstebanLM
ok then. Much better :)

On Apr 5, 2013, at 8:49 PM, Sven Van Caekenberghe <[hidden email]> wrote:

>
> On 05 Apr 2013, at 20:42, Esteban Lorenzano <[hidden email]> wrote:
>
>> Hi,
>>
>> but AFAIK, it still needs the libraries to be present (even it it will not use them).
>
> No it does not:
>
> ubuntu@ip-10-226-6-28:~/smalltalk$ ldd vm/pharo
> linux-gate.so.1 =>  (0xb7760000)
> libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6 (0xb772a000)
> libdl.so.2 => /lib/i386-linux-gnu/tls/i686/nosegneg/libdl.so.2 (0xb7725000)
> libpthread.so.0 => /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb770a000)
> libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb755f000)
> /lib/ld-linux.so.2 (0xb7761000)
> ubuntu@ip-10-226-6-28:~/smalltalk$ ldd vm/vm-display-null
> linux-gate.so.1 =>  (0xb7731000)
> libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6 (0xb76f7000)
> libdl.so.2 => /lib/i386-linux-gnu/tls/i686/nosegneg/libdl.so.2 (0xb76f2000)
> libpthread.so.0 => /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb76d7000)
> libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb752c000)
> /lib/ld-linux.so.2 (0xb7732000)
> ubuntu@ip-10-226-6-28:~/smalltalk$ ldd vm/vm-sound-null
> linux-gate.so.1 =>  (0xb77b6000)
> libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6 (0xb777d000)
> libdl.so.2 => /lib/i386-linux-gnu/tls/i686/nosegneg/libdl.so.2 (0xb7778000)
> libpthread.so.0 => /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb775d000)
> libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb75b2000)
> /lib/ld-linux.so.2 (0xb77b7000)
>
> No X11 libs to be seen….
>
>> Esteban
>>
>> On Apr 5, 2013, at 8:41 PM, Sven Van Caekenberghe <[hidden email]> wrote:
>>
>>>
>>> On 05 Apr 2013, at 20:32, Marten Feldtmann <[hidden email]> wrote:
>>>
>>>> And another question. Will Squeak/Pharo run under a true headless Linux system without any X or stuff like this ???
>>>
>>> For Pharo: yes indeed it does.
>>>
>>> Pharo includes very nice command line tools/features, stdin, stdout, stderr and logging support, terminal color support, etc...
>>>
>>> Sven
>>>
>>> --
>>> Sven Van Caekenberghe
>>> Proudly supporting Pharo
>>> http://pharo.org
>>> http://association.pharo.org
>>> http://consortium.pharo.org
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> seaside mailing list
>>> [hidden email]
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: True headless possible ?

Mariano Martinez Peck
In reply to this post by Sven Van Caekenberghe-2



On Fri, Apr 5, 2013 at 3:49 PM, Sven Van Caekenberghe <[hidden email]> wrote:

On 05 Apr 2013, at 20:42, Esteban Lorenzano <[hidden email]> wrote:

> Hi,
>
> but AFAIK, it still needs the libraries to be present (even it it will not use them).

No it does not:

I think that depends on which VM (windows VM, linux VM and OSX VM) you are using and how each of them implement the headless support.  

 

ubuntu@ip-10-226-6-28:~/smalltalk$ ldd vm/pharo
        linux-gate.so.1 =>  (0xb7760000)
        libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6 (0xb772a000)
        libdl.so.2 => /lib/i386-linux-gnu/tls/i686/nosegneg/libdl.so.2 (0xb7725000)
        libpthread.so.0 => /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb770a000)
        libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb755f000)
        /lib/ld-linux.so.2 (0xb7761000)
ubuntu@ip-10-226-6-28:~/smalltalk$ ldd vm/vm-display-null
        linux-gate.so.1 =>  (0xb7731000)
        libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6 (0xb76f7000)
        libdl.so.2 => /lib/i386-linux-gnu/tls/i686/nosegneg/libdl.so.2 (0xb76f2000)
        libpthread.so.0 => /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb76d7000)
        libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb752c000)
        /lib/ld-linux.so.2 (0xb7732000)
ubuntu@ip-10-226-6-28:~/smalltalk$ ldd vm/vm-sound-null
        linux-gate.so.1 =>  (0xb77b6000)
        libm.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libm.so.6 (0xb777d000)
        libdl.so.2 => /lib/i386-linux-gnu/tls/i686/nosegneg/libdl.so.2 (0xb7778000)
        libpthread.so.0 => /lib/i386-linux-gnu/tls/i686/nosegneg/libpthread.so.0 (0xb775d000)
        libc.so.6 => /lib/i386-linux-gnu/tls/i686/nosegneg/libc.so.6 (0xb75b2000)
        /lib/ld-linux.so.2 (0xb77b7000)

No X11 libs to be seen….

> Esteban
>
> On Apr 5, 2013, at 8:41 PM, Sven Van Caekenberghe <[hidden email]> wrote:
>
>>
>> On 05 Apr 2013, at 20:32, Marten Feldtmann <[hidden email]> wrote:
>>
>>> And another question. Will Squeak/Pharo run under a true headless Linux system without any X or stuff like this ???
>>
>> For Pharo: yes indeed it does.
>>
>> Pharo includes very nice command line tools/features, stdin, stdout, stderr and logging support, terminal color support, etc...
>>
>> Sven
>>
>> --
>> Sven Van Caekenberghe
>> Proudly supporting Pharo
>> http://pharo.org
>> http://association.pharo.org
>> http://consortium.pharo.org
>>
>>
>>
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



--
Mariano
http://marianopeck.wordpress.com

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: True headless possible ?

Pierce Ng-2
In reply to this post by marten
On Fri, Apr 05, 2013 at 08:32:42PM +0200, Marten Feldtmann wrote:
> And another question. Will Squeak/Pharo run under a true headless Linux
> system without any X or stuff like this ???

Yes, using VNC into the image. Pharo 1.4 on Debian 6, no X.

See http://samadhiweb.com/blog/2012.11.04.headless.rfb.html

(That's my infrequently posted blog.)

Pierce

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: True headless possible ?

Igor Stasenko
On 6 April 2013 03:41, Pierce Ng <[hidden email]> wrote:

> On Fri, Apr 05, 2013 at 08:32:42PM +0200, Marten Feldtmann wrote:
>> And another question. Will Squeak/Pharo run under a true headless Linux
>> system without any X or stuff like this ???
>
> Yes, using VNC into the image. Pharo 1.4 on Debian 6, no X.
>
> See http://samadhiweb.com/blog/2012.11.04.headless.rfb.html
>
> (That's my infrequently posted blog.)
>

Please suggest the change to Pharo mailing list.
I think best would be to create a configuration to RFB and add your patch
into "pharo-compat" package. So, then when you load RFB, you will get
what you want.
Or otherwise, change the ui manager selection mechanism, to let tools like RFB
 influence the selection.

In any case, i'd like to point that i'm not happy with status quo, and
sure thing when i introduced
NonInteractiveUIManager, i had no intent of leaving RFB behind the gates.


> Pierce
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



--
Best regards,
Igor Stasenko.
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: True headless possible ?

Tomas Kukol
You don't need to use RFB or VNC. It is much better to use tool xpra (http://en.wikipedia.org/wiki/Xpra). It allows you to run PharoVM in the background on the server and in case of problems, connect to it via xpra over ssh from your client computer. Try to look at it.
Regards,
Tomas Kukol


On Sat, Apr 6, 2013 at 4:29 AM, Igor Stasenko <[hidden email]> wrote:
On 6 April 2013 03:41, Pierce Ng <[hidden email]> wrote:
> On Fri, Apr 05, 2013 at 08:32:42PM +0200, Marten Feldtmann wrote:
>> And another question. Will Squeak/Pharo run under a true headless Linux
>> system without any X or stuff like this ???
>
> Yes, using VNC into the image. Pharo 1.4 on Debian 6, no X.
>
> See http://samadhiweb.com/blog/2012.11.04.headless.rfb.html
>
> (That's my infrequently posted blog.)
>

Please suggest the change to Pharo mailing list.
I think best would be to create a configuration to RFB and add your patch
into "pharo-compat" package. So, then when you load RFB, you will get
what you want.
Or otherwise, change the ui manager selection mechanism, to let tools like RFB
 influence the selection.

In any case, i'd like to point that i'm not happy with status quo, and
sure thing when i introduced
NonInteractiveUIManager, i had no intent of leaving RFB behind the gates.


> Pierce
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



--
Best regards,
Igor Stasenko.
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside


_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: True headless possible ?

jtuchel
Hi Tomas,


xpra looks very interesting. But looking at xpra.org, i have the impression this requires X libs on the server, right?

The OP was asking about a server with no X libs available. I am looking at the same scenario. So could you tell us if xpra needs X on the server?


thx

Joachim