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.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
2. 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
3. Solaris
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
4. Solaris
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
5. Red Hat
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
6. 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
7. Solaris
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
8. Solaris
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
9. Solaris
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
10. Solaris
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