On 13/02/2025 10.11, bim bom wrote:
> Hello,
> 
> I am trying to configure x2go server on a Virtual Private Server (VPS) that I 
> rent that has Debian 10 as an operating system.
> 
> I followed the installation procedure steps on my local machine (apt install 
> x2goclient) and on the server as root (apt install x2goserver 
> x2goserver-xsession)
> 
> And I configured to connect via SSH automatically on port 22 in the client 
> app.

Not an x2go developer, but I suggest you demonstrate that you can log
in from the client machine to the server with ssh, and that you can
execute remote commands:

  ssh [email protected] pwd

Unless you have a key, you should be prompted for you password, and the
remote side should then output "/home/myuser1" or whatever, and only that.

If you have e.g. some shenanigans in .bashrc that produce output, remote
commands are likely to fail.

> My user only has a /home/myuser1 directory which I created under root and did 
> chmod +rwx /home/myuser1.

You should probably set the right owner and group as well, and remove
write-bit for others.  Better yet, create the user (and user directory)
with adduser(8) or some other system tool.

If you plan to use ssh keys, the sshd server is rather fussy about you
having the right access permission.


Regards,
-- 
Hans Peter Verne  --  IT-drift Geofag.

Without education we are in a horrible and deadly danger of taking educated
people seriously.  -- G.K. Chesterton

_______________________________________________
x2go-dev mailing list
[email protected]
https://lists.x2go.org/listinfo/x2go-dev

Reply via email to