The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   UNIX - General (http://hintsforums.macworld.com/forumdisplay.php?f=16)
-   -   News:Upgrading Fink for Mac OS X 10.2 (http://hintsforums.macworld.com/showthread.php?t=5406)

sao 09-09-2002 02:39 PM

News:Upgrading Fink for Mac OS X 10.2
 
Latest news, please follow the instruccions here:


http://fink.sourceforge.net/news/jaguar.php


Cheers...

PS: If you have questions, let me know.

mervTormel 09-09-2002 06:18 PM

thanks, sao. i really enjoy fink's facility. i even enjoy it when it's broke'd. it gives me a sense of how incredibly intricate these systems are and we should be in awe that they work at all. huzzah, physics!

bluehz 09-09-2002 11:54 PM

thx for the tip sao - followed the instructions at http://fink.sourceforge.net/news/jaguar.php

(took about 5 hrs) and when I got to the last step - I ran into problems. Do you have any ideas?

Code:

[g4:/finkcvs/fink] root#  fink update-all
Information about 1250 packages read in 2 seconds.


fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:

(1)  kdelibs3-ssl-dev: KDE - development headers and libraries for kdelibs3
(2)  kdelibs3-dev: KDE - development headers and libraries for kdelibs3

Pick one: [1]

fink needs help picking an alternative to satisfy a virtual dependency. The
candidates:

(1)  kdebase3-ssl-dev: KDE - base system
(2)  kdebase3-dev: KDE - base system

Pick one: [1]
Failed: Internal error: node for openssl-shlibs already exists

I also tried select [2] above and got the same error.

sao 09-10-2002 01:10 AM

Bluehz,

Yes, this is the infamous "node for packagename already exists" problem. Fink it is not intelligent enough yet to replace the earlier dependence on an older version by the newer one. This usually happens whenever a lot of packages need updating.

To get out from this problem, first you should run 'fink rebuild openssl'

(and 'fink reinstall openssl-shlibs' if it doesn't do it automatically).

Then, try running again 'fink update-all'.

or

The other way to do it (rather tedious) is by individual fink update commands of all the other packages, as usually it can finally be brought to work again when cutting the number of packages down to a sufficiently small number.

Let me know.


Cheers...

sao 09-10-2002 01:17 AM

MervTormel,

Yes, an incredible amount of dedication and effort is going into Fink and the packages. I have only admiration and a lot of respect for the developers.


Cheers...

bluehz 09-10-2002 02:42 AM

thx Sao - I'll try that and see what happens.

I am having a great deal of fun accessing my Linux box usin X-Windows that up until now I have only been using via CLI from OS X. I can't exactly say I know what I am doing with X-Windows - but I'm havin a blast and I see lots of promise.

bluehz 09-11-2002 11:24 AM

sao - took your advice, reinstalled open-ssl then did a fink-update-all. Process started Mon night and JUST finished (wed) - took over 30 hrs. Then the last line says this:

Selecting previously deselected package kdebase3-ssl-dev.
(Reading database ... 45471 files and directories currently installed.)
Unpacking kdebase3-ssl-dev (from .../kdebase3-ssl-dev_3.0.7-2_darwin-powerpc.deb) ...
dpkg: error processing /sw/fink/dists/unstable/crypto/binary-darwin-powerpc/kdebase3-ssl-dev_3.0.7-2_darwin-powerpc.deb (--install):
trying to overwrite `/sw/lib/kde3/lockout_panelapplet.so', which is also in package kdebase3-ssl
Preparing to replace kdebase3-ssl 3.0.2-1 (using .../kdebase3-ssl_3.0.7-2_darwin-powerpc.deb) ...
Unpacking replacement kdebase3-ssl ...
Setting up kdebase3-ssl (3.0.7-2) ...
Errors were encountered while processing:
/sw/fink/dists/unstable/crypto/binary-darwin-powerpc/kdebase3-ssl-dev_3.0.7-2_darwin-powerpc.deb
### execution of dpkg failed, exit code 1
[g4:/Users/cposey] root# 3.0.7-2_darwin-powerpc.deb /sw/fink/dists/unstable/crypto/binary-darwin-powerpc/kdebase3-ssl_3.0.7-2_darwin-powerpc.deb

This is starting to tweak me out! I mean for one thing it taxed my machine for over 30 hrs - then it gives me an error. Please tell me I'm not gonna have to do the 30 hr thing again!

sao 09-11-2002 01:00 PM

Bluehz,

Please don't give up. Just look at the quantity of files Fink handles, is says in your log (Reading database ... 45471 files and directories currently installed).

Anyhow, this is again an unsolved problem with fink's intelligence concerning upgrades. We have to use our own here and help fink by removing kdebase3-ssl first, please try running:


'dpkg -r --force-depends kdebase3-ssl'

and then:

'fink rebuild kdebase3-ssl'

If it was successful then continue with:

'fink update-all', it will go a little faster this time.

Let me know if it works.


Cheers...

Edited: ...oops...I forgot to write the '3' after kdebase-ssl...

bluehz 09-11-2002 05:35 PM

Naaah - not giving up yet - just discouraged at the error msg. Thought it was a total failure. Then I fired up XWindows and KDE came right up. Quit that and started again - this time accessing remote linux box running KDE - VERY COOL!!!

One question - every time I switch XDarwin fullscreen) to the background - it disappears (not sure if its crashing or what - no dialogs, etc - just disappears) Is that standard or is there a way to fix it so it will stay around

Craig R. Arko 09-11-2002 05:50 PM

A slightly off the track question: what version of fink should be running after doing the manual update they suggest?

Mine comes up as 0.10.0-1, with a full file list of:

pkg base-files version ###
pkg base-files version 1.6-1
pkg bzip2 version ###
pkg bzip2 version 1.0.2-1
pkg debianutils version ###
pkg debianutils version 1.16-1
pkg dpkg version ###
pkg dpkg version 1.9.20-3
pkg fink version ###
pkg fink version 0.10.0-1
pkg gettext version ###
pkg gettext version 0.10.40-3
pkg gzip version ###
pkg gzip version 1.2.4a-6
pkg libiconv version ###
pkg libiconv version 1.7-5
pkg ncurses version ###
pkg ncurses version 5.2-7
pkg tar version ###
pkg tar version 1.13.25-1
pkg apt version ###
pkg apt version 0.5.4-4
pkg apt-shlibs version ###
pkg apt-shlibs version 0.5.4-4
pkg storable-pm version ###
pkg storable-pm version 1.0.14-1

Do these match what other people have?

bluehz 09-11-2002 05:58 PM

merv- After following sao's instruction for updating all for 10.2 compatibility - I am now showing:

Package manager version: 0.10.0.cvs
Distribution version: 0.4.0.cvs

How did you get the list of installed packages?

bluehz 09-11-2002 06:01 PM

sao - I tried your suggestion above and here's what I got:

root# dpkg -r --force-depends kdebase-ssl
dpkg - warning: ignoring request to remove kdebase-ssl which isn't installed.
root# fink rebuild kdebase-ssl
Information about 1250 packages read in 1 seconds.

Failed: no package found for specification 'kdebase-ssl'!

mervTormel 09-11-2002 06:31 PM

Quote:

Originally posted by bluehz
merv- After following sao's instruction for updating all for 10.2 compatibility - I am now showing:

Package manager version: 0.10.0.cvs
Distribution version: 0.4.0.cvs

How did you get the list of installed packages?
Craig, i think bluehz is asking you how you produced that list of pkg's

i, too, would like to know.

$ fink -V
Package manager version: 0.10.0.cvs
Distribution version: 0.4.0.cvs

Craig R. Arko 09-11-2002 06:57 PM

It comes up after running 'fink selfupdate' from cvs in a shell.

It says it's running su <username> -c 'cvs -z3 update -d -P', then shows a list of packages, says what its changing, updates fink if necessary, and prints the list of required fink core packages with versions that I listed in the earlier post, and then says "The core packages have been updated. You should now update the other packages using commands like 'fink update-all'.

Now if you ask me how it got configured this way I'll probably respond "I answered Yes to some question sometime." ;)

PimpDaddy 09-11-2002 08:09 PM

Will there be a new binary at some point?
 
Will there be an updated version of the fink binary at some point and an updated installer for 10.2 so one doesn't have to go through all this to get fink working again? Anyone know their plans?

sao 09-11-2002 10:19 PM

Fink version number...
 
According to what Ben Hines wrote at the fink-lists:

"Fink version number will be a "current cvs" version number, different depending on when you installed it. But much more is changed other than the package manager version, it does a whole upgrade giving you access to new 10.2 tree packages.

Mine is:
pkg fink version 0.10.0.cvs-20020909.0050


The fink 10.2 release is technically not yet "released" which is why you have to check out manually from CVS as the instructions state..."


Cheers...

sao 09-11-2002 10:42 PM

Bluehz,

Yes, my fault, I forgot to write the number '3' after kdebase, it should read kdebase3-ssl (I guess it was late at night).

That's why you got the error messages when you tried the commands (..."kdebase-ssl which isn't installed"...)

But wait !, you say you fired XWindows and KDE came up?

Please could you show me the result of:

'fink list --installed'


Cheers...

sao 09-11-2002 10:56 PM

PimpDaddy,

Probably, at some point they will release the binary packages, but I guess all the new packages will have to get out from unstable first. Testing the packages will help.


Cheers...

bluehz 09-11-2002 10:58 PM

Yes - KDE fires up with a few quirks. Some windows (mostly those Help info windows you get when you launch an app) show up stretched all the way across the screen and beyond, the TaskBar has 3 of the same widgets (where you normally have one) on the right side that cover up teh clock, and a few other anomalies. But other than that it works. Any idea why my XWindows envirn quits when I switch it to background?

[g4:~] % fink list --installed
Information about 1250 packages read in 2 seconds.

i apt 0.5.4-5 Advanced front-end for dpkg
i apt-shlibs 0.5.4-5 Advanced front-end for dpkg
i arts 1.1.0-2 KDE - analog realtime synthesizer
i arts-dev 1.1.0-2 KDE - static libraries and headers for aRts
i audiofile 0.2.3-4 Audio File Library
i audiofile-bin 0.2.3-4 Audio File Library
i audiofile-shlib 0.2.3-4 Audio File Library
i autoconf25 2.53-1 System for generating configure scripts
i automake 1.6.3-1 Makefile generator
i base-files 1.6-1 Directory infrastructure
(i) bundle-kde-ssl 3.0.7-2 KDE convenience package: KDE 3.1 (SSL sup...
i bzip2 1.0.2-1 Block-sorting file compressor
i cups 1.1.14-1 Cross-platform printing solution
i darwin 6.0-1 [virtual package representing the kernel]
i db3 3.3.11-8 Berkeley DB embedded database
i db3-shlibs 3.3.11-8 Shared Libraries for db3
i debianutils 1.16-1 Misc. utilities specific to Debian (and F...
i dlcompat 20020709-2 Dynamic loading compatibility library
i docbook-dsssl-n 1.77-1 Norman Walsh's DSSSL DocBook stylesheets.
i docbook-dtd 4.1.2-3 DocBook SGML/XML DTDs official releases
i dpkg 1.9.20-4 The Debian package manager
i efax 0.9a-001114 Simple FAX utility
i esound 0.2.28-1 Enlightened Sound Daemon
i esound-bin 0.2.28-1 Enlightened Sound Daemon
i esound-common 0.2.28-1 Enlightened Sound Daemon
i esound-shlibs 0.2.28-1 Enlightened Sound Daemon
i expat 1.95.3-2 C library for parsing XML
i expat-shlibs 1.95.3-2 C library for parsing XML
i fink 0.10.0.cvs- The Fink package manager
i fluxbox 0.1.10-2 Another Window Manager not unlike blackbox.
i freetype2 2.0.8-4 TrueType font rendering library, version 2
i freetype2-shlib 2.0.8-4 TrueType font rendering library, version ...
i gdbm 1.8.0-6 GNU dbm library
i gdbm-shlibs 1.8.0-6 GNU dbm library
i gettext 0.10.40-3 Message localization support
i ghostscript 7.04-1 Interpreter for PostScript and PDF.
i ghostscript-fon 6.0-3 Standard fonts for Ghostscript
i giflib 4.1.0-7 GIF image format handling library, LZW-en...
i giflib-bin 4.1.0-7 GIF image format handling library, LZW-en...
i giflib-shlibs 4.1.0-7 GIF image format handling library, LZW-en...
i glib 1.2.10-8 Common C routines used by Gtk+ and other ...
i glib-shlibs 1.2.10-8 Common C routines used by Gtk+ and other ...
i glib2 2.0.4-1 Handy library of utility functions
i glib2-dev 2.0.4-1 Handy library of utility functions
i glib2-shlibs 2.0.4-1 Handy library of utility functions
i glut 3.7-3 Opengl utility toolkit
i glut-shlibs 3.7-3 Opengl utility toolkit
i gmp 4.1-1 GNU multiple precision arithmetic library
i gmp-shlibs 4.1-1 GNU multiple precision arithmetic library
i gtk+ 1.2.10-12 The Gimp Toolkit
i gtk+-data 1.2.10-12 The Gimp Toolkit
i gtk+-shlibs 1.2.10-12 The Gimp Toolkit
i gtk-doc 0.9-4 GTK+ DocBook Documentation Generator
i gzip 1.2.4a-6 The gzip file compressor
i imlib 1.9.10-9 General image handling library for X11 an...
i imlib-shlibs 1.9.10-9 General image handling library for X11 an...
i iozone 3.94-1 Filesystem benchmark tool.
(i) kdeartwork3 3.0.7-2 KDE - additional artwork
i kdebase3-ssl 3.0.7-2 KDE - base system
i kdebindings3 3.0.2-1 KDE - Language Bindings
(i) kdeedu3 3.0.7-2 KDE - educational software
(i) kdegames3 3.0.7-2 KDE - games
(i) kdegraphics3 3.0.7-2 KDE - graphics
i kdelibs3-ssl 3.0.7-2 KDE - libraries
i kdelibs3-ssl-de 3.0.7-2 KDE - development headers and libraries f...
(i) kdenetwork3 3.0.7-2 KDE - networking
(i) kdetoys3 3.0.7-2 KDE - Toys
(i) kdeutils3 3.0.7-2 KDE - Misc. utilities
(i) kdevelop 2.1.3-2 KDE - Development IDE
(i) koffice 1.2rc1-2 KDE - Office Suite
i lame 3.92-4 MP3 encoder and graphical frame analyzer
i lame-shlibs 3.92-4 MP3 encoder and graphical frame analyzer
i lesstif 0.93.18-7 Free implementation of OSF/Motif
i lesstif-shlibs 0.93.18-7 Free implementation of OSF/Motif
i libart2 2.3.9-1 Library for high-performance 2D graphics
i libart2-shlibs 2.3.9-1 Library for high-performance 2D graphics
i libcapsinetwork 0.1.1-2 C++ daemon development library
i libcapsinetwork 0.1.1-2 static libraries and headers for libCapsi...
i libiconv 1.7-5 Character set conversion library
i libjpeg 6b-5 JPEG image format handling library
i libjpeg-bin 6b-5 JPEG image format handling library
i libjpeg-shlibs 6b-5 JPEG image format handling library
i libmath++ 0.0.3-2 C++ math library
i libmath++-dev 0.0.3-2 libmath++ development headers and libraries.
i libogg 1.0.0-1 Ogg Bitstream Library
i libogg-shlibs 1.0.0-1 Ogg Bitstream Library
i libpng 1.0.12-6 PNG image format handling library
i libpng-shlibs 1.0.12-6 PNG image format handling library
i libpoll 1.1-3 SysV poll(2) Emulation Library
i libpoll-shlibs 1.1-3 SysV poll(2) Emulation Library
i libtiff 3.5.7-7 TIFF image format library and tools
i libtiff-bin 3.5.7-7 TIFF image format library and tools
i libtiff-shlibs 3.5.7-7 TIFF image format library and tools
i libtool14 1.4.2-6 Shared library build helper, v1.4
i libtool14-shlib 1.4.2-6 Shared library build helper, v1.4
i libvorbis0 1.0-1 The Vorbis General Audio Compression Codec
i libvorbis0-shli 1.0-1 The Vorbis General Audio Compression Codec
i libxml2 2.4.23-4 XML parsing library, version 2
i libxml2-bin 2.4.23-4 XML parsing library, version 2
i libxml2-shlibs 2.4.23-4 XML parsing library, version 2
i libxslt 1.0.19-1 XML stylesheet transformation library
i libxslt-shlibs 1.0.19-1 XML stylsheet transformation shared libra...
i lynx 2.8.4-2 Console based web browser
i m4 1.4-6 Advanced macro processing language
i macosx 10.2-1 [virtual package representing the system]
i mad 0.14.2b-1 High-quality MPEG audio decoder
i mad-bin 0.14.2b-1 High-quality MPEG audio decoder
i mad-shlibs 0.14.2b-1 High-quality MPEG audio decoder
i ming 0.2a-2 C library to make SWF ("Flash") format mo...
i ming-shlibs 0.2a-2 Shared Libraries for ming
i monopd 0.5.0-3 Monopoly-like game server
i mozilla 1.1.0-2 Web browser and mail reader
i mpg123 pre0.59s-4 Real time MPEG Audio Player for Layer 1,2...
i nano 1.0.9-11 Improved clone of the Pico text editor.
i ncurses 5.2-8 Full-screen ascii drawing library
i netpbm 9.25-1 Graphics manipulation programs and libraries
i netpbm-bin 9.25-1 Graphics manipulation programs and libraries
i netpbm-shlibs 9.25-1 Graphics manipulation programs and libraries
i openjade 1.3.1-3 Implementation of DSSSL
i openssl-dev 0.9.6e-1 Secure Sockets Layer and general crypto l...
i openssl-shlibs 0.9.6e-1 Secure Sockets Layer and general crypto l...
i orbit 0.5.17-2 The CORBA ORB used in GNOME
i orbit-bin 0.5.17-2 The CORBA ORB used in GNOME
i orbit-shlibs 0.5.17-2 The CORBA ORB used in GNOME
i pcre 3.9-2 Perl Compatible Regular Expressions Library
i pcre-bin 3.9-2 Perl Compatible Regular Expressions Library
i pcre-shlibs 3.9-2 Perl Compatible Regular Expressions Library
i pkgconfig 0.12.0-1 System for managing library compile/link ...
i python 2.2.1-8 Interpreted, object-oriented language.
i qt3 3.0.5-5 Cross-Platform GUI application framework.
i qt3-shlibs 3.0.5-5 Cross-Platform GUI application framework.
i readline 4.3-5 Comfortable terminal input library
i readline-shlibs 4.3-5 Comfortable terminal input library
i screen 3.9.11-1 Multiplexes a physical terminal.
i sgml-entities-i 1986-3 SGML standard (ISO 8879) entity sets for ...
i storable-pm 1.0.14-1 Perl module for persistent data structures
i t1lib1 1.3.1-2 Generates bitmaps from Type 1 fonts.

bluehz 09-11-2002 11:00 PM

<part II>

i t1lib1-shlibs 1.3.1-2 Shared libs for generating Type 1 Font bi...
i tar 1.13.25-1 GNU tar - tape archiver
i tcltk 8.3.4-1 Tool Command Language and the Tk toolkit.
i tcltk-dev 8.3.4-1 Tool Command Language and the Tk toolkit.
i tcltk-shlibs 8.3.4-1 Tool Command Language and the Tk toolkit.
i tidy 20020902-1 Utility to tidy up HTML code.
i type1inst 0.6.1-3 Type 1 PostScript font installation utility
i windowmaker 0.80.1-1 GNUstep (NeXT-like) Window Manager
i windowmaker-shl 0.80.1-1 GNUstep (NeXT-like) Window Manager
i xfree86-base 4.2.0.1-2 XFree86 libraries, utilities, clients and...
i xfree86-rootles 4.2.0.1-2 XFree86 libraries, utilities, clients and...
i xpdf 1.01-2 Viewer for Portable Document Format (PDF)...
i zlib 1.1.4-1 Compression library

sao 09-11-2002 11:19 PM

Bluehz,

Thanks. Well, it seems the kde installation is allright, except no kdebase3-ssl-dev.

I will suggest you update later all the kde packages that have (i) in front. This means a newer version is available.

For your other question, I'm not sure I understand what you mean when you say XDarwin dissapears.
Quote:

you wrote:
every time I switch XDarwin fullscreen) to the background - it disappears (not sure if its crashing or what - no dialogs, etc - just disappears)
You can check the console log for errors.


Cheers...

bluehz 09-11-2002 11:59 PM

Ok - lets say I launch a fullscreen XDarwin session. I usually do that and work on my Linux box. Everything is fine, can work on it for hours until let say I want to check my mail in OS X. I hit cmd+shift+A to switch out of fullscreen and back into OS X - so I can see the OS desktop, etc. Switch over and start whatever task I want. When I try to go back to XDarwin - its gone. Just disappeared - no dialogs, errors, etc.

Quote:

For your other question, I'm not sure I understand what you mean when you say XDarwin dissapears.
You can check the console log for errors.

Arakageeta 09-12-2002 12:14 AM

short list?
 
Huh, I am having some trouble setting up fink for 10.2. I have followed the instructions posted at sourceforge and everything works... sorta. fink -list gives me only this:

Code:

[localhost:/sw/etc] glenn% fink list
Information about 18 packages read in 1 seconds.

 i  apt              0.5.4-5      Advanced front-end for dpkg
    apt-dev          0.5.4-5      Advanced front-end for dpkg
 i  apt-shlibs      0.5.4-5      Advanced front-end for dpkg
 i  base-files      1.6-1        Directory infrastructure
 i  bzip2            1.0.2-1      Block-sorting file compressor
 i  darwin          6.0-1        [virtual package representing the kernel]
 i  debianutils      1.16-1      Misc. utilities specific to Debian (and F...
 i  dpkg            1.9.20-4    The Debian package manager
    dpkg-bootstrap  1.9.20-1    The Debian package manager (bootstrap pac...
 i  fink            0.10.0.cvs-  The Fink package manager
 i  gettext          0.10.40-3    Message localization support
 i  gzip            1.2.4a-6    The gzip file compressor
 i  libiconv        1.7-5        Character set conversion library
 i  macosx          10.2-1      [virtual package representing the system]
    mktemp                        [virtual package]
 i  ncurses          5.2-8        Full-screen ascii drawing library
 i  storable-pm      1.0.14-1    Perl module for persistent data structures
 i  tar              1.13.25-1    GNU tar - tape archiver

(I've added unstable/main to fink.conf)

Should my list of packages to install really be this short? Where is XFree86? Gees. :) Please advise.

sao 09-12-2002 02:14 AM

Bluehz,

So, you are working in 'one' computer, where you have installed MacOS X 10.2 and also installed XFree86 through Fink. Then, you start an XWindows session by double clicking the XDarwin.app in the Applications folder. You choose from the XDarwin dialogue box, 'fullscreen mode'.

You work in XFree, till you want to switch to MacOS X desktop to use the mail.app, then to switch, you press the Command+option+A keys (default), and you are at the MacOS X desktop.

If this is what you are doing, then to switch back to the XFree86 fullscreen desktop, just click once on the XDarwin.app icon in the apple Dock, and you will be in the Xfree86 desktop.

If this is 'not' what you are doing, please tell me how do you start your XWindows session. And your setup.


Cheers...

sao 09-12-2002 02:21 AM

Arakageeta,

Did you installed Fink from scratch in 10.2 or you upgraded Fink for 10.2?

Did you run 'sudo fink list' ?

Also, if you installed Fink from scratch, have you done:

'fink selfupdate-cvs'

If you are using FinkCommander you probably need to update to the cvs version. Check the other thread about FinkCommander:

http://forums.macosxhints.com/showth...&threadid=5483


Cheers...

Arakageeta 09-12-2002 03:39 AM

Oh hey look at that. It was the 'fink selfupdate-cvs' that killed me. All my packages are back!

sao 09-12-2002 04:32 AM

Arakageeta,

Glad it worked.

Cheers...

bluehz 09-12-2002 08:08 AM

sao - that is basically it, except that I don't have much luck starting XDarwin app itself - normally it launches, I choose fullscreen, and it quits. This may be because I have specifically NOT created an .xinitrc so it starts with the minimum of WM stuff (read below for why).

So here's what I actually do (all on G4):

root@g4: startx -- -fullscreen -quartz

# xdarwin launches and asks me if I want to
# display the X11. Now within XDarwin - eterm.

# The first thing I usually do within XDarwin is
# click on the desktop to access the dropdown
# menu and choose EXIT. This exits the WM as
# much as possible.

root@g4: xhost +linux.macvoodoo.lan
root@g4: ssh -X root@linux

# now on the linux box (SSH from g4)

root@linux: export DISPLAY=g4.macvoodoo.lan:0.0
root@linux: startkde

And that starts a KDE session for me running on the Linux box. The session itself is fantastic - all apps on the linux box launch, etc. In general KDE is MUCH FASTER than when I just launch KDE locally on the OSX box. Everything is fine until I switch out of XDarwin - for example to check mail in OS X. Use cmd+opt+A, switch to OS X app....and at some point while I am in the OSX app and XDarwin is in the background - XDarwin and my KDE session just disappear. It does not happen all the time - maybe 50% of the time. And it seems like the longer I stay in OS X the higher the odds of XDarwin exiting. Almost as if there is some sort of timeout value somewhere.

I KNOW there has to be an easier method of getting a KDE session going than the one I use - but I have yet to find one that works. Please advise if you can. Sure would like to streamline the process. For one thing - you may wonder about the "...click on desktop, exit WM..." methodology I use. If this process is not done then the KDE session from the linux box comes up within windows (titlebars, etc). My method creates a completely full-screen KDE session - just like I was actually on the Linux box.

Quote:

So, you are working in 'one' computer...

You work in XFree, till you want to switch...

If this is what you are doing, then to switch back to the XFree86 fullscreen desktop...

sao 09-15-2002 05:07 AM

Bluehz,

I checked what you are doing and it seems to be fine. I'm a little reluctant to advice, I think osxpez will be more qualified to help you here.


Cheers...

osxpez 09-15-2002 05:26 AM

bluehz: Have you tried using OroborOSX for this? I'd imagine that it would be a matter of starting OroborOSX. starting xterm or Eterm. logging in on the linux box with "ssh -X" and then do "startkde". Don't know if it would keep that dissapearing problem away, but it could be worth a try. I'll try myself. Just need to install kde on my linux box first. =) ... oh it's already done! (Debian GNU/Linux is god's gift to Mac folks who needs Linux). Yes, it worked like I described above. Got an error message about sound not beeing available. But KDE is there. Now I must just find some time playing with it. :)

bluehz 09-15-2002 07:46 AM

osxpez - actually over the last few days I have done exactly what you were suggesting. Installed OrboroOSX. It does seem to be a bit more stable and I have yet to see it disappear. Thx for the advice!

Strangely enough though - I still have to do an:

export DISPLAY=local.machine:0.0

after I get onto the Linux box. I thought that was covered by the ssh -X process but I guess not.

--

I would like to amend my thoughts on OrboroOSX - not very reliable at all. IF (thats a BIG IF) I can get it to actually start then it stays open. The problem is - most times it will not launch. Watching the console it shows Xdarwin crashing every time. Sometimes if I continue to attempt to open OrboroOSX - maybe after the 15-20 launch it will actually launch and stay open. Not very effecient if you ask me....

osxpez 09-15-2002 04:24 PM

Strange. OroborOSX never fails to start on my machine. It isn't that you already have Xfree running or something?

About that "ssh -X". It should be enough. But it could be that sshd on that linux box is set to not forward X11. Check with the sysadmin on the linux box.

bluehz 09-15-2002 05:28 PM

No Xfree already running and I verified that I did not have a ~/.xinitrc either - this caused problems at first. Even a blank one cause problems. Removing it completely solved it.

Also - I can easily start and stop Xfree manually so I know I have no problems there. Funny - OrborosOSX was working great on Fri. haven't changed a thing in the last two days either - no fink installs or anything.

Quote:

Originally posted by osxpez
Strange. OroborOSX never fails to start on my machine. It isn't that you already have Xfree running or something?
Also - I am the admin of the Linux box. Where can I set the X11 port-forwarding?

osxpez 09-15-2002 06:18 PM

X11 forwarding should be default. I think you can configure it in /etc/ssh/sshd.conf. You need to restart sshd after changes in this file I think.

sao 09-16-2002 05:01 AM

Bluehz,

Yes, that's right, you need to put:

ForwardX11 yes

into /private/etc/ssh_conf

as X11 forwarding is not switched on by default.


Cheers...

osxpez 09-16-2002 08:16 AM

The thing is that X11 forwarding should be on by default on most Linux distributions. I've checked on my Debian GNU/Linux box and there the file to edit is:

/etc/ssh/sshd_config

sao 09-16-2002 11:47 AM

osxpez,

I'm sure you are right, just sticking my nose here.

Cheers...

bluehz 09-16-2002 03:11 PM

FYI - on my Slackware Linux 8.1 box the default forwarding is OFF. What are the other two settings I see in the ssh.conf?

X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes

osxpez 09-16-2002 04:44 PM

No idea. But in my sshd_config there's no mention of any "#X11UseLocalhost". Though I do have this line there:

X11DisplayOffset 10


All times are GMT -5. The time now is 06:12 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.