First you need to know that I'm 100% new to solaris/unix.
I'm trying to setup VNC on my sparc based server that I just installed solaris 10 on but when I type in vncserver to start it, I get "couldn't find "xauth" on your PATH"
What do I do so I can get a gui up and running remotely on my xp desktop? I already have TightVNC installed on the desktop but when I try to connect to the server it fails.
you don't need VNC to run a remote desktop session. XDMCP is running by default (on a full installation) in solaris. all you need is a XDMCP client in windows to use the session.
the complexity depends on the used program... exceed for example is easy but not free. other solutions are maybe a little more complex. but the side effect is to learn something if you'll get it up and runnig.
also I prefer the build in solutions and avoid 3rd party products if possible. but that might only be me...
So what would you all recommend I do? I'm just trying to use the graphics on the desktop to generate the gui from the server (the server has no graphics card).
Is it possible that the server needs to be in front of the router instead of behind it? They are all on the same ethernet switch behind the router right now.
ok. How would I go about fixing the path? I have 0 knowledge of solaris commands and syntax so I've been just been looking up things as I need them-or atleast trying to look up things.Thank you.
---------- Post updated at 11:15 PM ---------- Previous update was at 11:07 PM ----------
jilliagre,
Here's what happened:
Jun 28 23:11:47 unknown login: ROOT LOGIN /dev/console
Sun Microsystems Inc. SunOS 5.10 Generic January 2005
# env PATH=$PATH:/usr/openwin/bin vncserver
vncserver: couldn't find "Xvnc" on your PATH.
# Jun 28 23:12:32 unknown sendmail[541]: [ID 702911 mail.alert] unable to qualify my own domain name (unknown) -- using short name
Jun 28 23:12:32 unknown sendmail[541]: unable to qualify my own domain name (unknown) -- using short name
Jun 28 23:12:32 unknown sendmail[542]: [ID 702911 mail.alert] unable to qualify my own domain name (unknown) -- using short name
Jun 28 23:12:32 unknown sendmail[542]: unable to qualify my own domain name (unknown) -- using short name
I tried typing in vncserver again after all this and I got the same error message that I was getting in the beginning.
First, Its showing the wrong version of solaris. I just installed 10 on it and now its displaying 5...not sure how that happened. I went and checked and sure enough its there and just showing the wrong one?...
# cat /etc/release
Solaris 10 10/09 s10s_u8wos_08a SPARC
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 16 September 2009
Also, the server is behind a router. Could this be causing a problem?
Once I get out of work, I'm going to try something called TeamViewer 5. It has good reviews on cnet, and it's free. It looks like it can do exactly what I want, so I'll give that a shot. I'll report back with results.
---------- Post updated at 09:35 PM ---------- Previous update was at 01:30 PM ----------
Ok. I failed to realize that TeamViewer 5 cant be installed on solaris. Its a mac/windows/linux program. I do have to say though, I installed it on my laptop (linux) and desktop (winxp) and the program is very nice and INCREDIBLY easy to use. I just happen to have an extra server that doesn't have solaris on it. I also just happen to have a Debian for sparc dvd sitting on my desk. I think I may give that a try on the extra one-as a last resort. Is there a good FREE xdmcp client you guys would recommend?
---------- Post updated at 09:57 PM ---------- Previous update was at 09:35 PM ----------
Tried Xming. Doesn't seem to be cooperating. Atleast with connecting to the laptop.
---------- Post updated at 11:03 PM ---------- Previous update was at 11:01 PM ----------
I believe that did it!
# 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 ----------
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?
All, I've attempted quite a few things at this point and here's where I currently stand:
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 ----------