User Tools

Site Tools


doc:faq:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
doc:faq:start [2014/10/28 12:01]
sunweaver [File and folder sharing has stopped working since Apr 2011 (approx.). Why? What can I do about it?]
doc:faq:start [2015/08/23 13:13]
ionic Switch to AE...
Line 1: Line 1:
 ====== FAQ ====== ====== FAQ ======
  
-For those who want to find reasons for certain behavious of X2Go, read here: [[http://wiki.x2go.org/doku.php/wiki:development:debugging|How To Debug or Troubleshoot your X2Go installation]]+For those who want to find reasons for certain behavior of X2Go, read here: [[http://wiki.x2go.org/doku.php/wiki:development:debugging|How To Debug or Troubleshoot your X2Go installation]]
  
-===== Server FAQ =====+===== NX Protocol FAQ ===== 
 +==== Is X2Go compatible with NoMachine's NX or freeNX? ====
  
-==== Is X2Go compatible with nomachines NX or freeNX? ====+No. It is not possible to use NX client to log on to an X2Go server and vice versa.
  
-No even though X2Go uses the same libraries, X2Go aims for an even greater integration into the Linux environment. It’s not possible to use NX client to log on to an X2Go server and vice versa+X2Go does use the same libraries for graphics, keyboard/mouse input, and clipboard sharing. However, X2Go aims for an even greater integration into the Linux environment. Therefore, X2Go performs session handling in an incompatible manner. 
 + 
 +X2Go also performs SSH authentication in a different manner than NoMachine does.
  
 ==== Can I install FreeNX and X2Go Server on one system? ==== ==== Can I install FreeNX and X2Go Server on one system? ====
  
-Yes - the NX libraries of X2Go are actually the most recent versions of NXv3 libs available (including our own patch set). NoMachine is about to drop the NXv3 development branch completely and NXv4 will be released as closed source only :-(+Yes - the NX libraries of X2Go are actually the most recent stable versions of NXv3 libs available. They are 3.5.0.x. They include the patchset developed by X2Go and [[https://github.com/ArcticaProject/nx-libs|others]]. NoMachine dropped the NXv3 development branch completely and NXv4 was released as closed source only :-(.
- +
-Due to these circumstances in the future the X2Go project will be upstream source for NXv3 libs for quite some distributions like Debian or Ubuntu+
  
 In former times the NX libs shipped with X2Go installed into an X2Go'ish location so that they would not interfere with the original NX libraries.  In former times the NX libs shipped with X2Go installed into an X2Go'ish location so that they would not interfere with the original NX libraries. 
Line 19: Line 20:
 Nowadays the NX libs shipped with X2Go work as a replacement for the NXv3 that are not maintained by NoMachine anymore. Nowadays the NX libs shipped with X2Go work as a replacement for the NXv3 that are not maintained by NoMachine anymore.
  
-(This FAQ article has been written by Mike Gabriel, if someone does not agree with the given information on NoMachine, please be so kind to contact me, so that we can discuss it and possibly correct errors in the given information).+(This FAQ article has been written by Mike Gabriel and Mike DePaulo. If someone does not agree with the given information on NoMachine, please be so kind to contact us, so that we can discuss it and possibly correct errors in the given information). 
 + 
 +==== Why are you using the terms "nx-libs" and "NX libraries"? X2Go clearly uses the 2 executables nxproxy & nxagent?  ==== 
 + 
 +Basically: 
 + 
 +  - That is the term that was always used. 
 +  - Libraries are created also from the source package. 
 +  - Those libraries define the NX protocol. 
 + 
 +Note that originally, "nx-libs" was not a single git repo. Instead, it was 7 separate tarballs: 
 + 
 +  - nxcomp 
 +  - nxcompext 
 +  - nxcompshad 
 +  - nxproxy 
 +  - nxagent 
 +  - nxauth 
 +  - nx-X11 
 + 
 +Only the 1st 3 are libraries. 
 + 
 +Having separate tarballs made maintenance more difficult, so they were combined into one as the X2Go project started redistributing them. 
 + 
 +==== Why not just use X11 forwarding over SSH? This is what Keith Package recommended. ==== 
 + 
 +You are probably referring to the [[http://keithp.com/~keithp/talks/lbxpost/|LBX post-mortem]] 
 + 
 +It is true that X11 forwarding's performance can be improved by SSH's zlib compression and by the use of XCB rather than xlib. 
 + 
 +However, nx-libs performs 3 additional performance improvements: 
 + 
 +  - nx-libs caches images, so that they do not have to be resent. For example, opening up your "start menu" is very fast the 2nd and 3rd time that you do so. 
 +  - zlib is generic lossless compression, so it is not well-suited for images. nx-libs achieves better performance by using compression methods such as JPEG (default, lossy) or PNG (lossless.) 
 +  - XCB applications are still partially hindered by round-trips, and nx-libs eliminates more of those round-trips. See  [[https://lwn.net/Articles/343506/|Bart Massey's explanation]] for more info. 
 + 
 +The 1st 2 performance improvements also reduce bandwidth usage; which has the effect of improving performance when other users are sharing the same WAN link. 
 + 
 +==== Why Am I told to enable X11 forwarding with X2Go? I thought that X2Go uses nx-libs instead of X11 forwarding! ==== 
 + 
 +The simple answer is that the OpenSSH server treats the connection differently (in such a way that degrades nx-libs performance) unless X11 forwarding is enabled. 
 + 
 +[[https://www.nomachine.com/AR05D00391|See NoMachine's explanation for more info.]]
  
 ==== What is the difference to LTSP? Why a free thin client environment? ==== ==== What is the difference to LTSP? Why a free thin client environment? ====
Line 25: Line 68:
 LTSP requires a high bandwidth on your network. It can efficiently be used in Local Area Networks (LANs) only.  LTSP requires a high bandwidth on your network. It can efficiently be used in Local Area Networks (LANs) only. 
  
-However, X2Go is not a mere solution for local area networks, but it also allows for the integration of a mobile network into the system. Nomachine’s NX libraries - used by X2Go - enable the transport of whole desktop sessions over a narrow bandwith connection through the internet. +However, X2Go is not a mere solution for local area networks, but it also allows for the integration of a mobile network into the system. Nomachine’s NX libraries - used by X2Go - enable the transport of whole desktop sessions over a narrow bandwidth connection through the internet. 
  
 Further bonuses of X2Go are that you can pause a desktop session and take it to a different thin client for further use.  Further bonuses of X2Go are that you can pause a desktop session and take it to a different thin client for further use. 
 +
 +===== Server FAQ =====
  
 ==== What are the packages x2goserver-home and x2goserver-one for? ==== ==== What are the packages x2goserver-home and x2goserver-one for? ====
Line 41: Line 86:
 No. The postgres database is only needed if you are planing to use more than one connected server (server array). By default X2Go Server installs with SQLite3 support enabled. To set up X2Go with PostgreSQL as DB backend you have to edit the X2Go Server's configuration in /etc/x2go.  No. The postgres database is only needed if you are planing to use more than one connected server (server array). By default X2Go Server installs with SQLite3 support enabled. To set up X2Go with PostgreSQL as DB backend you have to edit the X2Go Server's configuration in /etc/x2go. 
  
 +===== Client FAQ =====
 +
 +==== Is there an MS Windows Client? ====
 +
 +Yes, there are two: [[doc:installation:x2goclient#ms_windows|X2Go Client]] and [[doc:installation:pyhoca-gui#ms_windows|PyHoca-GUI]].
 +
 +==== Is there an OS X Client? ====
 +
 +[[doc:installation:x2goclient#macos_x|Yes!]]
 +
 +==== Why is there no sound using Linux? ====
 +Probably because the server does not listen to client connections. Check whether the file ''/etc/pulse/default.pa'' on the client contains the line:
 +<code>
 +load-module module-native-protocol-tcp auth-cookie=".pulse-cookie"
 +</code>
 +If not, add it. Alternatively you can load the module at runtime:
 +<code>
 +pactl load-module module-native-protocol-tcp 'auth-cookie=".pulse-cookie"'
 +</code>
 +
 +==== Can I use x2goprint with Windows Clients? ====
 +
 +To set a print target, you'll need ''x2goclient''. For example you can use the RDP tunneling feature of X2Go. FIXME
  
 ===== Session FAQ ===== ===== Session FAQ =====
Line 56: Line 124:
 This happens because of a package called ''kscreen''. If you encounter an X2Go session trying to launch KDE and this KDE session won't resize properly to your client-side screen or session window size. This happens because of a package called ''kscreen''. If you encounter an X2Go session trying to launch KDE and this KDE session won't resize properly to your client-side screen or session window size.
  
-In general, this is not a bug. Using two applications that handle display +In general, this is not a bug. Using two applications that handle display resolution is not supported, as it can lead to many unexpected situations and race conditions.
-resolution is not supported, as it can lead to many unexpectable situations and +
-race conditions.+
  
-On machines that act as X2Go Server only, it may make sense removing the kscreen package completely. This, however, may have an effect on your X2Go server's plug'n'play capabilities. The ''kscreen'' package handles hotplugging of display hardware. So if your X2Go Server machine is used locally, as well as via X2Go, consider well, if it is ok to remove that package or not.+On machines that act as X2Go Server only, it may make sense removing the kscreen package completely. This, however, may have an effect on your X2Go server's plug'n'play capabilities. The ''kscreen'' package handles hotplugging of display hardware. So if your X2Go Server machine is used locally, as well as via X2Go, consider well, if it is OK to remove that package or not.
  
 For X2Go we suggest disabling the KScreen KDED module (System Settings -> For X2Go we suggest disabling the KScreen KDED module (System Settings ->
Line 93: Line 159:
  
 [[http://kb.mozillazine.org/Firefox_:_FAQs_:_Run_more_than_one_instance_in_Linux| kb.mozillazine.org/Firefox_:_FAQs_:_Run_more_than_one_instance_in_Linux]] [[http://kb.mozillazine.org/Firefox_:_FAQs_:_Run_more_than_one_instance_in_Linux| kb.mozillazine.org/Firefox_:_FAQs_:_Run_more_than_one_instance_in_Linux]]
- 
- 
-===== Client FAQ ===== 
- 
-==== Is there an MS Windows Client? ==== 
- 
-Yes, there are two: [[doc:installation:x2goclient#ms_windows|X2Go Client]] and [[doc:installation:pyhoca-gui#ms_windows|PyHoca-GUI]]. 
- 
-==== Is there a MacOS Client? ==== 
- 
-[[doc:installation:x2goclient#macos_x|Yes!]] 
- 
- 
- 
-==== Why is there no sound using Linux? ==== 
-Probably because the server does not listen to client connections. Check whether the file ''/etc/pulse/default.pa'' on the client contains the line: 
-<code> 
-load-module module-native-protocol-tcp auth-cookie=".pulse-cookie" 
-</code> 
-If not, add it. Alternatively you can load the module at runtime: 
-<code> 
-pactl load-module module-native-protocol-tcp 'auth-cookie=".pulse-cookie"' 
-</code> 
- 
- 
-==== Can I use x2goprint with Windows Clients? ==== 
- 
-To set a print target, you'll need ''x2goclient''. For example you can use the RDP tunneling feature of X2Go. FIXME 
  
 ===== Known Issues ===== ===== Known Issues =====
Line 127: Line 165:
  
 At this time libssh, the ssh library used by X2Go is unable to work with an ECDSA key. At this time libssh, the ssh library used by X2Go is unable to work with an ECDSA key.
-However you may use an RSA key--if you need to--or go with the SSH default authenticating method using the remote user's password.+However you may use an RSA key - if you need to - or go with the SSH default authenticating method using the remote user's password.
  
 ==== SSH Login issue ==== ==== SSH Login issue ====
-If you already use openssh to get a shell on your x2go server, you may get this message when trying to connect with x2go:  +If you already use OpenSSH to get a shell on your x2go server, you may get this message when trying to connect with x2go:  
 <code> <code>
 The host key for The host key for
Line 138: Line 176:
 </code> </code>
  
-This is related to the ECDSA Key (see FAQ above).  +This is related to the ECDSA host key (see FAQ above - although there is a subtle difference between host and client keys. 
-To solve this issue, you can disable ECDSA keys on your ssh server configuration, by commenting the following line in /etc/ssh/sshd_config file: +To solve this issue, you can disable ECDSA keys on your OpenSSH server configuration, by commenting the following line in /etc/ssh/sshd_config file: 
 <code> <code>
 #HostKey /etc/ssh/ssh_host_ecdsa_key #HostKey /etc/ssh/ssh_host_ecdsa_key
Line 146: Line 184:
 Now you should not get the error message anymore.  Now you should not get the error message anymore. 
  
-===== 3rd Software Known Issues =====+===== 3rd Party Software Known Issues =====
  
-==== Eclipse do crash on Debian Wheezy ====+==== Eclipse/DartEditor crashes on Debian Wheezy ====
  
-Eclipse crashes on Debian Wheezy due to cairo lib, as explained on http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721181.+Eclipse and DartEditor crash on Debian Wheezy due to cairo lib, as explained on http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721181.
  
-Explained on that bugand its links, is how to solve this by updating to cairo library from jessie, or modifying a line on /usr/bin/eclipse script, changing last line:+The bug report and its links explain how to work around this problem by updating to the cairo library from Jessie, or modifying a line in the /usr/bin/eclipse launcher script, changing last line:
 <code> <code>
 exec $ECLIPSE "$@" exec $ECLIPSE "$@"
 </code> </code>
-with:+to:
 <code> <code>
 exec $ECLIPSE -vmargs -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false "$@" exec $ECLIPSE -vmargs -Dorg.eclipse.swt.internal.gtk.cairoGraphics=false "$@"
 </code> </code>
  
-==== Libreoffice performance ====+==== LibreOffice performance ====
  
-If when using Libreoffice, text selections and copy/paste operations make your X use lots of cpu, disable anti-aliasing and selection transparency on Libreoffice options.+If when using LibreOffice, text selections and copy/paste operations spike your CPU usage, disable anti-aliasing and selection transparency in the LibreOffice options.
  
-==== Mate and numlock erratic behaviour ====+==== Mate and numlock erratic behavior ====
  
-If using Mate DE, your numlock key makes numeric keyboard act in a numeric manner or as a moviment keys, disable the dconf setting with:+If using Mate DE, your numlock key makes numeric keyboard act in a numeric manner or as a movement keys, disable the dconf setting with:
 <code> <code>
 gsettings set org.mate.peripherals-keyboard remember-numlock-state false gsettings set org.mate.peripherals-keyboard remember-numlock-state false
Line 178: Line 216:
  
  
-==== R graphics ===+==== R graphics ====
 Using an buffered X-window and reducing the update rate can significantly improve performance for complex graphs.  Using an buffered X-window and reducing the update rate can significantly improve performance for complex graphs. 
 <code> <code>
Line 187: Line 225:
 #Everything following this line will be drawn into this window. #Everything following this line will be drawn into this window.
 </code> </code>
 +
 +===== Desktop Environment FAQ (Gnome, KDE, etc.) =====
 +
 +Please visit [[doc:de-compat]] to find out which Desktop Environments are supported on the X2Go Server side.
doc/faq/start.txt · Last modified: 2021/12/21 04:04 by danger89