Hi,
unfortunately I can't help. But I'd like to take the chance to maybe get an answer to a similar problem.
I got a virtual server running with a Suse 9.3 Linux. Usually there's no X11 installed (but I tried so some month ago, just to see whether this helps with my problem).
I never got Squeak running headless. I always get a segfault. I tried it with different vm, I think the current one is compiled from svn. Compiling the vm and all that works. Now today upon that mail I tried it again and it looked a bit more promising, but still I don't get it running. On my local Linux I got no such problems, even though this usually makes more trouble due to being a 64bit machine.
Now, if I use the default image, installed with inisqueak in some directory and try to start it with
squeak -vm display=none
I get the following output (I was already quite happy about that in an awkward way as usually I see much less :)
Segmentation fault
-2127939548 BalloonEngine>copyLoopFaster -2127939640 BalloonEngine>copyBits -2127939748 BalloonEngine>postFlushIfNeeded -2127950376 BalloonEngine>drawRectangle:fill:borderWidth:borderColor:transform: -2127950516 BalloonCanvas>drawRectangle:color:borderWidth:borderColor: -2127950620 BalloonCanvas>fillRectangle:fillStyle: -2127950712 FormCanvas>balloonFillRectangle:fillStyle: -2127950804 FormCanvas>fillRectangle:fillStyle: -2127950896 Canvas>fillRectangle:fillStyle:borderStyle: -2127953216 Morph>drawOn: -2127953356 Canvas>draw: -2127953496 Canvas>drawMorph: -2127954232 [] in Morph>fullDrawOn: -2127953772 >roundCornersOf:on:in:displayBlock:borderWidth:corners: -2127955628 FormCanvas>roundCornersOf:in:during: -2127956676 Canvas>roundCornersOf:during: -2127966424 Morph>fullDrawOn: -2127966576 Canvas>fullDraw: -2127966668 Canvas>fullDrawMorph: -2128162608 [] in WorldState>drawWorld:submorphs:invalidAreasOn: -2128163356 Rectangle>allAreasOutsideList:startingAt:do: -2128163700 Rectangle>allAreasOutsideList:do: -2128162860 [] in WorldState>drawWorld:submorphs:invalidAreasOn: -2128163792 SequenceableCollection>do: -2128163608 WorldState>drawWorld:submorphs:invalidAreasOn: -2128163884 [] in WorldState>displayWorld:submorphs: -2128163976 FormCanvas>roundCornersOf:in:during: -2128164068 Canvas>roundCornersOf:during: -2128164160 WorldState>displayWorld:submorphs: -2128164252 PasteUpMorph>privateOuterDisplayWorld -2128164344 PasteUpMorph>displayWorld -2128164804 [] in WorldState>displayWorldSafely: -2128164436 BlockContext>on:do: -2128164620 BlockContext>ifError: -2128164928 WorldState>displayWorldSafely: -2128165056 WorldState>doOneCycleNowFor: -2128165172 WorldState>doOneCycleFor: -2128165264 WorldState>doOneSubCycleFor: -2128165356 PasteUpMorph>doOneSubCycle -2128166624 MVCMenuMorph>invokeAt:in:allowKeyboard: -2128168720 [] in PopUpMenu>startUpWithCaption:icon:at:allowKeyboard: -2128168628 BlockContext>ensure: -2128168812 Cursor>showWhile: -2128168904 PopUpMenu>startUpWithCaption:icon:at:allowKeyboard: -2128168996 PopUpMenu>startUpWithCaption:icon:at: -2128169124 PopUpMenu>startUpWithCaption:icon: -2128169224 >inform: -2128169316 MorphicUIManager>inform: -2128169408 Object>inform: -2128170148 >openSources:andChanges:forImage: -2128170284 SmalltalkImage>openSourceFiles -2128170412 >startUp -2128170504 Behavior>startUp: -2131946412 [] in SystemDictionary>send:toClassesNamedIn:with: -2131946568 OrderedCollection>do: -2131946660 SystemDictionary>send:toClassesNamedIn:with: -2131946820 SystemDictionary>processStartUpList: -2132131900 SmalltalkImage>snapshot:andQuit:embedded: -2132131992 SmalltalkImage>snapshot:andQuit: -2132132084 TheWorldMenu>saveAndQuit -2132132176 TheWorldMenu>doMenuItem:with: -2132132452 [] in MenuItemMorph>invokeWithEvent: -2132132360 BlockContext>ensure: -2132132544 Cursor>showWhile: -2132132636 MenuItemMorph>invokeWithEvent: -2132132728 MenuItemMorph>mouseUp: -2132132820 MenuItemMorph>handleMouseUp: -2132132952 MouseButtonEvent>sentTo: -2132133044 Morph>handleEvent: -2132133136 MorphicEventDispatcher>dispatchDefault:with: -2132133228 MorphicEventDispatcher>dispatchEvent:with: -2132133320 Morph>processEvent:using: -2132133412 MorphicEventDispatcher>dispatchDefault:with: -2132133520 MorphicEventDispatcher>dispatchEvent:with: -2132133652 Morph>processEvent:using: -2132133744 Morph>processEvent: -2132133836 MenuMorph>handleFocusEvent: -2132134112 [] in HandMorph>sendFocusEvent:to:clear: -2132134020 [] in PasteUpMorph>becomeActiveDuring: -2132134204 BlockContext>on:do: -2132134296 PasteUpMorph>becomeActiveDuring: -2132134480 HandMorph>sendFocusEvent:to:clear: -2132134572 HandMorph>sendEvent:focus:clear: -2132134664 HandMorph>sendMouseEvent: -2132134808 HandMorph>handleEvent: -2132135064 HandMorph>processEvents -2132134972 [] in WorldState>doOneCycleNowFor: -2132135156 SequenceableCollection>do: -2132135248 WorldState>handsDo: -2132135340 WorldState>doOneCycleNowFor: -2132135432 WorldState>doOneCycleFor: -2132135524 PasteUpMorph>doOneCycle 2146741432 [] in >spawnNewProcess 2146741616 [] in BlockContext>newProcess
-----------------------------------
using as command
squeak -headless
I get
Segmentation fault
-2126831928 UndefinedObject>? 2142441752 ByteSymbol>? Speicherzugriffsfehler
------------------------------------------
if I use the sq3.9-7067web07.12.1 image, where I initially tried to start VNC in order to use the image once running remotely I get with
squeak -vm display=none sq3.9-7067web07.12.1.image
the following
Segmentation fault
-2128125960 UndefinedObject>? 2138702056 SmallInteger>? Speicherzugriffsfehler --> memory access error
-------------------------------------------
but with
squeak -headless sq3.9-7067web07.12.1.image
I get again the one from above with -vm display=none and the other image. Which doesn't make too much sense to me as -headless is supposed to equal -vm display=X11 -headless, what would make sense to not work correctly as I either don't have it installed or at least not working correctly.
Segmentation fault
-2126644792 BalloonEngine>copyLoopFaster -2126644884 BalloonEngine>copyBits -2126644992 BalloonEngine>postFlushIfNeeded -2126655620 BalloonEngine>drawRectangle:fill:borderWidth:borderColor:transform: -2126655760 BalloonCanvas>drawRectangle:color:borderWidth:borderColor: -2126655864 BalloonCanvas>fillRectangle:fillStyle: -2126655956 FormCanvas>balloonFillRectangle:fillStyle: -2126656048 FormCanvas>fillRectangle:fillStyle: -2126656140 Canvas>fillRectangle:fillStyle:borderStyle: -2126658460 Morph>drawOn: -2126658600 Canvas>draw: -2126658740 Canvas>drawMorph: -2126659476 [] in Morph>fullDrawOn: -2126659016 >roundCornersOf:on:in:displayBlock:borderWidth:corners: -2126660872 FormCanvas>roundCornersOf:in:during: -2126661920 Canvas>roundCornersOf:during: -2126671668 Morph>fullDrawOn: -2126671820 Canvas>fullDraw: -2126671912 Canvas>fullDrawMorph: -2126868152 [] in WorldState>drawWorld:submorphs:invalidAreasOn: -2126868900 Rectangle>allAreasOutsideList:startingAt:do: -2126869244 Rectangle>allAreasOutsideList:do: -2126868404 [] in WorldState>drawWorld:submorphs:invalidAreasOn: -2126869336 SequenceableCollection>do: -2126869152 WorldState>drawWorld:submorphs:invalidAreasOn: -2126869428 [] in WorldState>displayWorld:submorphs: -2126869520 FormCanvas>roundCornersOf:in:during: -2126869612 Canvas>roundCornersOf:during: -2126869704 WorldState>displayWorld:submorphs: -2126869796 PasteUpMorph>privateOuterDisplayWorld -2126869888 PasteUpMorph>displayWorld -2126870348 [] in WorldState>displayWorldSafely: -2126869980 BlockContext>on:do: -2126870164 BlockContext>ifError: -2126870472 WorldState>displayWorldSafely: -2126870600 WorldState>doOneCycleNowFor: -2126870716 WorldState>doOneCycleFor: -2126870808 WorldState>doOneSubCycleFor: -2126870900 PasteUpMorph>doOneSubCycle -2126872168 MVCMenuMorph>invokeAt:in:allowKeyboard: -2126874264 [] in PopUpMenu>startUpWithCaption:icon:at:allowKeyboard: -2126874172 BlockContext>ensure: -2126874356 Cursor>showWhile: -2126874448 PopUpMenu>startUpWithCaption:icon:at:allowKeyboard: -2126874540 PopUpMenu>startUpWithCaption:icon:at: -2126874668 PopUpMenu>startUpWithCaption:icon: -2126874768 >inform: -2126874860 MorphicUIManager>inform: -2126874952 Object>inform: -2126875796 >openSources:andChanges:forImage: -2126875932 SmalltalkImage>openSourceFiles -2126876076 >startUp -2126876168 Behavior>startUp: -2130652076 [] in SystemDictionary>send:toClassesNamedIn:with: -2130652232 OrderedCollection>do: -2130652324 SystemDictionary>send:toClassesNamedIn:with: -2130652484 SystemDictionary>processStartUpList: -2130837564 SmalltalkImage>snapshot:andQuit:embedded: -2130837656 SmalltalkImage>snapshot:andQuit: -2130837748 TheWorldMenu>saveAndQuit -2130837840 TheWorldMenu>doMenuItem:with: -2130838116 [] in MenuItemMorph>invokeWithEvent: -2130838024 BlockContext>ensure: -2130838208 Cursor>showWhile: -2130838300 MenuItemMorph>invokeWithEvent: -2130838392 MenuItemMorph>mouseUp: -2130838484 MenuItemMorph>handleMouseUp: -2130838616 MouseButtonEvent>sentTo: -2130838708 Morph>handleEvent: -2130838800 MorphicEventDispatcher>dispatchDefault:with: -2130838892 MorphicEventDispatcher>dispatchEvent:with: -2130838984 Morph>processEvent:using: -2130839076 MorphicEventDispatcher>dispatchDefault:with: -2130839184 MorphicEventDispatcher>dispatchEvent:with: -2130839316 Morph>processEvent:using: -2130839408 Morph>processEvent: -2130839500 MenuMorph>handleFocusEvent: -2130839776 [] in HandMorph>sendFocusEvent:to:clear: -2130839684 [] in PasteUpMorph>becomeActiveDuring: -2130839868 BlockContext>on:do: -2130839960 PasteUpMorph>becomeActiveDuring: -2130840144 HandMorph>sendFocusEvent:to:clear: -2130840236 HandMorph>sendEvent:focus:clear: -2130840328 HandMorph>sendMouseEvent: -2130840472 HandMorph>handleEvent: -2130840728 HandMorph>processEvents -2130840636 [] in WorldState>doOneCycleNowFor: -2130840820 SequenceableCollection>do: -2130840912 WorldState>handsDo: -2130841004 WorldState>doOneCycleNowFor: -2130841096 WorldState>doOneCycleFor: -2130841188 PasteUpMorph>doOneCycle -2146931528 [] in >spawnNewProcess -2146931344 [] in BlockContext>newProcess
I hope this is just a silly error on my side. Maybe somebody can help me.
Thanks for any help.
Michael
-----Ursprüngliche Nachricht----- Von: "A friendly place to get answers to even the most basic questions about Squeak." beginners@lists.squeakfoundation.org Gesendet: 04.03.08 03:36:03 An: beginners@lists.squeakfoundation.org Betreff: [Newbies] Headless Squeak on Redhat - HELP!
I have a small (P3) server running Redhat, and I'm trying to get Squeak running on it. Since there's no monitor, and the graphics subsystem isn't started in the usual runlevel, I need to run Squeak headless.
I put image and change file into a directory (read, write, owned by user A) that should copy a couple of files when run, using Smalltalk addToStartUpList: MyClass. I load it up in Windows, and it works fine.
I load it in Linux: [root@myserver A]# squeak -headless
The cursor goes to the next line, and nothing happens.
Any idea what's going wrong? How do I correct it? I will happily furnish any other info or troubleshooting that is needed.
THANK YOU! Albegadeep
____________________________________________________________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners