- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- simple script for rdesktop
Operating System - Linux
1752678
Members
5753
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2011 02:18 PM
тАО02-18-2011 02:18 PM
hi
I'm looking for a simple script, running on the xfce desktop, asking me for the IP address or server name and starting rdesktop session.
I'm looking for a simple script, running on the xfce desktop, asking me for the IP address or server name and starting rdesktop session.
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2011 11:57 PM
тАО02-20-2011 11:57 PM
Solution
Hi chris,
This simple python script should do trick :) . I wrote it within a few minutes and i have not tested it well. Feel free to hack and use it as you wish
<----------------------------------------->
from tkinter import *
import os
class RemoteDesktopFrontEnd:
def __init__(self,master):
frame = Frame(master)
frame.pack()
self.username_label = Label(master,text="Username")
self.username_label.pack()
self.username_textbox = Entry(master)
self.username_textbox.pack()
self.password_label = Label(master,text="Password")
self.password_label.pack()
self.password_textbox = Entry(master,show="*")
self.password_textbox.pack()
self.ip_label = Label(master , text=" IP ")
self.ip_label.pack();
self.ip_textbox = Entry(master)
self.ip_textbox.pack()
self.login_button = Button(master,text="Login",command=self.do_login)
self.login_button.pack()
def do_login(self):
self.command_to_execute = "rdesktop -k en-us -a 16 -u "+ self.username_textbox.get() + " -p "+self.password_textbox.get() +" " + self.ip_textbox.get()
os.system(self.command_to_execute)
rootWidget=Tk()
rdesktopApp =RemoteDesktopFrontEnd(rootWidget)
rootWidget.mainloop()
Truly Evil
Lucifer Megacruel
This simple python script should do trick :) . I wrote it within a few minutes and i have not tested it well. Feel free to hack and use it as you wish
<----------------------------------------->
from tkinter import *
import os
class RemoteDesktopFrontEnd:
def __init__(self,master):
frame = Frame(master)
frame.pack()
self.username_label = Label(master,text="Username")
self.username_label.pack()
self.username_textbox = Entry(master)
self.username_textbox.pack()
self.password_label = Label(master,text="Password")
self.password_label.pack()
self.password_textbox = Entry(master,show="*")
self.password_textbox.pack()
self.ip_label = Label(master , text=" IP ")
self.ip_label.pack();
self.ip_textbox = Entry(master)
self.ip_textbox.pack()
self.login_button = Button(master,text="Login",command=self.do_login)
self.login_button.pack()
def do_login(self):
self.command_to_execute = "rdesktop -k en-us -a 16 -u "+ self.username_textbox.get() + " -p "+self.password_textbox.get() +" " + self.ip_textbox.get()
os.system(self.command_to_execute)
rootWidget=Tk()
rdesktopApp =RemoteDesktopFrontEnd(rootWidget)
rootWidget.mainloop()
Truly Evil
Lucifer Megacruel
"To Denouce the Evils of Truth and Love. To cause may hem and destruction and necromancy , Lucifer is here"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2011 12:26 AM
тАО02-21-2011 12:26 AM
Re: simple script for rdesktop
hi chris,
check this link :
http://www.linuxquestions.org/questions/debian-26/simple-x-rdesktop-client-for-xfce-860765/
2nd respons from this user :gradinaruvasile
Simple.
Run this from terminal:
....
i think it could be a solution for you.
mikap
check this link :
http://www.linuxquestions.org/questions/debian-26/simple-x-rdesktop-client-for-xfce-860765/
2nd respons from this user :gradinaruvasile
Simple.
Run this from terminal:
....
i think it could be a solution for you.
mikap
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP