Terje J. Hanssen wrote:
Sid Boyce skrev:
I have a few scripts/comand line entries that allow me to open multiple CDE sessions (3) to Sun boxes/partitions........... X :2 -query <IP address> vt09& X :3 -query <IP address> vt11& etc. and CTRL-ALT-F9 etc. to switch between them.
First some questions to clarify your above procedure:
What is the vt_number and what is the purpose of it? Is it SuSE/KDE thing, as I haven't seen it used for Unix/Linux/X in general?
I use the vt_number, so I can remember where each session is, to get to vt09, use CTRL-ALT-F9, for vt11 use CTRL-ALT-F11 etc.
I think I read some place that vt07 is used for the standard console X display :0 but cannot find where it was. That is, is there a relationship between the X :display_sequence_number and the vt_number? Is two vt_numbers used for each X server as you use X :2 - vt09 and X :3 - vt11? What is your third CDE session, eg X :4 - vt13 or ?
For vt07, look in /etc/X11/xdm/Xservers -------- :0 local /usr/X11R6/bin/X :0 vt07 In the KDE start menu, there is "Start New Session" which starts another session on vt08, you can use KDE on vt07 as normal for a user and use vt08 to login as root, another user or start up the gnome desktop. If you start up the same user on both, you get a duplicated desktop.
How do you terminate each of the X server instances after log out from Solaris/CDE sessions, so that the unused X servers don't consume hardware ressources when you eg. work further in Linux locally?
Use CTRL-ALT-Backspace to terminate the CDE session. I get an excellent display of CDE using 1024x768 at 16 or 24 bpi, but the text font looks slightly different and no errors, using KDE both on my laptop (needs 24 bpi I think, 16 bpi I seem to remember makes the login too big) and on another Linux machine sharing the Sun monitor with the Ultra 5. I get no font errors using KDE.
My test:
I have tried the above syntax from the command line and got it to work a part of the way. I got the CDE login screen and could log in. But the fonts was not good and the geometry of the CDE login screen was too narrow and high. Switching back to SJDS again I saw a lot of font errors, not surprisingly.
I put in extra syntax to apply CDE fonts from the Solaris font server as follows (CDE_host defined in /etc/hosts):
X :2 -fp tcp/CDE_host:7100 -query CDE_host
This solved the font errors, gave good CDE fonts and corrected the geometry of the CDE login screen.
However, one error message still arrieves in the terminal window: (EE) Failed to load module "glx" (module does not exist) Dows somebody knows what this is and what it due too?
I know I have glx in X on Linux installed by the NVIDIA driver --- xdpyinfo tells me I have GLX and NV-GLX . I don't see problems. It's a 3D video support module, something tells me I've seen somewhere that Solaris 7 doesn't have it.
Using Gnome/Linux fonts remotely:
The above syntax works for using the Solaris font server on Linux. But is the syntax identical the opposite way, to use Gnome fonts and Linux fontserver when remote login from the Solaris side?
It's a while since I've tried it from the Solaris side, but nothing stood out by way of display differences.
I myself am not happy with the until now bad and grainy Gnome fonts on the Solaris/X screen. Is this due to no support for font antialiasing in the Solaris 7 Xserver, or are there other options (color depth, screen resolution, changing font types or others) when starting the Solaris Xserver and/or querying the GDM/Linux that can be tried to better the font experience?
May be a Gnome font problem, you could bring up a KDE session and try it from there. I'm not too sure about the results in Solaris 7, I 've only tried it with Solaris 8 and 9 recently. I think we have Solaris 7 servers in the Office where I shall be for a few days, so I shall try it and see what I get. When we had Solaris 7 partitions up on our Primepower M2000, I can't remember any problems, again using KDE of about 3or 4 years ago.
Terje J. Hanssen
Regards Sid. -- Sid Boyce .... Hamradio G3VBV and keen Flyer Linux Only Shop.