LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-17-2009, 05:51 PM   #1
ndidomenico
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Connect to a listening Vnc viewer from the linux RHEL 4.5 console


I can't find how to connect my local console session on a RHEL server to a listening Vnc viewer (port 5500)

What I was able to do so far:

I have enabled Remote Desktop on the console and can vnc to the console from a pc, effectively sharing the desktop with the person working on the console (on display #0)

I also have setup Vnc on the server for display #1 and #2 and everything works fine:
- I can connect from a vnc viewer running on a pc to any of these two sessions.
- I can connect to a listening vnc viewer from my running vnc display #1 session (or even the console) by issuing the command "vncconfig -display :1 -connect w.x.y.z". Works fine also from session #2.

However, I can't find how to connect a vnc viewer in listen mode to my console session (display #0). I tried "vncconfig -display :0 -connect w.x.y.z" but I get error "No VNC extension on display :0". If i try to launch vncserver for display 0 (vncserver :0), I get the error "A VNC server is already running as :0", which is probably my enabled Remote Desktop running in session 0 ??

Any suggestions ?
 
Old 02-17-2009, 10:01 PM   #2
your_shadow03
Senior Member
 
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
Do run #vnserver again and check on which display :1 or :2 its running.
Code:
#vncserver
Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/pe.im.lotus.com:1.log
This says that the VNC can be run at :1 console.
Just browse through http://pe.im.lotus.com:1 through tightvnc or RealVNC.
 
  


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
How to enable VNC console on RHEL 5 server pratul Red Hat 9 07-28-2011 01:40 PM
Linux version of VNC Server and Viewer -- How to start it so I can use it? JasonC10203 Linux - Software 15 07-17-2008 10:08 AM
How to setup a VNC listening service BallsOfSteel Linux - Networking 9 04-27-2008 06:24 PM
VNC connection to SUSE Linux 10 from a Windows XP VNC Viewer determin2excel Linux - Software 13 10-03-2007 09:38 AM
vnc viewer doesnt connect illtbagu Linux - General 2 06-09-2003 01:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 01:14 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