Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'How to run rootless X11 and rooted KDE and GNOme at once...' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
How to run rootless X11 and rooted KDE and GNOme at once...
Authored by: by on Feb 08, '04 04:49:50AM
This is a truely magnificent hint, thank you very much!!!

Here's what I did to be able to run a normal X11 in rootless mode as well as rooted KDE and GNOME (applies to other window manager as well; source /sw/bin/init.sh stems from fink):

First I created a .xinitrc with this content:


source /sw/bin/init.sh
/usr/X11R6/bin/quartz-wm
This starts Apple's Quartz-WM and stops the annoying termnal session when launching X11.

Next I created a .xinitrc.kde for KDE:


source /sw/bin/init.sh
export KDEWM=kwin
/sw/bin/startkde >/tmp/kde.log 2>&1
(sets KDE's window manager to the standard kwin, otherwise you are running without any wm, which is not a good idea...)

and a .xinitrc.gnome for GNOME:


source /sw/bin/init.sh
exec gnome-session

In Apple's X11, I created these menu entries within 'Applications/Customize...':

KDE: xinit ~/.xinitrc.kde -- /usr/X11R6/bin/Xnest :3 -geometry 1000x650

GNOME: xinit ~/.xinitrc.gnome -- /usr/X11R6/bin/Xnest :3 -geometry 1000x650

Now I can call up KDE as well as GNOME, each within its own rooted window, great!

Best regards,

Michael

[ Reply to This | # ]

How to run rootless X11 and rooted KDE and GNOme at once...
Authored by: ScienceMan on Feb 12, '04 10:48:23AM
I cannot get this to work with gnome. To be sure I had a current installation, I used fink to do a full recomplilation of the latest cvs version of the gnome convenience package. In X11, if I select the GNOME application after following this hint, the XNest window appears, the gnome startup spash screen for 2.4 comes up, and then the XNest window exits and disappears. In the console, I have the following log:
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            Can't find file "unknown" for geometry include
>                   Exiting
>                   Abandoning geometry file "default"
Errors from xkbcomp are not fatal to the X server
Couldn't get keyboard.
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
SESSION_MANAGER=local/My-Computer.local:/tmp/.ICE-unix/1715
Xlib:  extension "RENDER" missing on display ":3.0".

** (gnome-session:1715): WARNING **: Cannot open font file for font Verdana 10

** (gnome-session:1715): WARNING **: Cannot open fallback font, nothing to do

waiting for X server to shut down 
What could be wrong here?

[ Reply to This | # ]
How to run rootless X11 and rooted KDE and GNOme at once...
Authored by: nobody on Feb 12, '04 12:21:18PM

Try to deactivate Font smoothing in your Window Manager.
Does it work then ?



[ Reply to This | # ]
How to run rootless X11 and rooted KDE and GNOme at once...
Authored by: ScienceMan on Feb 14, '04 01:40:45PM

Hmm. There is a font smoothing option in the Mac OS X System Preferences Appearance panel, but it does not appear to have any setting that allows "off". Note the error says it cannot find the Verdana font -- where would this be?



[ Reply to This | # ]
How to run rootless X11 and rooted KDE and GNOme at once...
Authored by: nobody on Feb 14, '04 07:46:43PM

I meant to disable the font smoothing in gnome - this is not related to MacOSX.
I am not familiar with gnome, so I cant tell you where to search for, but there should be a an option to decativate it.
Launch Gnome in a normal rootless session and look for a way to disable font smoothing, save. Then quit X11 and start Xnest



[ Reply to This | # ]
How to run rootless X11 and rooted KDE and GNOme at once...
Authored by: by on Feb 16, '04 01:53:43PM

It's a problem with fink/Gnome and I found a solution here:
http://article.gmane.org/gmane.os.apple.fink.gnome/343

Hope this help.

Best regards,
Michael



[ Reply to This | # ]