Login
Username:

Password:

Remember me



Lost Password?

Register now!
Main Menu
Who's Online
2 user(s) are online (2 user(s) are browsing Forum)

Members: 1
Guests: 1

nikolaos, more...

Browsing this Thread:   1 Anonymous Users





Rootless mode for AROS hosted

Joined:
2004/4/7 4:26
Group:
Member
Posts: 4426
Offline
I remember seeing, long ago, screenshots - or even a video - showing AROS running in rootless mode, on Linux. IIRC, it was something experimental from Georg Steger.

I would really be glad to know if there were any further developments on this, because I'd find this option really interesting in a mixed Linux/Windows + hosted-AROS environment. I guess at least Pascal would agree with me

kind regards


Posted on: 6/7 1:44
_________________
p.bes
Icaros Desktop AROS distribution mantainer
Transfer the post to other applications Transfer


Re: Rootless mode for AROS hosted

Joined:
2005/6/16 11:11
Group:
Member
Posts: 625
Offline
It seemed rootless, but it had its limits.

The trick was to make the AROS screen "transparent", so that any underlying linux windows were visible and all event "fall through". Linux windows above AROS were visible anyways.

But there is the problem, that all AROS windows are one "depth-layer", so no linux window can be between them. Bringing one AROS winow to the back would bring all AROS windows to the back.

Posted on: 6/7 5:53
Transfer the post to other applications Transfer


Re: Rootless mode for AROS hosted

Joined:
2004/4/3 13:20
Group:
Member
Posts: 351
Offline
https://vimeo.com/191163338

It's still basically the same thing as it was years ago. But in the video I start one AROS hosted instance per app -> multi core and memory protection between those apps for free.
The desktop/icons/task bar in the background is Linux KDE. Every once and then there's a Linux terminal visible in between AROS windows.

But still same primitive hack so you for example see more than one AROS window in selected state (blue frame).

In the video there's a little additional C: tool used to read the boot arguments and possibly start some script (to start a specific app immediately) and activate the semi rootless hack from start.

That's used in the video to start the individual AROS apps (each in it's own AROS hosted instance) with F1, F2, F3, ... key shortcut set up in Linux/KDE desktop. To see how fast it starts AROS incl. app each time after each key press.


Posted on: 6/7 7:44
Transfer the post to other applications Transfer


Re: Rootless mode for AROS hosted

Joined:
2004/4/3 13:20
Group:
Member
Posts: 351
Offline
That's basically the changes to x11 hidd (old AROS V0!):

Attach file:


txt x11hidd_diff.txt Size: 17.17 KB; Hits: 5

Posted on: 6/7 7:46
Transfer the post to other applications Transfer


Re: Rootless mode for AROS hosted

Joined:
2004/4/3 13:20
Group:
Member
Posts: 351
Offline
And this the tool/hack to activate the semi rootless mode (it dynamically tells x11 hidd which parts of host window to make transparent):


Attach file:


c shaper.c Size: 3.56 KB; Hits: 3

Posted on: 6/7 7:48
Transfer the post to other applications Transfer


Re: Rootless mode for AROS hosted

Joined:
2004/4/3 13:20
Group:
Member
Posts: 351
Offline
And this the helper tool to get boot arguments. Then used in s:startup-sequence like this:

echo ENV:check
getbootarg shaper 
>ENV:check
if $check eq 1 val 
run 
>NIL: <NILOpaque
run 
>NIL: <NILC:Shaper
endif

getbootarg startscript >ENV:check
if not warn
if exists $check
execute $check
endif
endif


A startscript (s:start_amichess) can look like this:

cd sys:extras/games/amichess
amichess
shutdown


Attach file:


c getbootarg.c Size: 1.34 KB; Hits: 5

Posted on: 6/7 7:51
Transfer the post to other applications Transfer


Re: Rootless mode for AROS hosted

Joined:
2004/4/7 4:26
Group:
Member
Posts: 4426
Offline
Many, many thanks Georg. Now I have only to find someone to compile everything, while the scripting part shouldn't be a in issue at all.

Have a nice weekend.


Posted on: 6/8 2:58
_________________
p.bes
Icaros Desktop AROS distribution mantainer
Transfer the post to other applications Transfer


Re: Rootless mode for AROS hosted

Joined:
2004/10/24 23:58
Group:
Member
Posts: 150
Offline
How about porting x server for aros then you could have linux apps as own aros windows. Would be much more "aros" native then...

Posted on: 6/8 10:53
Transfer the post to other applications Transfer


Re: Rootless mode for AROS hosted

Joined:
2004/4/7 4:26
Group:
Member
Posts: 4426
Offline
Quote:

slicer wrote:
How about porting x server for aros then you could have linux apps as own aros windows. Would be much more "aros" native then...


I'd be extremely happy to have a Xwindow server running on AROS, this would let me import screen from Linux applications running on the same network and, why not, from the host in a hosted environment. Unluckily, it seems no one with the proper skills/time/will to do that shares this feeling with me...

Posted on: 6/11 4:44
_________________
p.bes
Icaros Desktop AROS distribution mantainer
Transfer the post to other applications Transfer


Re: Rootless mode for AROS hosted

Joined:
2007/8/21 11:21
Group:
Member
Posts: 176
Offline
A better approach to archive that, would probably be Xpra.
https://xpra.org

It starts a rootless virtual X11-server on the linux side of things and transmits only the window to a viewer - a little bit like VNC, but just for single X-windows.

There is one viewer written in python ... so maybe not so hard to understand and port?

Posted on: 6/11 11:45
Transfer the post to other applications Transfer






You can view topic.
You cannot start a new topic.
You cannot reply to posts.
You cannot edit your posts.
You cannot delete your posts.
You cannot add new polls.
You cannot vote in polls.
You cannot attach files to posts.
You cannot post without approval.

[Advanced Search]


Search
Top Posters
1 paolone
paolone
4426
2 magorium
magorium
4095
3 nikolaos
nikolaos
4009
4 phoenixkonsole
phoenixkonsole
3920
5 deadwood
deadwood
2917
6 ncafferkey
ncafferkey
2793
7 mazze
mazze
2221
8 Kalamatee
Kalamatee
2212
9 clusteruk
clusteruk
2112
10 damocles
damocles
1789
© 2004-2018 AROS Exec