You are not logged in.
I have managed to install and configure Open SSH on my NUC. Everything is working, i can start applications with GUI and everything. I start deluge and the application opens in on my desktop, but is running on my NUC. Sweet.
But, when i close either the terminal that iv'e used to connect to my nuc, all the application om the NUC (my remote computer) are being closed as well. That was not my intention. I want to fire up some applications, like deluge and ftp and some compiling jobs, then just close my session, but keep all the things running on the NUC so i just can shut down my main computer and have the NUC running all applications in my closet. Is there a way to configure that?
Last edited by dockland (2015-07-08 21:59:07)
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
Use tmux for shell based stuff and vncserver if you need GUI stuff.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Use tmux for shell based stuff and vncserver if you need GUI stuff.
Well, i have just managed to learn the very basics of SSH. Don't actually know anything about it. So open ssh can't manage this?
And a little addition, i want to see the whole desktop, panel and all aswell. Now i'm just firing up applications via the shell. So as i stated in a previous post i'd like the Teamviewer functionality but headless. Unfortunately teamviewer doesn't support headless fully, otherwise i would have used that right away.
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
Sounds like you'd want vncserver *or* to use x2go/freenx
Hurricane Electric Certified IPv6 Sage
CPU: Core i7-2600 @ 4.0Ghz | RAM: 16GB (4x4GB) | GFX: AMD Radeon R9 290 4096MB VRAM | HDD: 1x 120GB SATA3 Corsair SSD (~500MB/s RW), 1x SATA2 250GB, 1x SATA2 320GB, 1x 180GB SATA3 Intel SSD
*EDIT* Replaced Nvidia GTX 570 for a AMD Radeon R9 290, and added an extra SSD 180GB
Offline
Sounds like you'd want vncserver *or* to use x2go/freenx
Ok, I'll try x2goserver/x2goclient again if i dare. But having a working SSH-connection, do i have to configure conf files for this application aswell or will it inherit/interfere with current Open SSH config?
Got an error setting up x2goserver. When creating db
x2godbadmin --createdb
DBI connect('dbname=/var/lib/x2go/x2go_sessions','',...) failed: unable to open database file at /usr/bin/x2godbadmin line 103.
backend=sqlite at /usr/bin/x2godbadmin line 103.
The Wiki doesn't state this error. Iv'e googled it and it ends up in bug reports.
Sorry. Wasn't sudo. Fixed.
Last edited by dockland (2015-07-08 20:03:24)
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
There is also nohup, disown and screen.
I personally prefer disown as you can use it even when the process already started.
http://superuser.com/questions/178587/h … l-entirely
http://unix.stackexchange.com/questions … reen-shell
Last edited by respiranto (2015-07-08 20:25:17)
Offline
Thank you all.
I have sucessfully managet to set up x2go on both computers. Exactly as i wanted it.
But, can i safley "suspend" my remote session from my desktop and turn my computer off and my server/NUC keeps running the applications? Want to know this in particular, before detatching it from my monitor and "hide" it some where.
Edit: I get "Enter passphrase to enkrypt a key" error message. Trying to follow this:
ssh-keygen -t rsa
This will create following files inside your $HOME/.ssh/ directory:
~/.ssh/id_{rsa,dsa}
~/.ssh/id_{rsa,dsa}.pub
You'll need to transfer the public part of the key to the wanted server. You can do this using the ssh-copy-id command:
$ ssh-copy-id -i ~/.ssh/id_rsa.pub user@remote-system
Except the "ssh-copy-id" tried to add my custom port as well but no luck.
I cant use my local desktop. If i choose Xfce-session it works just fine everything.
Have checked on the net about a solution. Found a thread here at this forum that it might be a bug.
https://bbs.archlinux.org/viewtopic.php?id=189061
So. Is there another application that can manage to do this? Connect to my local desktop, as x2go is supposed to do?
Or is it impossible from arch > arch? There are a lot of people succeeding to other Linux distros and even Windows with this application, but if it's buggy i'd like to use another (bug free) one if there is one out there.
Last edited by dockland (2015-07-08 21:27:13)
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
My remote server/NUC
Installed x2godesktopsharing from AUR via yaourt
Added my user to x2godesktopshare group.
sudo gpasswd user x2godesktopshare
Edited /bin/x2golistdesktops and changed:
ss -lxu
to
ss -lx
Rebooted
After reboot, checked that the services "sshd.service" and "x2goserver.service" was started (I enabled these before and they start @ boot or login)
Client
Runned x2goclient, choose "Local Desktop"
Voila. It worked. Case closed
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline