[kde-solaris] krfb

Stefan Teleman steleman at nyc.rr.com
Wed Jan 7 03:10:24 CET 2004


Hi!

I am able to remote desktop from my Sun box to my Linux laptop (both 
runinng KDE 3.1.4) as follows:

on the Sun (host) box, make sure krfb has an entry in /etc/pam.conf:

krfb    auth    requisite       pam_authtok_get.so.1
krfb    auth    sufficient      pam_dhkeys.so.1
krfb    auth    sufficient      pam_unix_auth.so.1
krfb    auth    requisite       pam_authtok_get.so.1
krfb    auth    optional        pam_dhkeys.so.1
krfb    auth    optional        pam_unix_auth.so.1
#
krfb    account sufficient      pam_unix_account.so.1
krfb    account optional        pam_unix_account.so.1

on the target (linux) box, i start the vncserver as follows:
vncserver :1 -name starwars -depth 24

then i connect to it from the Sun box as starwars:1 using the KDE 
Remote Desktop Connection app. Everything works fine, the colors are 
fine, in spite of the fact that i connect between machines with 
different RGB bitmasks. I experienced a slight delay with the mouse 
showing up in the remote desktop window (about 10 seconds), but after 
it showed up, it works fine.

--Stefan

-----

On Tuesday 06 January 2004 13:18, Naci Ishakbeyoglu wrote:
> That removed the message, but still vncviewer does not show
> anything on the win2k box. I see that the 'eye' icon goes to the
> task bar on kde though.
>
> Anyway, I login into CDE and run vncserver which invokes kde.
> Then I run vncviewer full screen on the solaris box. And windows
> vncviewer successfully access to the vncserver.
>
> Let me know if anyone successfully access kde desktop :0 using
> krfb.
>
> Thanks,
> Naci.
>
> Stefan Teleman wrote:
> >i haven't tried the desktop sharing between KDE and windoze.
> >
> >this error means the Ultra is not configured for enough file
> >descriptors per process (the defaults are pretty low).
> >
> >i would try this:
> >
> >in a shell on the Ultra 5:
> >
> >prompt%> ulimit -Ha
> >[ should say: nofiles(descriptors) 8192 (amongst other things) ]
> >
> >prompt%> ulimit -Sa
> >[ should say: nofiles(descriptors) 1024 (amongst other things) ]
> >
> >if either of these values are lower, then here's the fix: add the
> >following two lines in /etc/system at the very end (requires root
> >privileges), and then reboot the Ultra:
> >
> >set rlim_fd_max=8192
> >set rlim_fd_cur=1024
> >
> >This raises the soft and hard limits for the number of file
> >descriptors per process.
> >
> >Let me know! :-)
> >
> >--Stefan
> >
> >----
> >
> >On Tuesday 06 January 2004 02:33, Naci Ishakbeyoglu wrote:
> >>Hi,
> >>
> >>I just installed solaris 8 binary packages.
> >>When I try to use desktop sharing with a tight vnc
> >>client on windows 2000 to my ultra-5 solaris 8 box,
> >>I don't see anything happening on windows side.
> >>Normally it should bring the password window.
> >>
> >>Then I say krfb on a shell on ultra-5 and it says
> >>"setrlimit: not owner". Do you know what may be wrong?
> >>
> >>Thanks,
> >>Naci.
> >>
> >>PS. Anyone got desktop sharing working properly form
> >>tight vnc on windows 2000 client to kde 3.1.4 on solaris 8?
> >>I used to be able to connect with earlier kde version but
> >>garbled colors on win2k side and keyboard was not working
> >>properly.
> >>
> >>
> >>
> >>___________________________________________________
> >>This message is from the kde-solaris mailing list.
> >>Account management:
> >>https://mail.kde.org/mailman/listinfo/kde-solaris. Archives:
> >>http://lists.kde.org/.
> >>More info: http://www.kde.org/faq.html.

-- 
Stefan Teleman          'Nobody Expects the Spanish Inquisition'
steleman at nyc.rr.com                          -Monty Python



More information about the kde-solaris mailing list