User Tools

Site Tools


remote_desktop

If you want to send us your comments, please do so. Thanks
More on comments


Remote desktop

The aim is to use ssh

X2GO

Some remarks

  • You can login on the server without anyone being logged in on the server
  • You can not login as person A and have a session for person B. You need to login on the server as the user you want to have the X2Go session for
  • You can use public key authentication
  • X2Go uses ssh
  • X2Go is in the Debian 10 Buster repository
  • Printing does not work
  • Sound does not work
  • X2Go works for us

Installation

Client

This is the computer that controls the server
Alternative: pyhoca-cli is a command line X2Go client
Installing x2goclient:

  • Start aptitude and install
    • x2goclient
    • If you do not need it unselect rdesktop
    • If you do not need it unselect openssh-server. Needed for remote printing or file sharing
    • If you do not need it unselect openssh-sftp-server. Needed for remote printing or file sharing
  • Session | Session management … CTRL+E | New session
    • Give the session a name
    • Server
      • Choose an other icon if you want to
      • Host: host IP address like 10.0.0.1
      • Login: the remote side users username
      • SSH port: 22 (or an other port number at your choosing)
      • Use RSA/DSA key for ssh connection: Browse to the key. It is most likely in /home/user/.ssh
      • Session type: XFCE
    • Connection
      • WAN
      • Method: 16m-jpeg
      • Image quality: 9

Server

This is the computer being accessed

  • Start aptitude and install
    • x2goserver
    • x2goserver-desktopsharing
    • If you do not need it unselect sshfs
    • If you do not need it unselect x11-xfs-utils
    • If you do not need it unselect x2goserver-extensions

Usage

If you need to collaborate in the same session choose “Connect to local desktop”
If you need a new session choose the desktop. We choose “XFCE”

Disconnect: Click on the &100 power off icon

Can also be started from the commandline. See man x2goclient

Issues and Errors

No accessible desktop found

The server side is not logged in

No sound

Make sure load-module module-native-protocol-tcp auth-cookie=“.pulse-cookie” is in /etc/pulse/default.pa
See also New feature brainstorming (2016)

Close icons

X2Go can leave a lot of close icons in the tray
Solution: T.b.d.

Unable to find the sftp-server binary

The X2Go Client is looking for the sftp server binary as part of the folder sharing/printing support. We did not install the sftp-server so this is what we get.
When you get &100, in text,

Unable to find the sftp-server binary. Neither bundled, nor found in
$PATH nor additional directories.

If you are using a Linux-based operating system, please ask your
system administrator to install the package containing the sftp-server
binary. Common names are openssh, openssh-server or openssh-
sftp-server depending upon distribution.

If the sftp-server binary is installed on your system, please report a
bug mentioning its path on: 
          https://wiki.x2go.org/doku.php/wiki:bugs

The solution is:

  1. Do not close this window
  2. Real solution:
    1. Make sure the path to sftp-server is included in the PATH environment variable. For us it was in /usr/lib/openssh/sftp-server. It has been moved at some point to /usr/lib/sftp-server
    2. Add with PATH=“${PATH}:/usr/lib”
    3. Check with echo $PATH
    4. Make sure /usr/lib/openssh/sftp-server is running
    5. T.b.d.

"unable to execute: wwwbrowser"

Check the client view under “user@IPaddress”. If it is set to “Internet Browser” you can get this error message

Apache Guacamole

Apache Guacamole Client-less
Uses ssh
Only a HTML5 web browser is needed
In the Debian 10 Buster repository

FreeNX

Uses ssh
Not in the Debian 10 Buster repository

Remmina

Remmina can use ssh
Not in the Debian 10 Buster repository

VNC

Work in progress

Install

vnc4server

on the computer which has to be managed remotely.
Install

gtkvncviewer

on the computer you use to access the remote computer.

See:

to get an idea on how to get it working.

Commands

vnc4server -geometry 1024×768 -depth 24
vncpasswd
vncviewer
vncserver
Xvnc
sudo iptables -L sudo iptables -A INPUT -m state --state NEW -m tcp -p tcp -m multiport --dports 5901:5903,6001:6003 -j ACCEPT
sudo iptables-save

Search engine entries

start vnc server
debian configure vnc servers

Files

/etc/vnc.conf

~/.vnc/xstartup

#!/bin/sh
# ~/.vnc/xstartup
#
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
 
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &
xfce4-session &

Xpra

Uses ssh
Detachable
In the Debian 10 Buster repository

See Linux fu applications on the web about Apache Guacamole and Xpra


Main subjects on this wiki: Linux, Debian, HTML, Microcontrollers, Privacy

RSS
Disclaimer
Privacy statement
Bugs statement
Cookies
Copyright © : 2014 - 2022 Webevaluation.nl and the authors
Changes reserved.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
remote_desktop.txt · Last modified: 28-08-2021 23:08 by wim