PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Brauche Hilfe für ein Skript



l1nux4ever
20.09.08, 08:12
Ich bin grad bei ein kleinen Problem.
Auf mein Server läuft ein Programm was es nicht als Konsolenversion gibt.
Da es nun nervig ist, erst per ssh einloggen, ein VNC Server starten, da einloggen um ein Programm zu starten würd ich gern ein Skript machen.

Da jetzt folgende Fragen wie kann ich Xvnc Server als ein bestimmter User starten?
Skript einfach ein su wunsch_user vor und fertig?
Wie bring ich den Programm bei den XServer zu nutzen? Wenn ein Xvnc überheupt einer ist? Das Xvnc Display ist die :1 .

Was muss ich absichern damit der Server, sicher ist? Ich hab die Host.allow und host.deny so angepasst das nur VNC und ssh freigegeben sind. Der Rechner sitzt hintern Router und ist auch da noch mal "abgesichert".

3qualizer
20.09.08, 09:22
Du kannst den VNC Server z.B. per
su - [user] -c "vncserver [argumente]" starten.

Im Home-Verzeichnis des Users gibt es dann ein .vnc Verzeichnis inklusive xstartup-Datei. Darin kannst du dann dein Programm eintragen welches vom vncserver mit passender DISPLAY-Einstellung gestartet wird.

PS: VNC ist imho normalerweise unverschlüsselt. Je nachdem wo dein Server steht wäre das eher unklug.

l1nux4ever
21.09.08, 18:25
Der Server steht in der Besenkammer und ist nur intern verfügbar. Von ausserhalb gehts übern SSL Tunnel.

ninidream527
25.09.08, 12:05
Age of Conan gold guide Source: www.wow7gold.comNeedless to say this type of thinking has been brought over to the Age of Conan. Chinese farmers have dropped their Warhammer gold (http://www.wow7gold.com/buy/WarhammerOnline-EU.cfm) accounts and migrated over to this game to try and get as much buy Warhammer gold (http://www.wow7gold.com/buy/WarhammerOnline-US.cfm) as possible for their workshop owners.Many of these farmers will spend upwards of 12 hours online trying to horde as much gold as possible so that they can sell it to players in other countries who don't have as much time to devote to playing the games. It's really a catch 22 situation, these Chinese farmers play because of the economy in China and it's their only option to make money for themselves or their family. Workshop owners are pretty ruthless and demand that these players accumulate as much Age of Conan gold as possible and they don't care how they do it.One thing about playing Age of Conan for 12 hours a day, 7 days a week is that you pick up a lot of tricks and tips that can make your gold collecting a lot faster. Does 200g in gold sound a lot for 20 minutes online, well it's possible. A lot of the Chinese farmers tricks, tips and secrets have been compiled into a new guide which stirring up the Warhammer gold cheap (http://www.wow7gold.com/buy/WarhammerOnline-US.cfm) community.This guide spills the beans and you can quickly find yourself having the most gold on your server, the most powerful guild and that you can basically run the economy because of your wealth, sounds good doesn't it?If you would like to find out more about this top secret guide then visit the site below to start your journey onto wow gold (http://www.wow7gold.com/) server domination!Source: world of warcraft gold (http://www.wow7gold.com/)

cane
25.09.08, 12:28
Beitrag gemeldet.

mfg
cane