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
doc:faq:start [2015/08/23 13:13]
ionic Switch to AE...
doc:faq:start [2021/12/21 04:04]
danger89 Make it more explicit it's about PulseAudio
Line 4: Line 4:
  
 ===== NX Protocol FAQ ===== ===== NX Protocol FAQ =====
 +
 ==== Is X2Go compatible with NoMachine's NX or freeNX? ==== ==== Is X2Go compatible with NoMachine's NX or freeNX? ====
  
Line 14: Line 15:
 ==== 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 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 :-(.+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://github.com/ArcticaProject/nx-libs|others]]. NoMachine dropped the NXv3 development branch completely and NXv4 was released as closed source only:-(
  
 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 40: Line 41:
   - nx-X11   - nx-X11
  
-Only the 1st 3 are libraries.+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. 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. ====+==== Why not just use X11 forwarding over SSH? This is what Keith Packard recommended. ====
  
 You are probably referring to the [[http://keithp.com/~keithp/talks/lbxpost/|LBX post-mortem]] You are probably referring to the [[http://keithp.com/~keithp/talks/lbxpost/|LBX post-mortem]]
Line 54: Line 55:
   - 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.   - 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.)   - 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.+  - 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 usagewhich has the effect of improving performance when other users are sharing the same WAN link.+The topmost two performance improvements also reduce bandwidth usagewhich 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! ==== ==== Why Am I told to enable X11 forwarding with X2Go? I thought that X2Go uses nx-libs instead of X11 forwarding! ====
Line 72: Line 73:
 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't support X11 screen compositors. The compositors will be disabled.
 ===== Server FAQ ===== ===== Server FAQ =====
  
Line 80: Line 84:
 X2go Server currently does neither have any group membership restrictions any more as former versions had. This may well be re-introduced, though, if someone picks up work on that. X2go Server currently does neither have any group membership restrictions any more as former versions had. This may well be re-introduced, though, if someone picks up work on that.
  
-The obsolete ''x2goserver-home'' package added all known users on the server system to the group ''x2gousers'' which made some people nervous when testing X2Go on production systems :-/. For this reason we have dropped the auto-adding of users to groups in Apr 2011.+The obsolete ''x2goserver-home'' package added all known users on the server system to the group ''x2gousers'' which made some people nervous when testing X2Go on production systems. For this reason we have dropped the auto-adding of users to groups in Apr 2011.
  
 ==== Do I need a PostgreSQL database to run X2Go Server? ==== ==== Do I need a PostgreSQL database to run X2Go Server? ====
  
-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 PostgreSQL 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 the DB backend you have to edit X2Go Server's configuration in /etc/x2go
 + 
 +==== Is there an X2Go server daemon/service that needs to be started? ==== 
 + 
 +Strictly speaking, the only daemon/service that needs to be running is the SSH daemon. If users can connect to your server via an SSH client, then they should be able to connect via X2Go Client or PyHoca-GUI/PyHoca-CLI. 
 + 
 +Depending on your Linux distribution, there may be an X2Go server init script called ''x2goserver'' or a systemd service called ''x2gocleansessions.service''. It is highly recommended that this service be enabled. It handles session cleanup, but does **not** provide X2Go "login functionality". You must not assume that the service is running correctly if logins via any of the X2Go client applications are possible. It is also ***not*** a prerequisite for new X2Go sessions. 
 + 
 +==== Does X2Go support Wayland or Mir? ==== 
 + 
 +So long as X2Go uses the NX protocol exclusively for remote display and keyboard/pointer input, X2Go cannot support Wayland or Mir. Audio and file/printer sharing are handled by separate protocols. This is because NX works with the X11 protocol, rather than using an entirely separate protocol like SPICE and VNC do. NX improves X11 performance by caching the X11 traffic, compressing it, and eliminating the X11 "round-trips".
  
 ===== Client FAQ ===== ===== 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/laptop computer.
 +  * 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/xfreerdp. It is also suitable for connecting to multiple sessions at once.
  
 ==== Is there an MS Windows Client? ==== ==== Is there an MS Windows Client? ====
Line 94: Line 116:
 ==== Is there an OS X Client? ==== ==== Is there an OS X Client? ====
  
-[[doc:installation:x2goclient#macos_x|Yes!]]+[[doc:installation:x2goclient#os_x|Yes!]]
  
 ==== Why is there no sound using Linux? ==== ==== 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:+ 
 +Assuming PulseAudio daemon is up and running. Probably because the PulseAudio server does not listen to client connections. Check whether the file ''/etc/pulse/default.pa'' on the client contains the line:
 <code> <code>
 load-module module-native-protocol-tcp auth-cookie=".pulse-cookie" load-module module-native-protocol-tcp auth-cookie=".pulse-cookie"
Line 114: 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''.
 <code> <code>
 setxkbmap de setxkbmap de
Line 122: Line 145:
 ==== Ubuntu's and Fedora's KDE won't resize the desktop to the window size requested by X2Go Client. How can I fix this? ==== ==== Ubuntu's and Fedora's KDE won't resize the desktop to the window size requested by X2Go Client. How can I fix this? ====
  
-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''You might encounter an X2Go session trying to launch KDE and this KDE session not resizing properly to your client-side screen or session window size.
  
-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.+In general, this is not a bug. Using two applications - ''kscreen'' and X2Go client applications' resizing features - that handle display resolution is not supported, as it can lead to many unexpected 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 an X2Go Server only, it may make sense to remove the ''kscreen'' package completely. This, however, may have a negative effect on your X2Go server's plug'n'play capabilities. The ''kscreen'' package handles hotplugging of display hardware. Hence, if your X2Go Server machine is also used as a physical desktop machine, 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 in the user's profile, since X2Go handles resolution switches for you: 
-Startup and Shutdown -> Service Manager, uncheck "KScreen 2") in the user's profile, since X2Go + 
-handles resolution switches for you. To manually change output settings (rotation, enabling/disabling outputs etc) use the KScreen KCM.+<code>System Settings -> Startup and Shutdown -> Service Manager, uncheck "KScreen 2"</code> 
 + 
 +To manually change output settings (rotation, enabling/disabling outputs etc) use the KScreen KCM.
  
  
Line 143: 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 "fusegroup on your system (openSUSE/SLES users: to the "trustedgroup). For user foo this may look like this at the command line:+Add users that shall be granted X2Go file and folder sharing functionality to the ''fuse'' group on your system (openSUSE/SLES users: to the ''trusted'' group). Example for user ''foo'':
  
 <code> <code>
-$ sudo adduser foo fuse+$ sudo gpasswd -a foo fuse
 </code> </code>
  
 <code> <code>
 # if on SUSE + derivatives # if on SUSE + derivatives
-$ sudo usermod -G trusted foo+$ sudo gpasswd -foo trusted
 </code> </code>
  
Line 164: Line 189:
 ==== Can't login to x2goserver with an ECDSA key ==== ==== 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.+Currentlyolder versions of the ssh library used by X2Go called ''libssh'' are unable to work with ECDSA keys.
 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>
Line 176: Line 202:
 </code> </code>
  
-This is related to the ECDSA host key (see FAQ above - although there is a subtle difference between host and client keys.) +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, 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
 </code> </code>
-Then restart ssh service. +Then restart the SSH service. 
 Now you should not get the error message anymore.  Now you should not get the error message anymore. 
  
Line 188: Line 214:
 ==== Eclipse/DartEditor crashes on Debian Wheezy ==== ==== Eclipse/DartEditor crashes on Debian Wheezy ====
  
-Eclipse and DartEditor crash 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 the ''cairo'' library, as explained on http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721181.
  
-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:+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 the last line:
 <code> <code>
 exec $ECLIPSE "$@" exec $ECLIPSE "$@"
Line 214: Line 240:
 </code> </code>
 Lastly, you can tell X to always use numeric pad as digits, on keyboard options. Lastly, you can tell X to always use numeric pad as digits, on keyboard options.
- 
  
 ==== R graphics ==== ==== R graphics ====
doc/faq/start.txt · Last modified: 2021/12/21 04:04 by danger89