VNC in solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris VNC in solaris 10
# 15  
Old 06-29-2010
Try this:
using bash:

PATH=${PATH}:/usr/X11/bin:/usr/openwin/bin
vncserver
# 16  
Old 06-30-2010
Quote:
Originally Posted by jlliagre
Okay, that will be fixed with this command:
Code:
env PATH=$PATH:/usr/openwin/bin:/usr/X11/bin vncserver

Code:
# env PATH=?PATH:/usr/openwin/bin:/usr/X11/bin vncserver
env: No such file or directory

I find that to be very odd becuase I didn't get that error last time I used env...

Nothing happened. Solaris 10 kernel is SunOS 5.10.
Ah. Pardon my ignorance.

---------- Post updated at 11:03 PM ---------- Previous update was at 11:01 PM ----------

Quote:
Originally Posted by shadowdancer
Try this:
using bash:

PATH=${PATH}:/usr/X11/bin:/usr/openwin/bin
vncserver
I believe that did it!

Code:
 # PATH=${PATH}:/usr/X11/bin:/usr/openwin/bin
# vncserver
You will require a password to access your desktops.
Password:
Verify:
xauth:  creating new authority file //.Xauthority
New 'unknown:1 ()' desktop is unknown:1
Creating default startup script //.vnc/xstartup
Starting applications specified in //.vnc/xstartup
Log file is //.vnc/unknown:1.log
#



---------- Post updated at 11:19 PM ---------- Previous update was at 11:03 PM ----------

Quote:
Originally Posted by shadowdancer
Try this:
using bash:

PATH=${PATH}:/usr/X11/bin:/usr/openwin/bin
vncserver
I had to redo this after I rebooted. Now when I try and connect with TightVNC on my desktop all I get is
"TightVNC info: Failed to connect to server (my ip address)"

I'm using bge0 inet address. Is that the correct one? I've only configured bge0 and I've got an ethernet cable going from there to the switch that everything else is plugged into. Do I need to be in net mgmt port or something?
# 17  
Old 06-30-2010
Quote:
Originally Posted by QuadRunner750
Code:
# env PATH=?PATH:/usr/openwin/bin:/usr/X11/bin vncserver
env: No such file or directory

I find that to be very odd becuase I didn't get that error last time I used env...
What is odd is you mistyped the command I suggested. $PATH and ?PATH are hardly the same.
# 18  
Old 06-30-2010
Quote:
Originally Posted by jlliagre
What is odd is you mistyped the command I suggested. $PATH and ?PATH are hardly the same.
Wow. Can you please smack me over the head through my monitor? ... I can't believe I just did that.
# 19  
Old 06-30-2010
You can try the following:
- kill your current vnc session
vncserver -kill :1 #since you have created a session using ID as unknown:1

- Once done, generate the keys
vnckeygen

- Again create a session
vncserver

- Try to login through the VNC client you are using.
you need to give server IP:<your session port like 1 in unknown:1>
# 20  
Old 07-01-2010
All, I've attempted quite a few things at this point and here's where I currently stand:

Code:
env PATH=$PATH:/usr/openwin/bin:/usr/X11/bin vncserver

New 'unknown:1 ()' desktop is unknown:1

Starting applications specified in //.vnc/xstartup
Log file is //.vnc/unknown:1.log

# Jul  1 19:41:59 unknown sendmail[540]: [ID 702911 mail.alert] unable to qualif
y my own domain name (unknown) -- using short name
Jul  1 19:41:59 unknown sendmail[540]: unable to qualify my own domain name (unk
nown) -- using short name
Jul  1 19:41:59 unknown sendmail[538]: [ID 702911 mail.alert] unable to qualify
my own domain name (unknown) -- using short name
Jul  1 19:41:59 unknown sendmail[538]: unable to qualify my own domain name (unk
nown) -- using short name

# vncserver -kill :1
vncserver: couldn't find "xauth" on your PATH.
# vncserver -kill :1#
vncserver: couldn't find "xauth" on your PATH.
# vnckeygen
vnckeygen: not found
# PATH=${PATH}:/usr/X11/bin:usr/openwin/bin
# vncserver

New 'unknown:2 ()' desktop is unknown:2

Starting applications specified in //.vnc/xstartup
Log file is //.vnc/unknown:2.log

# env PATH=$PATH:/usr/openwin/bin:/usr/X11/bin vncserver

New 'unknown:3 ()' desktop is unknown:3

Starting applications specified in //.vnc/xstartup
Log file is //.vnc/unknown:3.log

# vncserver -kill :1
Killing Xvnc process ID 847
# vncserver -kill :2
Killing Xvnc process ID 876
# vncserver -kill :3
Killing Xvnc process ID 896
# vnckeygen
vnckeygen: not found
# vncserver

New 'unknown:1 ()' desktop is unknown:1

Starting applications specified in //.vnc/xstartup
Log file is //.vnc/unknown:1.log

#



---------- Post updated at 07:51 PM ---------- Previous update was at 07:50 PM ----------

Quote:
Originally Posted by vishalaswani
Try to login through the VNC client you are using. you need to give server IP:<your session port like 1 in unknown:1>
Can you explain that please?
# 21  
Old 07-02-2010
If you want to kill a vnc session for a userid then you need to do it by logging through that only,
please follow the below guidelines to configure it.

- Consider the id for which i want to setup vnc is testuser and on server test1.

- Login through that id and add the below lines in the .profile file in the home directory.
PATH=${PATH}:/usr/openwin/bin:/usr/sbin:/usr/java/bin:/opt/UUITadm/bin:/usr/X11/bin:/opt/UUITadm/tools
export PATH

- Now either login again to let the changes in your profile file to be in effect or execute below command.
# . ./.profile ## dont skip any of the dots just copy, paste and execute.

- With this you will not get the below message
vncserver: couldn't find "xauth" on your PATH.

- Now execute below command to setup vnc session for testuser considering we are setting it up for the first time otherwise use
vncserver kill to kill previous processes.
vncserver

- Execute the below command to know the session number.
ps -fu testuser | grep Xvnc
In the output look for something like
Xvnc :1 -desktop test1:1 (testuser) -auth /export/home/testuser/.Xauthority

- The above bold is what you need to give in VNC client in order to take a VNC session using testuser ID [better you replace test1 by its FQDN or IP address].

- In case you are not able to take a session, then you need to follow the steps in my previous post.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Autologin and vnc - Solaris 10

Hi guys, First of all I would like to thank you for reading my post. My question is about having autologin and VNC. I already configure VNC that works perfectly using the following procedure: 1. svcadm enable svc:/application/x11/xvnc-inetd:default 2. vi /etc/services vnc-server... (0 Replies)
Discussion started by: dennis3
0 Replies

2. Solaris

vnc Issue

Dear all, I recently installed did VNC configuration on a Solaris Server. I am using VNC E4 2 7 as my Windows client. The issue is that every time I log into my machine and use terminal ( a few commands like df -h or any other command and then close VNC ( windows). When I log back in ,... (9 Replies)
Discussion started by: Junaid Subhani
9 Replies

3. Solaris

Solaris and VNC

Hi Guys, I need some assistance with getting vnc viewer from an WinXP machine to be able to connect to a vncserver on Solaris. I have run vncserver on Solaris and i get the following message:- http://i46.tinypic.com/v6ktaf.jpg Is this right ? i see there are a couple of errors in the... (4 Replies)
Discussion started by: mansnake
4 Replies

4. Solaris

want complete solaris gui in vnc ?

Hi, I have installed vnc software in my desktop and trying start solaris gui and all i get is a partial gui that has one window open. the window i am getting with vncviewer is (1 Reply)
Discussion started by: chidori
1 Replies

5. Solaris

Start of VNC with Solaris

Hello, We have machines running Solaris 2.8 These are part of a process control system. A selection menu after the launch of Solaris can be selected whether the Solaris desktop or Leitsoftware to start. VNC server is up and running when the Solaris user interface is started or when the... (1 Reply)
Discussion started by: eckart.t
1 Replies

6. Red Hat

VNC problem

Hello all, I have the folowing problem: When I connected to a VNC server instance, the screen on the vncserver was frezzed. So, I executed the following commands in order to reestablish the VNC instance: service vncserver stop service vncserver start No problem at this point, but now when... (5 Replies)
Discussion started by: mig28mx
5 Replies

7. Solaris

Essential packeages to install VNC from SOLARIS COMPANION CD

Hi all....!!! Can someone tell the essential packages need to install VNC from soalris 10 companion cd...? I think there are three packages are essential. (SFWvnc, SFWgcmn, .....) Please help me.. thank you.. Rgd... Leshan (0 Replies)
Discussion started by: leshan
0 Replies

8. Solaris

VNC server from the Companion cd. Solaris 8 SPARC

hey. i have been installing the VNC server from the solaris Companion cd under solaris 8 SPARC, when i try to open the vncserver i get: Xvnc is not in your PATH, how do i add it to the PATH ? and how do i install it if i need to do that, thx (0 Replies)
Discussion started by: mads-nielsen
0 Replies

9. Solaris

Is there something like vnc for solaris?

my desktop is a linux box, and I was wondering if there was a way to leverage X11/associated applications on a v440 remotely... like "Sun Update Connection"...thanks, manny (4 Replies)
Discussion started by: mr_manny
4 Replies

10. UNIX for Dummies Questions & Answers

Vnc

Anyone know of a site where I can download a copy (non-evaluation copy and preferably free. ;) nods to Neo's post in UNIX Operating System thread) of VNC for RedHat 8? Thanks in advance. (7 Replies)
Discussion started by: google
7 Replies
Login or Register to Ask a Question