This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
doc:faq:start [2013/11/15 23:58] tan Added FAQ entry about running mulitple Firefox |
doc:faq:start [2021/12/21 04:04] (current) danger89 Make it more explicit it's about PulseAudio |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== FAQ ====== | ====== FAQ ====== | ||
- | For those who want to find reasons for certain | + | For those who want to find reasons for certain |
- | ===== Server | + | ===== NX Protocol |
- | ==== Is X2Go compatible with nomachines | + | ==== Is X2Go compatible with NoMachine' |
- | 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. | + | No. It is not possible to use NX client to log on to an X2Go server and vice versa. |
- | ==== Can I install FreeNX | + | X2Go does use the same libraries for graphics, keyboard/ |
- | Yes - the NX libraries of X2Go are actually the most recent versions of NXv3 libs available (including our own patch set). NoMachine | + | X2Go also performs SSH authentication in a different manner than NoMachine |
+ | |||
+ | ==== Can I install FreeNX and X2Go Server on one system? ==== | ||
- | Due to these circumstances in the future | + | Yes - the NX libraries of X2Go are actually the most recent stable versions of NXv3 libs available. They are versioned as 3.5.0.x and include the patchset developed by X2Go and [[https:// |
In former times the NX libs shipped with X2Go installed into an X2Go' | In former times the NX libs shipped with X2Go installed into an X2Go' | ||
Line 19: | Line 21: | ||
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 | + | (This FAQ article has been written by Mike Gabriel |
+ | |||
+ | ==== Why are you using the terms " | ||
+ | |||
+ | 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, " | ||
+ | |||
+ | - nxcomp | ||
+ | - nxcompext | ||
+ | - nxcompshad | ||
+ | - nxproxy | ||
+ | - nxagent | ||
+ | - nxauth | ||
+ | - nx-X11 | ||
+ | |||
+ | Only the topmost three 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 Packard recommended. ==== | ||
+ | |||
+ | You are probably referring to the [[http:// | ||
+ | |||
+ | It is true that X11 forwarding' | ||
+ | |||
+ | 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, | ||
+ | - XCB applications are still partially hindered by round-trips, | ||
+ | |||
+ | The topmost two 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:// | ||
==== 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 69: | ||
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 | + | 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 |
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. | ||
+ | |||
+ | ==== Does X2Go support compositors? | ||
+ | |||
+ | No, X2Go doesn' | ||
+ | ===== Server FAQ ===== | ||
==== What are the packages x2goserver-home and x2goserver-one for? ==== | ==== What are the packages x2goserver-home and x2goserver-one for? ==== | ||
Line 35: | Line 84: | ||
X2go Server currently does neither have any group membership restrictions any more as former versions had. This may well be re-introduced, | X2go Server currently does neither have any group membership restrictions any more as former versions had. This may well be re-introduced, | ||
- | The obsolete '' | + | The obsolete '' |
==== Do I need a PostgreSQL database to run X2Go Server? ==== | ==== Do I need a PostgreSQL database to run X2Go Server? ==== | ||
- | No. The postgres | + | No. The PostgreSQL |
+ | ==== Is there an X2Go server daemon/ | ||
+ | |||
+ | Strictly speaking, the only daemon/ | ||
+ | |||
+ | Depending on your Linux distribution, | ||
+ | |||
+ | ==== Does X2Go support Wayland or Mir? ==== | ||
+ | |||
+ | So long as X2Go uses the NX protocol exclusively for remote display and keyboard/ | ||
+ | |||
+ | ===== Client FAQ ===== | ||
+ | |||
+ | ==== You have 3 clients. Which client should I use? ==== | ||
+ | |||
+ | If in doubt, pick the regular X2Go Client (x2goclient). It is the most widely used and tested. | ||
+ | |||
+ | * The regular X2Go Client (x2goclient) is optimized for thin client & single-session usage, but can be used on any desktop/ | ||
+ | * PyHoca-GUi is optimized for users who want to connect to multiple sessions at once, and already know how to use X2Go. For example, a sysadmin administrating multiple servers. | ||
+ | * PyHoca-CLI is launched via command-line args; similar to vncviewer or rdesktop/ | ||
+ | |||
+ | ==== Is there an MS Windows Client? ==== | ||
+ | |||
+ | Yes, there are two: [[doc: | ||
+ | |||
+ | ==== Is there an OS X Client? ==== | ||
+ | |||
+ | [[doc: | ||
+ | |||
+ | ==== Why is there no sound using Linux? ==== | ||
+ | |||
+ | Assuming PulseAudio daemon is up and running. Probably because the PulseAudio server does not listen to client connections. Check whether the file ''/ | ||
+ | < | ||
+ | load-module module-native-protocol-tcp auth-cookie=" | ||
+ | </ | ||
+ | If not, add it. Alternatively you can load the module at runtime: | ||
+ | < | ||
+ | pactl load-module module-native-protocol-tcp ' | ||
+ | </ | ||
+ | |||
+ | ==== Can I use x2goprint with Windows Clients? ==== | ||
+ | |||
+ | To set a print target, you'll need '' | ||
===== Session FAQ ===== | ===== Session FAQ ===== | ||
Line 46: | Line 137: | ||
==== How do I change the keyboard layout? ==== | ==== How do I change the keyboard layout? ==== | ||
- | Although some tools (e.g. Gnome Keyboard Indicator) might have trouble changing the layout, you should be able to change the keyboard layout using setxkbmap. | + | Although some tools (e.g. Gnome Keyboard Indicator) might have trouble changing the layout, you should be able to change the keyboard layout using '' |
< | < | ||
setxkbmap de | setxkbmap de | ||
setxkbmap us | setxkbmap us | ||
</ | </ | ||
+ | |||
+ | ==== Ubuntu' | ||
+ | |||
+ | This happens because of a package called '' | ||
+ | |||
+ | In general, this is not a bug. Using two applications - '' | ||
+ | |||
+ | On machines that act as an X2Go Server only, it may make sense to remove the '' | ||
+ | |||
+ | For X2Go we suggest disabling the KScreen KDED module in the user's profile, since X2Go handles resolution switches for you: | ||
+ | |||
+ | < | ||
+ | |||
+ | To manually change output settings (rotation, enabling/ | ||
+ | |||
==== How do I customize font sizes in X2Go sessions? ==== | ==== How do I customize font sizes in X2Go sessions? ==== | ||
Line 62: | Line 168: | ||
==== File and folder sharing has stopped working since Apr 2011 (approx.). Why? What can I do about it? ==== | ==== File and folder sharing has stopped working since Apr 2011 (approx.). Why? What can I do about it? ==== | ||
- | Add users that shall be granted X2Go file and folder sharing functionality to the fuse group on your system. | + | Add users that shall be granted X2Go file and folder sharing functionality to the '' |
< | < | ||
- | $ adduser | + | $ sudo gpasswd -a foo fuse |
+ | </ | ||
+ | |||
+ | < | ||
+ | # if on SUSE + derivatives | ||
+ | $ sudo gpasswd -a foo trusted | ||
</ | </ | ||
Line 74: | Line 185: | ||
[[http:// | [[http:// | ||
+ | ===== Known Issues ===== | ||
- | ===== Client FAQ ===== | + | ==== Can't login to x2goserver with an ECDSA key ==== |
- | ==== Is there an MS Windows Client? ==== | + | Currently, older versions of the ssh library used by X2Go called '' |
+ | 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. | ||
- | Yes, there are two: [[doc: | + | ==== SSH Login issue ==== |
- | ==== Is there a MacOS Client? ==== | + | If you already use OpenSSH to get a shell on your x2go server, you may get this message when trying to connect with x2go: |
+ | < | ||
+ | The host key for | ||
+ | this server was not found but an othertype of key exists. An attacker | ||
+ | might change the default server key to confuse your client into thinking | ||
+ | the key does not exist | ||
+ | </ | ||
- | [[doc:installation: | + | This is related to the ECDSA host key (related to the previous FAQ entry - although there is a subtle difference between host and client keys.) |
+ | To solve this issue, you can disable ECDSA keys on your OpenSSH server configuration, | ||
+ | < | ||
+ | #HostKey / | ||
+ | </ | ||
+ | Then restart the SSH service. | ||
+ | Now you should not get the error message anymore. | ||
+ | ===== 3rd Party Software Known Issues ===== | ||
+ | ==== Eclipse/ | ||
- | ==== Why is there no sound using Linux? ==== | + | Eclipse and DartEditor crash on Debian Wheezy due to the '' |
- | Probably because the server does not listen | + | |
+ | 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 / | ||
< | < | ||
- | load-module module-native-protocol-tcp auth-cookie=".pulse-cookie" | + | exec $ECLIPSE |
</ | </ | ||
- | If not, add it. Alternatively you can load the module at runtime: | + | to: |
< | < | ||
- | pactl load-module module-native-protocol-tcp ' | + | exec $ECLIPSE |
</ | </ | ||
+ | ==== LibreOffice performance ==== | ||
- | ==== Can I use x2goprint with Windows Clients? ==== | + | If when using LibreOffice, text selections and copy/paste operations spike your CPU usage, disable anti-aliasing and selection transparency in the LibreOffice options. |
- | + | ||
- | To set a print target, you'll need '' | + | |
- | + | ||
- | ===== Known Issues ===== | + | |
- | + | ||
- | ==== Can't login to x2goserver with an ECDSA key ==== | + | |
- | At this time libssh, the ssh library used by X2Go is unable to work with an ECDSA key. | + | ==== Mate and numlock erratic behavior ==== |
- | 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 ==== | + | If using Mate DE, your numlock key makes numeric keyboard act in a numeric manner or as a movement keys, disable the dconf setting |
- | If you already use openssh to get a shell on your x2go server, you may get this message when trying to connect | + | |
< | < | ||
- | The host key for | + | gsettings set org.mate.peripherals-keyboard remember-numlock-state false |
- | this server was not found but an othertype of key exists. An attacker | + | |
- | might change the default server key to confuse your client into thinking | + | |
- | the key does not exist | + | |
</ | </ | ||
+ | Another interesting setting is: | ||
+ | < | ||
+ | gsettings set org.mate.peripherals-keyboard numlock-state ' | ||
+ | </ | ||
+ | Lastly, you can tell X to always use numeric pad as digits, on keyboard options. | ||
- | This is related to the ECDSA Key (see FAQ above). | + | ==== R graphics ==== |
- | To solve this issue, you can disable ECDSA keys on your ssh server configuration, | + | Using an buffered X-window and reducing |
< | < | ||
- | #HostKey / | + | #Only update Window every 5 seconds (you have to play with this value) |
+ | options(X11updates = 5) | ||
+ | #Open a new X-Window with buffered window | ||
+ | X11(type = " | ||
+ | #Everything following this line will be drawn into this window. | ||
</ | </ | ||
- | Then restart ssh service. | + | |
- | Now you should not get the error message anymore. | + | ===== Desktop Environment FAQ (Gnome, KDE, etc.) ===== |
+ | |||
+ | Please visit [[doc: |