From c5cb4a42efbb6e4343da3dc8389901d0091cec88 Mon Sep 17 00:00:00 2001 From: freesource Date: Sat, 15 Sep 2001 04:40:12 +0000 Subject: [PATCH] A special startx which uses xnest to run X from uml. --- .../usr/X11R6/bin/startx-debian-X11 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 add-ons/yard/make-debian-X11/usr/X11R6/bin/startx-debian-X11 diff --git a/add-ons/yard/make-debian-X11/usr/X11R6/bin/startx-debian-X11 b/add-ons/yard/make-debian-X11/usr/X11R6/bin/startx-debian-X11 new file mode 100755 index 0000000..783ec83 --- /dev/null +++ b/add-ons/yard/make-debian-X11/usr/X11R6/bin/startx-debian-X11 @@ -0,0 +1,15 @@ +#!/usr/bin/perl + +print "Please enter your Hosts ip: "; +my $answer = ; +chomp $answer; +$ENV{DISPLAY} = "$answer:0"; +system "Xnest&"; + +$ENV{DISPLAY} = ":0"; +system "flwm&"; +system "gbootroot&"; + +sleep(5); +print "That's it\n"; +system "xsetroot -display :0 -solid Orange";