OpenSolaris

Discussions Communities Projects Download Source Browser

Home » OpenSolaris Forums » indiana » discuss

Thread: Remote graphical Login xvnc-inetd

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 11 - Last Post: Sep 21, 2008 5:59 PM by: jon_lon
joschang

Posts: 45
From:

Registered: 3/24/08
Remote graphical Login xvnc-inetd
Posted: May 9, 2008 3:38 PM
To: Projects » indiana » discuss
  Click to reply to this thread Reply

I installed the SUNWxvnc package and enabled the xvnc-inetd service, but it started in maintenance mode.

I attempted to use these instructions http://opensolaris.org/os/community/xen/docs/setupvnc/

But I get an error about dtlogin not being a property
# svccfg -s cde-login
svc:/application/graphical-login/cde-login>
svc:/application/graphical-login/cde-login> setprop dtlogin/args=""

Are there any indiana-specific steps to accomplish this? Thanks in advance.

sclither

Posts: 2
From: Calgary

Registered: 5/10/08
Re: Remote graphical Login xvnc-inetd
Posted: May 10, 2008 9:57 PM   in response to: joschang
To: Projects » indiana » discuss
  Click to reply to this thread Reply

Same problem here. I would love to be able to VNC into my machine from work. Anybody have any ideas how to get this to work?

delrio

Posts: 71
From:

Registered: 6/14/05
Re: Remote graphical Login xvnc-inetd
Posted: May 11, 2008 1:19 PM   in response to: joschang

  Click to reply to this thread Reply

Josh wrote:
> Are there any indiana-specific steps to accomplish this? Thanks in advance.

As I understand from the docs, xdmcp and X11 tcp listening needs to be
enabled. With gdm this is done in /usr/share/gdm/defaults.conf

[xdmcp]
Enable=true
[security]
DisallowTCP=false

Restart gdm after editing the file, add the vnc service to /etc/services
and enable xvnc-inetd.
_______________________________________________
indiana-discuss mailing list
indiana-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


sclither

Posts: 2
From: Calgary

Registered: 5/10/08
Re: Remote graphical Login xvnc-inetd
Posted: May 11, 2008 2:11 PM   in response to: delrio
To: Projects » indiana » discuss
  Click to reply to this thread Reply

Works like a charm! Thanks so much. I got close, actually looked at that file, but didn't know what to do.

I'm loving OpenSolaris!

joschang

Posts: 45
From:

Registered: 3/24/08
Re: Remote graphical Login xvnc-inetd
Posted: May 12, 2008 2:52 PM   in response to: delrio
To: Projects » indiana » discuss
  Click to reply to this thread Reply

Thanks for your help, but I still cannot get the service to start and go online:

josh@indianamac:~$ svcs -xv
svc:/application/x11/xvnc-inetd:default (X server that displays to VNC viewers)
State: maintenance since Mon May 12 14:45:24 2008
Reason: Restarter svc:/network/inetd:default gave no explanation.
See: http://sun.com/msg/SMF-8000-9C
See: man -M /usr/X11/share/man -s 1 Xvnc
Impact: This service is not running.
josh@indianamac:~$ svcs | grep inetd
online 14:45:22 svc:/network/inetd:default
maintenance 14:45:24 svc:/application/x11/xvnc-inetd:default

josh@indianamac:~$ tail /etc/services
fs 7100/tcp # Font server
rdc 121/tcp # SNDR server daemon
snmpd 161/udp snmp # SMA snmp daemon
swat 901/tcp # Samba Web Adm.Tool
servicetag 6481/udp
servicetag 6481/tcp
wnn6 22273/tcp # Wnn6 jserver
wnn6 22273/udp # Wnn6 jserver
vnc 5800/tcp
vnc 5900/tcp

and in /etc/X11/gdm/custom.conf:

[security]

DisallowTCP=false

[xdmcp]

Enable=true

[gui]


[greeter]
Browser=true

delrio

Posts: 71
From:

Registered: 6/14/05
Re: Remote graphical Login xvnc-inetd
Posted: May 12, 2008 3:43 PM   in response to: joschang

  Click to reply to this thread Reply

Josh wrote:
> Thanks for your help, but I still cannot get the service to start and go online:
>
> josh@indianamac:~$ tail /etc/services
> fs 7100/tcp # Font server
> rdc 121/tcp # SNDR server daemon
> snmpd 161/udp snmp # SMA snmp daemon
> swat 901/tcp # Samba Web Adm.Tool
> servicetag 6481/udp
> servicetag 6481/tcp
> wnn6 22273/tcp # Wnn6 jserver
> wnn6 22273/udp # Wnn6 jserver
> vnc 5800/tcp
> vnc 5900/tcp

Try:

$ tail /etc/services
dtspc 6112/tcp # CDE subprocess control
fs 7100/tcp # Font server
rdc 121/tcp # SNDR server daemon
snmpd 161/udp snmp # SMA snmp daemon
swat 901/tcp # Samba Web Adm.Tool
servicetag 6481/udp
servicetag 6481/tcp
wnn6 22273/tcp # Wnn6 jserver
wnn6 22273/udp # Wnn6 jserver
vnc-server 5900/tcp # Xvnc

_______________________________________________
indiana-discuss mailing list
indiana-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


osnoob

Posts: 1
From:

Registered: 7/28/08
Re: Remote graphical Login xvnc-inetd
Posted: Jul 28, 2008 9:55 AM   in response to: joschang
To: Projects » indiana » discuss
  Click to reply to this thread Reply

Not sure if it helps,
but check if xvnc-inetd service is trying to start with the user other then "root".

Command: [i]inetadm -l xvnc-inetd[/i]

In my case I had to change user="nobody" to user="root" to get it working.

Command:[i] inetadm -m xvnc-inetd user="root" [/i](I think)

Dave Miner
dminer@opensolaris.org
Re: Remote graphical Login xvnc-inetd
Posted: May 19, 2008 7:19 AM   in response to: delrio

  Click to reply to this thread Reply

Oscar del Rio wrote:
> Josh wrote:
>> Are there any indiana-specific steps to accomplish this? Thanks in advance.
>
> As I understand from the docs, xdmcp and X11 tcp listening needs to be
> enabled. With gdm this is done in /usr/share/gdm/defaults.conf
>
> [xdmcp]
> Enable=true
> [security]
> DisallowTCP=false
>
> Restart gdm after editing the file, add the vnc service to /etc/services
> and enable xvnc-inetd.

One correction: you should make these edits in /etc/X11/gdm/custom.conf
so that they'll be preserved on any upgrades.
/usr/share/gdm/defaults.conf contains the defaults as shipped in the
packages and should not be edited at a site.

Dave
_______________________________________________
indiana-discuss mailing list
indiana-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


alanc

Posts: 5,504
From: US

Registered: 3/9/05
Re: Remote graphical Login xvnc-inetd
Posted: May 12, 2008 8:45 AM   in response to: joschang

  Click to reply to this thread Reply

Josh wrote:
> I installed the SUNWxvnc package and enabled the xvnc-inetd service, but it started in maintenance mode.

Make sure you've added the vnc-server service to /etc/services (the Xen docs
page has a typo - it's vnc-server, not nv-server).

> I attempted to use these instructions http://opensolaris.org/os/community/xen/docs/setupvnc/
>
> But I get an error about dtlogin not being a property
> # svccfg -s cde-login
> svc:/application/graphical-login/cde-login>
> svc:/application/graphical-login/cde-login> setprop dtlogin/args=""
>
> Are there any indiana-specific steps to accomplish this? Thanks in advance.

cde-login/dtlogin are not included in OpenSolaris. The Xen docs need to be
updated to show gdm, which is what OpenSolaris (and future versions of Solaris)
uses instead of dtlogin.

--
-Alan Coopersmith- alan dot coopersmith at sun dot com
Sun Microsystems, Inc. - X Window System Engineering

_______________________________________________
indiana-discuss mailing list
indiana-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


jon_lon

Posts: 29
From:

Registered: 9/13/08
Re: Remote graphical Login xvnc-inetd
Posted: Sep 14, 2008 8:42 AM   in response to: alanc
To: Projects » indiana » discuss
  Click to reply to this thread Reply

I have followed these steps and brought the service online, but when i try to connect from a macbook pro, the connection sits for a while and appears to hang.

any ideas?

sparcdr

Posts: 1,032
From: US

Registered: 3/24/06
Re: [indiana-discuss] Remote graphical Login xvnc-inetd
Posted: Sep 14, 2008 12:33 PM   in response to: jon_lon

  Click to reply to this thread Reply

john long wrote:
> I have followed these steps and brought the service online, but when i try to connect from a macbook pro, the connection sits for a while and appears to hang.
>
> any ideas?
> --
> This message posted from opensolaris.org
> _______________________________________________
> indiana-discuss mailing list
> indiana-discuss at opensolaris dot org
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>
What client? The built-in one (Launched from cmd + alt + k;
vnc://host:port) deviates from VNC specifications. Try chicken of the
vnc (sourceforge) or vncviewer (from realvnc.com) or even macports vnc.
(tightvnc i think)

James
_______________________________________________
indiana-discuss mailing list
indiana-discuss at opensolaris dot org
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss


jon_lon

Posts: 29
From:

Registered: 9/13/08
Re: [indiana-discuss] Remote graphical Login xvnc-inetd
Posted: Sep 21, 2008 5:59 PM   in response to: sparcdr
To: Projects » indiana » discuss
  Click to reply to this thread Reply

Zowie. Mac POS. Thanks.




Terms of Use | Privacy | Trademarks | Copyright Policy | Site Guidelines
Your use of this web site or any of its content or software indicates your agreement to be bound by these Terms of Use.
Copyright © 1995-2005 Sun Microsystems, Inc.