LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-03-2004, 08:36 PM   #1
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
VNCViewer and Slackware


I have a multimedia box (knoppix 3.3) that serves up mp3s/oggs and plays them into my stereo. I control this from my Slackware machine.

I ssh into the box from an xterm window, start vncserver and then then try to use vncview

Code:
 

vncviewer xanadu:1
I always get a Error, can't open display and no real output as to why it fails.

If I do the same from my Knoppix laptop, I can always get vncviewer to work, any ideas why this isn't working from my Slackware 9.1 box?

thanks
 
Old 05-04-2004, 07:21 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Does your Slackware box know whatIP address xanadu has? If you try ping xanadu do you get an intelligent reply or an error? How about vncviwer xanaduIPaddy :1?
 
Old 05-04-2004, 11:01 PM   #3
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Yes, it would have to know the IP address, but I'm sshing into the knoppix box from my slackware box, in the hopes of running VNCViewer.

Yes, the VNCServer is running, I can grep the process, but from a Slackware term, I can't get it to run.

If I use my Knoppix laptop, from konsole, it will come up just fine.

odd...
 
Old 05-05-2004, 07:46 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
OK, we're not working on the same wavelength here. Please point out where I'm wrong:

1)You ssh from your Slackware box to your knoppix box (xanadu) and start vncserver on xanadu.

2) On your Slackware box (NOT in the ssh session) you start vncviewer with the command vncviewer xanadu:1

3) Vncviewer fails to connect

If that is correct, then my original question still stands: Does your Slackware box actually know the IP address of xanadu? Is there a nameserver or hosts file that has the translation of xanadu into an IP address? That is why I asked if you run ping xanadu from your Slackware box do you get an error.
 
Old 05-05-2004, 07:58 AM   #5
JockVSJock
Senior Member
 
Registered: Jan 2004
Posts: 1,420

Original Poster
Blog Entries: 4

Rep: Reputation: 164Reputation: 164
Quote:
Originally posted by Hangdog42
On your Slackware box (NOT in the ssh session) you start vncviewer with the command vncviewer xanadu:1


From the same ssh session that I ssh into the knoppix box, I run vncviewer xanadu:1 and get the error. This is from xterm, when I use my knoppix laptop, I use konsole, and do the same thing, ssh into it and run xanadu:1 and up comes vnc.
 
Old 05-05-2004, 08:14 AM   #6
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
OK, that maybe where the problem is. Vncserver and vncviewer really ought to be running on separate machines. Try this:

SSH into xanadu and start vncserver the way you always do. Then from a separate xterm on the Slackware box, start vncviewer with the command vncviewer 1.2.3.4:1 where you replace 1.2.3.4 with the IP address of xanadu.

To be honest, I'm not sure why your method works with your Knoppix laptop. Technically you are running vncserver and vncviewer on the same machine (xanadu) and since konsole is, well, a console, it shouldn't really have the capability to display an X app like vncviewer.
 
Old 05-13-2004, 01:05 PM   #7
pilos_dimitrios
LQ Newbie
 
Registered: Nov 2003
Location: HELLAS
Posts: 3

Rep: Reputation: 0
to see from the vnc viewer you must write:
ip address:1

for example:
150.250.25.12:1
 
  


Reply



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
Vncviewer Filious Linux - Newbie 12 01-31-2013 12:24 PM
[root@localhost Desktop]# vncviewer 192.168.0.11:2 vncviewer not viewing kde display nickleus Linux - Software 13 10-27-2006 03:58 AM
vncviewer ankit_mcgill Linux - Newbie 3 11-11-2005 06:46 PM
vncviewer jmarsh Solaris / OpenSolaris 1 04-27-2004 04:28 PM
VncViewer - No Icons!! alwayslearning Linux - Software 2 03-23-2003 05:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:41 PM.

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