You are not logged in.

#1 2010-09-30 22:50:20

vinhsynd
Member
Registered: 2010-08-05
Posts: 56

Opinions on OpenSSH and xinetd in setting up an x11vnc server.

I've been working on vnc access to my desktop.

After reading through the wiki on x11vnc I visited http://www.karlrunge.com/x11vnc/.

I've pretty much settled on using x11vnc tunneled over ssh using the -svc option with -unixpw to setup vnc connections that are individualized on a per user basis.

This means I basically need to run openssh, and x11vnc as services.

@Karlrunge the FAQ recommends using xinetd for x11vnc setup in this way.

Here in is my dilemma, I feel a bit silly running ssh as a daemon and then using xinetd to run just one service.
Should I not feel silly about this or should I setup ssh to use xinetd as well?

Last edited by vinhsynd (2010-09-30 22:51:58)


The older I get the less time I have.

Offline

#2 2010-10-14 13:30:25

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Opinions on OpenSSH and xinetd in setting up an x11vnc server.

You could fork x11vnc in the background. And then use ssh for a secure tunnel and a local port redirect. Something like ssh user@host -L 5250:localhost:5250 then on the local machine you can run vncviewer localhost:5250

What will you use the vnc access for? Maybe there might be a better solution for you?


Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2010-10-15 20:41:37

sultanoswing
Member
Registered: 2008-07-23
Posts: 314

Re: Opinions on OpenSSH and xinetd in setting up an x11vnc server.

I use openssh and x11vnc. Openssh runs as a daemon, but I start x11vnc as a 'Startup Application' using Gnome with the following:

x11vnc -ncache 10 -noxdamage -scale 8/10 -many -bg -forever -shared -usepw -display :0 -auth /home/user/.Xauthority

It's been a while since I set this up, so I may have forgotten the details (or indeed not even be answering your question!).


6.5.3.arch1-1(x86_64) w/Gnome 44.4
Arch on: ASUS Pro-PRIME x470, AMD 5800X3D, AMD 6800XT, 32GB, | Intel NUC 7i5RYK | ASUS ux303ua | Surface Laptop

Offline

Board footer

Powered by FluxBB