View previous topic :: View next topic |
Author |
Message |
FizzyWidget Veteran
Joined: 21 Nov 2008 Posts: 1133 Location: 127.0.0.1
|
Posted: Sat May 04, 2013 5:58 pm Post subject: Best and easiest way to use remote desktop? |
|
|
I have a few windows apps (render nodes) that require wine and the desktop to run, I have a headless box and would like to use it to help in rendering, what is the best and easiest way to use the box remotely?
I have googled this and ssh x tunneling is one option, vnc is another, i need to be able to use the box without having to have any remote windows open here as i dont want this pc on in order to use the headless box _________________ I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat May 04, 2013 6:20 pm Post subject: |
|
|
X over SSH isn't really an option for what you're asking. The simplest thing that'll work is an xvfb server on the remote box and connect using x11vnc. It was a bit of a pain to set up last time I used it, but that was years ago.
If you can put it into a KVM/Xen virtual machine I'd recommend that instead, libvirt handles all the details automatically and gives you a VNC/Spice remote connection by default. It works at the kernel GPU driver level so everything works like a local install (including the VT consoles), but in a window. |
|
Back to top |
|
|
FizzyWidget Veteran
Joined: 21 Nov 2008 Posts: 1133 Location: 127.0.0.1
|
Posted: Sat May 04, 2013 6:21 pm Post subject: |
|
|
would you have any links i could read to see if what you suggest is what i require? Always willing to learn new things _________________ I know 43 ways to kill with a SKITTLE, so taste my rainbow bitch. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat May 04, 2013 6:50 pm Post subject: |
|
|
There doesn't seem to be anything on the Gentoo Wiki about using libvirt, unfortunate...
KVM has a wiki here, libvirt has some docs, but IMO they're both not much use for learning it.
Xen has pretty good documentation but it takes a lot of reading before you get somewhere usable with it. Pays off eventually.
I'd say the best way to start off is to install virt-manager locally and just play around with its GUI and running livecd ISOs under qemu. If that looks like what you want, doing it remotely is just a matter of installing libvirt on the server and connecting to that with the GUI. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21631
|
Posted: Sat May 04, 2013 8:13 pm Post subject: |
|
|
Running under a regular VNC server without Xvfb or x11vnc sounds simplest, unless these programs require special support from the graphics server. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sat May 04, 2013 11:16 pm Post subject: |
|
|
That's something I hadn't even thought of - run VNC under wine? No need for X at all if that's possible... |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21631
|
Posted: Sat May 04, 2013 11:21 pm Post subject: |
|
|
No, run VNC under Linux. Then, run Wine with the display server set to VNC. |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun May 05, 2013 2:07 am Post subject: |
|
|
Oh, I didn't know VNC could work as an X server. That's useful to know. |
|
Back to top |
|
|
i92guboj Bodhisattva
Joined: 30 Nov 2004 Posts: 10315 Location: Córdoba (Spain)
|
Posted: Sun May 05, 2013 7:46 am Post subject: |
|
|
I tried x2go a couple of months ago. I just worked out of the box, which is unusual for this kind of thing |
|
Back to top |
|
|
baaann Guru
Joined: 23 Jan 2006 Posts: 558 Location: uk
|
Posted: Sun May 05, 2013 9:10 am Post subject: |
|
|
i92guboj wrote: | I tried x2go a couple of months ago. I just worked out of the box, which is unusual for this kind of thing |
Have to agree I like x2go, though I found it didn't quite "work out of the box", the client cannot use ecdsa ssh keys so you have to create an rsa key. Confused me for a while
Edit: There is one other minor annoyance with x2go, when resuming a suspended session I need to run setxkbmap to have a fully functional keyboard(still lose DELETE key though), that may be due to my set up and any suggestions appreciated /Edit
Have recently noticed xpra available in portage
http://xpra.org/
and the changelog suggests it is being actively worked on
http://gpo.zugaina.org/x11-wm/xpra/ChangeLog#ptabs
Not tried it myself as yet, but it sounds interesting and I intend to run a test at some stage |
|
Back to top |
|
|
broli n00b
Joined: 12 Apr 2013 Posts: 26
|
Posted: Wed May 08, 2013 3:15 pm Post subject: |
|
|
maybe its not exactly what you asked for, but i would try Virtualbox.
its suposed to have 3d acceleration, and has a built in remote desktop option, and you can run headless virtuals from the cli |
|
Back to top |
|
|
|