Re: [osol-discuss] How to allow multiple users have different VNC sessions on OpenSolaris?

2009-04-22 Thread Tom Chen
Halton,

I tried, but doesn't work on nv112 x86 servers. Sigh.

Also, the Desktop Sharing method doesn't work if the remote server (to 
access)has no keyboard or mouse,i.e, if the remote machine is not log in, or if 
the log in menu is shown, then, all other users can not access it. 

Below is the error I got on an Sparc server.

Tom

Fatal server error:
failed to initialize core devices
KIOCCMD: Invalid argument
ddxSUNWkbd: Failed to turn off keyclick on /dev/kbd
XIO:  fatal IO error 146 (Connection refused) on X server ":0.0"
  after 0 requests (0 known processed) with 0 events remaining.
fbconsole: ioctl SRIOCSREDIR: Invalid argument
KIOCCMD: Invalid argument
Failed to set keyclick on /dev/kbd
ioctl((('v'<<8)|2)): Invalid argument
ddxSUNWmouse: VUIDGFORMAT ioctl failed on /dev/mouse

Fatal server error:
failed to initialize core devices
KIOCCMD: Invalid argument
ddxSUNWkbd: Failed to turn off keyclick on /dev/kbd
XIO:  fatal IO error 146 (Connection refused) on X server ":0.0"
  after 0 requests (0 known processed) with 0 events remaining.
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to allow multiple users have different VNC sessions on OpenSolaris?

2009-04-22 Thread Tom Chen
nola,

I tried the link, but his method does not work for nv112. Sigh.

Tom
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to allow multiple users have different VNC sessions on OpenSolaris?

2009-04-21 Thread Rob Nelson
You could follow these instructions:

http://opensolaris.org/jive/thread.jspa?messageID=361235

To setup multiple Xvnc servers running on multiple ports (5901, 5902, 5903, ...)

Give each user his/her own port.  This will be an individual desktop for each 
user.

Cheers,

nola
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


Re: [osol-discuss] How to allow multiple users have different VNC sessions on OpenSolaris?

2009-04-21 Thread Halton Huo
On Mon, 2009-04-20 at 11:28 -0700, Tom Chen wrote:
> Hi,
> 
> Thanks for everyone helping me out on the previous post about VNC setup.
> 
> The method is to enable Desktop Sharing: System --> Preferences --> Desktop 
> Sharing 
Vino is run after gnome-session, this means you need have a live
session.

Vino is designed to share a live user desktop, I do not think this
solution satisfy you. You want to login as different users, try the
XDMCP solution then.

> 
> I re-installed nv112 and it works! I guess the reason why I failed is that I 
> tried some scripts before then this method did not work.
> 
> However, there is still an issue remains, ie. all users get the same Desktop 
> picture which is troublesome if several people need to access it at the same 
> time. 
Guess you're still use vino here. Disable vino, then configure XDMCP
with steps that Chavdar Ivanov gave you.

[quote]
 - edit /etc/X11/gdm/custom.conf to contain:

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

$ pfexec svcadm enable xvnc-inetd
$ pfexec svcadm restart gdm (that will log you out, obviously).

[/quote]
> 
> Before, I used to edit "/etc/X11/gdm/custom.conf" and use "svcadm enable 
> xvnc-inetd" "svcadm enable gdm" etc to enable vnc server on the remote 
> machine. These scripts can allow several users work independently. However, 
> this method ceased to work in recent OpenSolaris.
> 
> Tom

___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] How to allow multiple users have different VNC sessions on OpenSolaris?

2009-04-20 Thread Tom Chen
Hi,

Thanks for everyone helping me out on the previous post about VNC setup.

The method is to enable Desktop Sharing: System --> Preferences --> Desktop 
Sharing 

I re-installed nv112 and it works! I guess the reason why I failed is that I 
tried some scripts before then this method did not work.

However, there is still an issue remains, ie. all users get the same Desktop 
picture which is troublesome if several people need to access it at the same 
time. 

Before, I used to edit "/etc/X11/gdm/custom.conf" and use "svcadm enable 
xvnc-inetd" "svcadm enable gdm" etc to enable vnc server on the remote machine. 
These scripts can allow several users work independently. However, this method 
ceased to work in recent OpenSolaris.

Tom
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org


[osol-discuss] How to allow multiple users have different VNC sessions on OpenSolaris?

2009-04-20 Thread Tom Chen
Hi,

Thanks for everyone helping me out on the previous post about VNC setup.

The method is to enable Desktop Sharing: System --> Preferences --> Desktop 
Sharing 

I re-installed nv112 and it works! I guess the reason why I failed is that I 
tried some scripts before then this method did not work.

However, there is still an issue remains, ie. all users get the same Desktop 
picture which is troublesome if several people need to access it at the same 
time. 

Before, I used to edit "/etc/X11/gdm/custom.conf" and use "svcadm enable 
xvnc-inetd" "svcadm enable gdm" etc to enable vnc server on the remote machine. 
These scripts can allow several users work independently. However, this method 
ceased to work in recent OpenSolaris.

Tom
-- 
This message posted from opensolaris.org
___
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org