Avatar of khashayar01
khashayar01Flag for United States of America

asked on 

Loop to keep rdesktop open

Hi guys.
I need some kind of a loop that will keep rdesktop active all the time after i start the xwindows. in other words i want it to reopen the rdesktop upon cancelling or closing by users. i tried wait but i could not get it to work. I am using slack ware with the basic tab manager xwindows.
Thank you
Unix OS

Avatar of undefined
Last Comment
Gns
Avatar of ahoffmann
ahoffmann
Flag of Germany image

# try:
  xclock -digital -update 1
Avatar of khashayar01
khashayar01
Flag of United States of America image

ASKER

I tried that but what is it supposed to do?? it just gives me the clock
ASKER CERTIFIED SOLUTION
Avatar of Gns
Gns

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Gns
Gns

Argh "/usr/local/bin/forevermydesktop &" -> "/usr/local/bin/foreverrdesktop &"

-- Glenn (a.k.a. Le Grand Typo)
Avatar of ahoffmann
ahoffmann
Flag of Germany image

oops, didn't read carefully ..
rdesktop will be started by the user, so simply write a shell for them which calls rdesktop in a infinite loop
Avatar of Gns
Gns

Yes...:-)

-- Glenn
Avatar of ahoffmann
ahoffmann
Flag of Germany image

Glenn has daylight again, and so is a few minutes faster than me ;-)
Avatar of Gns
Gns

Oh yes, and a painful transition it was... Was up late patrying(! That doesn't happen often these days:)... And then played around a bit with my new x86_64 (fsc 800s... 3200+ with 1GiB RAM, SATA etc (vias sata, so I had to go with a 2.6 kernel and libsata)... perhaps made around your parts Achim?-)... Completely forgot my eldest sons scout initiation... And the daylight savings.... Talk about the Mother of all headaches:-). Not so fun pretending to be all enthusiatic about his ceremony:P.
Nice to see you a bit more active too Achim.

Sorry for this offtopic blurb khashayar01.

-- Glenn
Unix OS
Unix OS

Unix is a multitasking, multi-user computer operating system originally developed in 1969 at Bell Labs. Today, it is a modern OS with many commercial flavors and licensees, including FreeBSD, Hewlett-Packard’s UX, IBM AIX and Apple Mac OS-X. Apart from its command-line interface, most UNIX variations support the standardized X Window System for GUIs, with the exception of the Mac OS, which uses a proprietary system.

33K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo