LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-07-2004, 12:19 PM   #1
pablovschby
Member
 
Registered: Oct 2003
Posts: 153

Rep: Reputation: 30
vnc over ssh on port 1352--> wrong authentication...?


Hallo

I log in to my router1 and loop me back port 5900. On "router1" is a vncserver running well on Display 2. It runs well unencrypted. I do this:
Code:
ssh -p 1352 -L 5900:router1:5900 testuser@router1
after i entered my pwd, I'm in. But if I start now "vncviewer" it messages me that:
Code:
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).
the same effect with:
Code:
xhost localhost:2
so does my router1, if I choose to loop me back port 5902 (cause it's running on display2...just a try)
Code:
ssh -p 1352 -L 5902:router1:5902 testuser@router1
I researched the internet and followed this advice:
Code:
DISPLAY=localhost:2
        export DISPLAY
now my router1's coming up with this error:
Code:
Xlib: connection to "localhost:2.0" refused by server
Xlib: Client is not authorized to connect to Server
Error: Can't open display: localhost:2
all neede Paths are set in the $PATH-variable...and my knowledge... according to that...hmmm
please help
thanks for advises...
regards
pablo
p.s.: I am aware that my ssh-service's running on port 1352 (lotus), but that didn't affect looping or x-forwarding until now. Does it affect maybe now this connection? I don't think...why should it?
 
  


Reply


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
VNC with SSH - won't release the port greauxe Linux - Networking 4 08-20-2005 02:42 PM
VNC with PAM authentication? make Linux - Software 2 06-07-2005 03:45 AM
VNC Authentication Problem? skippy1283 Linux - Networking 1 02-25-2005 02:54 AM
SSH authentication blmack44 Linux - Security 1 12-31-2004 03:13 PM
SSH Authentication Help kalikoder Linux - Networking 2 07-16-2003 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:22 AM.

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