Boris Derzhavets
2008-Sep-08 10:02 UTC
Where is vncviewer on fresh SNV97 Dom0 ? (not bfu''ed)
bash-3.2# vncviewer 192.168.1.17:1 /usr/bin/vncviewer: error: `/usr/bin/.libs/vncviewer'' does not exist This script is just a wrapper for vncviewer. See the libtool documentation for more information. bash-3.2# cd / bash-3.2# find . -name vncviewer -print ./usr/bin/vncviewer ./opt/SUNWtvnc/bin/vncviewer bash-3.2# /opt/SUNWtvnc/bin/vncviewer 192.168.1.17:1 /opt/SUNWtvnc/bin/vncviewer: ConnectToTcpAddr: connect: Connection refused Unable to connect to VNC server -- This message posted from opensolaris.org
Boris Derzhavets
2008-Sep-08 10:40 UTC
Re: Where is vncviewer on fresh SNV97 Dom0 ? (not bfu''ed)
bash-3.2# export PATH=/usr/X11/bin:/usr/openwin/bin:/usr/sbin:/usr/bin bash-3.2# vncserver You will require a password to access your desktops. /usr/bin/vncpasswd: error: `/usr/bin/.libs/vncpasswd'' does not exist This script is just a wrapper for vncpasswd. See the libtool documentation for more information. -- This message posted from opensolaris.org
John Levon
2008-Sep-08 13:55 UTC
Re: Where is vncviewer on fresh SNV97 Dom0 ? (not bfu''ed)
On Mon, Sep 08, 2008 at 03:02:41AM -0700, Boris Derzhavets wrote:> bash-3.2# vncviewer 192.168.1.17:1 > /usr/bin/vncviewer: error: `/usr/bin/.libs/vncviewer'' does not exist > This script is just a wrapper for vncviewer.vncviewer is broken on snv_97, see elsewhere regards john
Boris Derzhavets
2008-Sep-08 14:16 UTC
Re: Where is vncviewer on fresh SNV97 Dom0 ? (not bfu''ed)
I guess something else is also broken or not installed to expected locations.
I''ve filed a CR regarding failure to set up VNCÂ per CR 6572087
instructions on SNV97 DomU :-
1) Starting on demand from inetd, displaying dtlogin login screen:
# Enable XDMCP connections on dtlogin by removing "-udpport 0"
from args
# Warning: restart will kill all current dtlogin sessions!
svccfg -s cde-login setprop ''dtlogin/args=""''
svcadm restart cde-login
# Add xvnc service to /etc/services if it isn''t already
printf "vnc-server\t5900/tcp\t\t\t# VNC Server\n" >>
/etc/services
# Enable Xvnc inetd service:
inetadm -e xvnc-inetd
Connect from another machine with:
vncviewer hostname:0
and verify you see the login screen and can login to a desktop session.
2) Starting at system boot from dtlogin, displaying dtlogin login screen:
# Add a display1 instance of x11-server service for configuration
# and configure it to run Xvnc
svccfg -s application/x11/x11-server add display1
svccfg -s application/x11/x11-server:display1 addpg options application
svccfg -s application/x11/x11-server:display1 addpropvalue options/server
astring: "/usr/X11/bin/Xvnc"
svccfg -s application/x11/x11-server:display1 addpropvalue options/server_args
astring: ''"SecurityTypes=None"''
# Configure dtlogin to start it
mkdir -p /etc/dt/config
cp /usr/dt/config/Xservers /etc/dt/config/Xservers
echo " :1 Local local_uid@none root /usr/X11/bin/Xserver :1"
>> /etc/dt/config/Xservers
pkill -HUP dtloginConnect from another machine with:
vncviewer hostname:1
andd verify you see the login screen and can login to a desktop session---
On Mon, 9/8/08, John Levon <john.levon@sun.com> wrote:
From: John Levon <john.levon@sun.com>
Subject: Re: [xen-discuss] Where is vncviewer on fresh SNV97 Dom0 ? (not
bfu''ed)
To: "Boris Derzhavets" <bderzhavets@yahoo.com>
Cc: xen-discuss@opensolaris.org
Date: Monday, September 8, 2008, 9:55 AM
On Mon, Sep 08, 2008 at 03:02:41AM -0700, Boris Derzhavets wrote:
> bash-3.2# vncviewer 192.168.1.17:1
> /usr/bin/vncviewer: error: `/usr/bin/.libs/vncviewer'' does not
exist
> This script is just a wrapper for vncviewer.
vncviewer is broken on snv_97, see elsewhere
regards
john
Boris Derzhavets
2008-Sep-11 08:20 UTC
Re: Where is vncviewer on fresh SNV97 Dom0 ? (not bfu''ed)
When i followed http://www.opensolaris.org/jive/thread.jspa?threadID=73161 good old Xvnc gets back again immediatelly. However, vncserver changed it''s behavior. I backed up previous ~/.vnc/xstartup and compared with new one created by vncserver with Xvnc from build 94. They appear to be different. -- This message posted from opensolaris.org