Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
09-23-2006, 04:29 PM
|
#1
|
|
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Rep:
|
How to configure VNC server on solaris 8 ?
Hi Guys
I have downloaded VNC server s/w from sunfreeware.com vnc_333r and install it by pkgadd cmd.Now after adding this package i did not found any README which showes how to configure it.Does any one nows about it. I try to run follwing but it gave error .
Thanks in advance
Regard
Talat
# ./Xvnc &
397
# 24/09/06 04:58:59 Xvnc version 3.3.3r2
24/09/06 04:58:59 Copyright (C) AT&T Laboratories Cambridge.
24/09/06 04:58:59 All Rights Reserved.
24/09/06 04:58:59 See http://www.uk.research.att.com/vnc for information on VNC
24/09/06 04:58:59 Desktop name 'x11' (:0)
24/09/06 04:58:59 Protocol version supported 3.3
24/09/06 04:58:59 Listening for VNC connections on TCP port 5900
Fatal server error:
Couldn't add screen
|
|
|
|
09-23-2006, 04:57 PM
|
#2
|
|
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,364
|
You should use instead of ./Xvnc
|
|
|
|
09-23-2006, 05:34 PM
|
#3
|
|
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Original Poster
Rep:
|
it gives me this
# ./vncserver
./vncserver: not found
#
remember i did not configure it b/c i did not now howto do that.
my vnc is in
# # pwd
/usr/local/bin
# ls -l
total 3338
-rwxrwxrwx 1 bin bin 1526336 Mar 13 2001 Xvnc
-r-xr-xr-x 1 bin bin 8024 Mar 13 2001 vncconnect
-r-xr-xr-x 1 bin bin 15204 Mar 13 2001 vncpasswd
-rwxrwxrwx 1 bin bin 13332 Mar 13 2001 vncserver
-r-xr-xr-x 1 bin bin 116616 Mar 13 2001 vncviewer
|
|
|
|
09-23-2006, 07:55 PM
|
#4
|
|
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Original Poster
Rep:
|
Hi Guys
I am able to remove last error .it was b/c i did not have perl in /usr/local/bin/perl,now it placed it there this time i am getting new error
# perl vncserver
vncserver: couldn't find "xauth" on your PATH.
so i locate xauth and place in my path
# echo $PATH
/usr/sbin:/usr/bin:/usr/openwin/bin/xauth
But i still get the same error
Regard
Talat
|
|
|
|
09-24-2006, 12:23 AM
|
#5
|
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OL
Posts: 9,311
|
Quote:
|
Originally Posted by talat
[...]
# perl vncserver
vncserver: couldn't find "xauth" on your PATH.
so i locate xauth and place in my path
# echo $PATH
/usr/sbin:/usr/bin:/usr/openwin/bin/xauth
But i still get the same error
|
The PATH variable must contain directories, not commands.
The correct PATH is your case should then be:
Code:
PATH=/usr/bin:/usr/sbin:/usr/local/bin:/usr/openwin/bin
|
|
|
|
09-24-2006, 12:33 AM
|
#6
|
|
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Original Poster
Rep:
|
 Thanks Allot jlliagre
This time it works
# ./vncserver
You will require a password to access your desktops.
Password:
Verify:
#
But one last problem when i try to connect from my winXp machine by RealVNC viewer it says FAIL TO CONNECT.Am i missing some thing.
Regard
Talat
|
|
|
|
09-24-2006, 12:35 AM
|
#7
|
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OL
Posts: 9,311
|
Perhaps are you using a wrong server id (0 vs 1) ?
|
|
|
|
09-24-2006, 12:43 AM
|
#8
|
|
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Original Poster
Rep:
|
I did not get it
how can i check that
|
|
|
|
09-24-2006, 01:43 AM
|
#9
|
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OL
Posts: 9,311
|
How are you telling your vnc client you want to connect to the Solaris box ?
|
|
|
|
09-25-2006, 12:14 PM
|
#10
|
|
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Original Poster
Rep:
|
Hi jlliagre
Sorry for the late reply.
As usuall i simply tell Real VNC client the ip of my Solaris box.
Regard
Talat
|
|
|
|
09-25-2006, 12:25 PM
|
#11
|
|
Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,364
|
Run in the solaris box to see what is the correct display number (something like :1) and then configure your client to use that display number, e.g.
Code:
vncviewer solarisbox:1
|
|
|
|
09-25-2006, 02:16 PM
|
#12
|
|
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Original Poster
Rep:
|
Hi bathory
Thanks for the reply
# ps -ef | grep Xvnc
root 329 1 0 02:54:37 pts/1 0:00 Xvnc :1 -desktop X -httpd /usr/lo cal/vnc/classes -auth //.Xauthority -geometry
root 345 310 0 02:58:05 pts/1 0:00 grep Xvnc
Should i run following cmd on my Solarris machine.Consider 192.168.1.1 is my box ip.
#vncviewer 192.168.1.1:1
Or you want me to configure VNC viewer on my XP machine
Regard
Talat
|
|
|
|
09-25-2006, 02:31 PM
|
#13
|
|
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Original Poster
Rep:
|
OK bathory
i got it.I tryed to give ip on vncclient 192.168.1.1:1
and it works.
Thanks allot to all those who help me in this .I am realy greatfull to you guys.Thanks once again. 
|
|
|
|
09-25-2006, 02:42 PM
|
#14
|
|
Moderator
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Ubuntu, OL
Posts: 9,311
|
Quote:
|
Originally Posted by talat
As usuall i simply tell Real VNC client the ip of my Solaris box.
|
Here is the mistake.
As I wrote, and bathory pointed out too, this is implying a server id 0, while yours is 1, append ":1" to the Solaris IP in the connection dialog.
|
|
|
|
09-25-2006, 03:40 PM
|
#15
|
|
Member
Registered: Jan 2006
Distribution: Centos
Posts: 145
Original Poster
Rep:
|
Yes jlliagre
i got it.Thanks once again.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:28 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|