From 7949c9660713455b1e7165a6602728ff2692cded Mon Sep 17 00:00:00 2001 From: freesource Date: Sat, 15 Sep 2001 05:26:49 +0000 Subject: [PATCH] The startx for uml using Xnest. --- .../replacements/usr/X11R6/bin/startx-debian-X11 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 add-ons/yard/make-debian-X11/replacements/usr/X11R6/bin/startx-debian-X11 diff --git a/add-ons/yard/make-debian-X11/replacements/usr/X11R6/bin/startx-debian-X11 b/add-ons/yard/make-debian-X11/replacements/usr/X11R6/bin/startx-debian-X11 new file mode 100755 index 0000000..783ec83 --- /dev/null +++ b/add-ons/yard/make-debian-X11/replacements/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";