Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.


  Search this Thread
Old 12-21-2004, 06:57 PM   #1
Registered: Nov 2004
Location: Vancouver
Distribution: Ubunty, CentOS ,Mandriva, Gentoo, RedHat, Fedora, Knoppix
Posts: 150

Rep: Reputation: 15
VNC over SSH or ?????


I am using MDK 10.1.
I want to run VNC over SSH or not over SSH whatever, but I just want to take over my linux box from any computer running windows. I have heard that it is not possible if the X is not running.

Well, let me explain more:

I am running KDE. I have two users setup on my linux. So, whenever I finish my job, I have to log out.
I want to connect to the linux box when it is even logged out. I have tried doing it but I had no luuck. I tried running the remote access program that comes with it and it worked, but the problem was that, when I am logged out, it will also be shut down. So, not possible.
Can anybody tell me what to do?


Old 12-22-2004, 06:24 PM   #2
Registered: Sep 2002
Distribution: Mandrake 10.0 O
Posts: 48

Rep: Reputation: 15

You install TightVNC Server on the MAndrake,
the you can start it with the command vncserver,
then it will tell you which displayport it serves out.

Then from windoze you start vncviewer and type the name or IP of Mandrake followed by ortnumber.

VncViewer defaults to port numer 0, but most likely Mandrake Tightvnc server will give you 1, so you enter Mandrakeboxname:1.

If you want SSH you need of course the SSH daemon running and a password configured.
Then you must configure VNC Server to accept loopback connections.

Then you can make a tunnel:
vncviewer -L 5900:localhost:5900 userid@servername

You also need to set a password for the VNC Server

Much easier the other way round - controlling the Windoze from the MAndrake - then you just run Remote Desktop Connection, and it runs really smoothly.
(That easy only if your not using SSH)
Old 01-04-2005, 11:55 AM   #3
LQ Newbie
Registered: Jan 2005
Distribution: Mandrake
Posts: 1

Rep: Reputation: 0
Angry Mandrake 10.1 VNC over SSH

From what I can tell, this appears to be an issue with 10.1. Mandrake 10.0 did not prevent me from using VNC over SSH. Yes, I know how to do it and no settings were changed on my Windows computers or the firewall.

One computer was a fresh install of Mandrake 10.1. That one would let me VNC unencrypted and use SSH, but not together. I thought that it was something funny with Adelphia (the cable modem provider) and it just didn't make any sense. I had to upgrade my other box from 10.0 to 10.1 (different cable modem provider) and sorely regret it. VNC over SSH no longer works. Nothing else has changed. THe version of TightVNC/vncserver seems to be the same as it was before. Perhaps there is an issue with the SSH version or something stranger with Mandrake 10.1 itself.

Oh and by the way, X shouldn't have to be running already if you invoke vncserver rather than use X0rrbserver. I've tried it both ways and nothing seems to work (over SSH).


Please help.





Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
ssh with vnc Dillius Linux - Security 1 03-11-2005 05:53 PM
vnc with ssh lawkh Linux - Newbie 1 02-10-2004 02:12 AM
ssh and VNC linuxnube Linux - Security 4 01-28-2004 11:12 PM
how to use vnc with ssh ? norikage Mandriva 9 08-30-2003 01:40 PM
VNC on SSH??? Jerry78 Linux - Newbie 3 07-17-2003 04:20 AM > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 05:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration