Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-06-2011, 06:29 AM   #1
LQ Newbie
Registered: Dec 2010
Posts: 8

Rep: Reputation: 0
Unhappy How to catch mouse events in rdesktop.


I am working on rdesktop project. My project is to set up a write/copy protected session in rdesktop. That is the client(rdesktop user) can only view the contents of the server(host system). The client is not permitted to change or copy the contents of the server system.

OS: Ubuntu 10.04
Softwares used: rdesktop-1.6.0[at client computer]
Xrdp-0.4.2 [at server computer]

For doing the project, I need to trap certain mouse events(ie the copy, cut, paste options in the right click). For that I need to know how rdesktop handles the mouse events. To trap the mouse events which part of code that I need to modify (rdesktop/xrdp).

Old 05-06-2011, 12:21 PM   #2
Registered: Oct 2008
Posts: 33

Rep: Reputation: 4
To prevent anyone from making changes to Ubuntu, you only need to disable "paste", because even though they can cut and copy, they will not be able to paste it any place. So in effect those two functions are also disabled. To do this enter the /Home folder and right clicking the folder/s inside of it and select Properties. On the Permissions tab set the Owner's file access to "Access files". Then set the other two Folder access boxes to "List files only." Next click the "Apply Permissions to Enclosed Files" button and click close. Nothing on your system can be changed now. I don't know if this will prevent then from copying stuff onto their own computers or not.

Last edited by Tinkster; 08-29-2011 at 05:51 PM.
Old 05-07-2011, 10:59 AM   #3
LQ Newbie
Registered: Dec 2010
Posts: 8

Original Poster
Rep: Reputation: 0
Thank you.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to catch mouse events in rdesktop. Aswathy Linux - Newbie 0 05-06-2011 06:25 AM
catch hibernate, suspend and login, logout events naveenisback Programming 4 04-08-2010 12:30 PM
catch login, hibernate, suspend events.. blahblah Programming 2 04-07-2010 02:13 PM
how to catch events nick021 Linux - Software 2 04-07-2006 07:24 PM
how to catch hotplug events ? ritchy Linux - General 2 04-06-2006 02:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:49 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration