This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
wiki:components:desktop-sharing [2011/06/22 19:45] paul |
wiki:components:desktop-sharing [2013/01/05 23:38] tan added FIXME marker |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
+ | |||
+ | ===== Download ===== | ||
+ | |||
+ | ==== GNU/Linux ==== | ||
+ | |||
+ | === GNU/Linux package based distribution === | ||
+ | |||
+ | Please make sure that you have added the X2Go repository appropriate for your system to your package management system. The required steps are described here: | ||
+ | |||
+ | * [[wiki: | ||
+ | * [[wiki: | ||
+ | |||
+ | === GNU/Linux with installation from source tarball === | ||
+ | |||
+ | The sources of this X2Go component are available as source tarball under this URL: | ||
+ | |||
+ | http:// | ||
+ | |||
+ | ===== Installation ===== | ||
+ | |||
+ | ==== GNU/Linux ==== | ||
+ | |||
+ | === Debian / Ubuntu === | ||
+ | |||
+ | The '' | ||
+ | |||
+ | < | ||
+ | $ aptitude install x2godesktopsharing | ||
+ | </ | ||
+ | |||
+ | You can now start x2godesktopsharing within X2Go sessions (that is: on the server) by typing '' | ||
+ | |||
+ | === Source Tarball (LinuxFromScratch) === | ||
+ | |||
+ | FIXME | ||
+ | |||
+ | ===== Usage ===== | ||
With the desktopsharing function of X2go you can have full-access the desktop from somebody else like with programs as Remote Desktop. TeamViewer or LogMeIn. You can see an X2go session from somebody else, but you can also see a normal desktop. | With the desktopsharing function of X2go you can have full-access the desktop from somebody else like with programs as Remote Desktop. TeamViewer or LogMeIn. You can see an X2go session from somebody else, but you can also see a normal desktop. | ||
Line 5: | Line 42: | ||
To do this you need access to port 22. So maybe you need to make a portforwarding on your router. Portforwarding is not discussed here on this page. | To do this you need access to port 22. So maybe you need to make a portforwarding on your router. Portforwarding is not discussed here on this page. | ||
- | ====== The server side ====== | + | ==== The Server Side ==== |
First you need to install the package x2godesktopsharing on the server (the machine you want to access, this can be a very normal PC): | First you need to install the package x2godesktopsharing on the server (the machine you want to access, this can be a very normal PC): | ||
- | apt-get | + | < |
+ | aptitude | ||
+ | </ | ||
Then there is a new application in the menu. I can find it with " | Then there is a new application in the menu. I can find it with " | ||
- | /usr/ | + | < |
+ | $ x2godesktopsharing | ||
+ | </code> | ||
After starting the application and some searching, you will find a new icon on your panel. On the top the icon it's blue, and under it is white with a red cross in it. When you right-click on the butten you can activate the desktop sharing there. After activating other people who can login, can access your desktop. | After starting the application and some searching, you will find a new icon on your panel. On the top the icon it's blue, and under it is white with a red cross in it. When you right-click on the butten you can activate the desktop sharing there. After activating other people who can login, can access your desktop. | ||
- | ====== The client side ====== | + | ==== Client Side ==== |
- | + | To connect to another user's desktop, use [[wiki: | |
- | On the client I have only experience with "x2go client" | + | |
- | apt-get install x2goclient | + | * Start the client. |
- | Start it and make a new session with " | + | Preparing the session: |
+ | * Create | ||
+ | * Assign a session name. | ||
+ | * As 'host name' give the name of the machine, the session you want to connect to, is running on. | ||
+ | * As 'user name' give your account on the remote machine. | ||
+ | * As ' | ||
+ | * Recommended: | ||
+ | * Press ' | ||
- | Give it a session name, a host name, and the username from the user you want to access. In "session | + | Making |
+ | * Activate | ||
+ | * Enter the password of your remote account, | ||
+ | * You'll be presented with a list of running sessions. Choose, which you want to connect | ||
- | Then start the session by clicking | + | After this you will login on the desktop |
- | After this you will login on the desktop from the other. When you have a monitor what's smaller then the other side, it will be maybe a bit difficult to read. | + | Be aware, that by selecting |
- | Realize that when you want to stop the session and the other is running a normal PC, you will stop the complete PC when you do a shutdown! | + | ==== Misc notes (needs |
+ | * if you use x2godesktopsharing on :0 then you can connect to it through x2goclient with the session profile... | ||
+ | * session type ,,Connect to local desktop'' | ||
+ | * however, there is a not-a-real-bug in x2godesktopsharing. User foo on :0 can connect to the desktop through x2goclient as user foo without x2godesktopsharing doing much, asair. | ||
+ | * user bar can access user foo on :0 if user foo grants access for user bar through x2godesktopsharing. | ||
+ | * however, in x2goclient there is a hard-coded restriction that only allows view-only access to user bar... | ||
+ | * in pyhoca-cli, desktop sharing is already implemented (pyhoca-cli is a cmdline X2Go client) | ||
+ | * and with pyhoca-cli you can choose --share-mode 0 or --share-mode 1 (where 0 is view-only and 1 is full access) | ||
+ | * x2godesktopsharing basically does not care if it runs on :0 or :50 (normally the display number for the first X2Go session on the machine) | ||
+ | FIXME This section needs to be rewritten. For now it's just a copy & paste from an IRC discussion |