Feedback

type to search

How on earth do I setup TightvnnServer to run at Gnome login throught SSH with needed resolution ?

Asked by

I’ve “googled” and tried almost anything…

I’ll play around with the -geometry at xStartup in home/“userhome”/.vnc/

But for the love of god… how? how do I set up my tightvncserver(already connected via LAN on a logged in session) on a headless machine running Debian 6.0.5 to start up at login screen and so I would be able to connect via SSH from my Windows machine?

I never used linux before :(
or Cancel

1 answer

0

tree from United States of America

VNC runs as a regular user usually, not with a login prompt. You would need to log in (via ssh or something else) at least once and start the vnc session as the user you want to use. If you need multiple users, each user would need their own session on their own display/port.

For Geometry, there is a known issue with gnome not respecting the geometry provided with vnc. The workaround I know is to use a different display manager. There may be other solutions.

On the ssh point, ssh is command line access, vnc is graphical. SSH can also be used to tunnel the vnc connection. Is that what you mean? If so, you need to create the ssh connection from your windows client machine and forward a local port to the vnc port on the remote server. It looks like TightVNC includes ssh tunneling, but only in the java client: http://www.tightvnc.com/ssh-java-vnc-viewer.php I can’t find any documentation on how to set it up.

NN comments
buchanko
-

Thank you very much for your answer, it’s like impossible to get linux support these days.


I never worked with linux and have no idea what I am doing so please bear with me.

All I want is a “headless” + secure + multi-purpose server which I could remotely control Graphically on my Windows machine.

Keywords being: secure, “headless” and multi-purpose.

  • I believe Linux is multi-purpose by it’s nature. Correct me if I am wrong.
  • I want it to be secure, thus the idea to use SSH so nobody could intercept raw passwords and other data from the communication.
  • I Installed a server like “tightvncserver” on My linux machine because it works well with tightvncviewer and is said to not require physical monitors.
From what I read from your reply, It seems as a viewer would be launched on the server ?(but wouldn’t that consume resources of the server greatly?)

Do I need to install any kind of “SSH server” on my remote machine to be able to use the “SSH” while connecting to it ?

I am also wondering if it would be possible to remove the Gnome GDE completely and remote connect to it via the same concept of VNC and seeing a desktop instead of a terminal ? ( Or does it need to be present in order to be generated? could it be possible/wise to disable the GDE instead ? )

Could you take your time to help me out with these, give suggestions(perhaps solutions even). That would be greatly appreciated as linux is something driving away with it’s complexity indeed.
or Cancel

Your answer

You need to join Debian to complete this action, click here to do so.