LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 07-22-2006, 09:16 PM   #1
dasbooter
Member
 
Registered: Mar 2005
Posts: 122

Rep: Reputation: 15
Help me jesus, help me tom cruise, xgl & freenx


I am currently running xgl xinerama style on 2 monitors in Suse 10.1 . I have used freenx for some time now to remote upstairs on my local network. The problem I have is that you cannot of course 3d desktop over the lan. The nxclient connects and gives me a desktop as it has always done but of course I have no window manager so I cannot resize move or even type in any of the dialogs. I used the method found on this page to stop kde and start compiz and xgl http://en.opensuse.org/Using_Xgl_on_SUSE_Linux . Is there a way to stop compiz and xgl and restart my 2d windows manager for the nx client and then restart compiz and xgl when I am done. I would also consider using an alternate account for remoting one that doesnt use xgl but I am not sure what is the best way to go about doing this. The method I am using works quite well but all accounts start now in a 3d desktop. Open to suggestions Anybody
 
Old 07-23-2006, 09:19 AM   #2
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Not to be too rude, but haven't you been here long enough to know better than to put "Help me jesus, help me tom cruise," in your subject?

1st, it's a pointless waste of space, detracting from your real Q.

2nd, it's potentially religiously offensive: failure to capitalize "Jesus" & apparently praying to Tom Cruise.

BTW, because of the above I didn't bother to read the rest of your post; I did not, however, report it to the moderators.
 
Old 07-23-2006, 10:20 AM   #3
lostn1slinux
Member
 
Registered: Nov 2005
Distribution: Suse, Debian, Ubuntu, Mandriva, DSL, Fedora, Redhat Entrerprise
Posts: 113

Rep: Reputation: 15
that line comes from "Taladega the legend of Ricky Bobby"
 
Old 07-23-2006, 06:05 PM   #4
dasbooter
Member
 
Registered: Mar 2005
Posts: 122

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by archtoad6
Not to be too rude, but haven't you been here long enough to know better than to put "Help me jesus, help me tom cruise," in your subject?

1st, it's a pointless waste of space, detracting from your real Q.

2nd, it's potentially religiously offensive: failure to capitalize "Jesus" & apparently praying to Tom Cruise.

BTW, because of the above I didn't bother to read the rest of your post; I did not, however, report it to the moderators.
Takes all kinds to keep the world spinning, I guess. Have a nice day, and I truly mean that with no sarcastic undertones.

Quote:
Originally Posted by lostn1slinux
that line comes from "Taladega the legend of Ricky Bobby"
Ya and the first time I saw the preview it cracked me up(the camera angle is priceless) after all tom cruise does seem to know the answer to everybodies problems as of late, he so wise

Anyways back to my original post any takers on my original question

Last edited by dasbooter; 07-23-2006 at 06:07 PM.
 
Old 07-23-2006, 08:14 PM   #5
pilotgi
Member
 
Registered: Apr 2002
Location: ks
Distribution: openSUSE Tumbleweed
Posts: 495

Rep: Reputation: 33
Are you familiar with this command?:

gnome-xgl-settings

That will bring up a window that will allow you to turn off xgl and compiz.
 
Old 07-24-2006, 03:18 PM   #6
dasbooter
Member
 
Registered: Mar 2005
Posts: 122

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pilotgi
Are you familiar with this command?:

gnome-xgl-settings

That will bring up a window that will allow you to turn off xgl and compiz.
For me that brings up a window that states:

Xgl is enabled. However, it is not configured with the options that are recommended for your video card. Using the wrong options may result in slower 3D performance, or might even cause Xgl to crash in some cases.

To fix this, press "Update Desktop Effects Settings" below. This will log you out and return you to the login screen.

I dont think I will use the update desktop effects settings button as almost everything is working really well and it is also telling me that my graphics card is not in the database which seems unusual it is a 6600 nvidia asus board, which is probaly fairly common.

I cant find anything that says disable xgl or compiz however.
Besides
Code:
gnome-xgl-switch --disable-xgl
will disable xgl.

I think my problem is the window manager I need to stop compiz and restart kwin.I could putty in a do some stuff I guess but I think freenx can run a script when it starts to but I am not sure.Remoting from the system brings up my desktop alright but all dialogs windows have no titlebar and you cant even type in them.

I had some trouble using the compiz.desktop method in the kde autostart folder. I had the same problem that I am now having when remoting to my desktop which no titlebar cannot type in dialogs etc. In the end I used the method from the page linked in my first post.Here is an excerpt:
Quote:
Originally Posted by actually in the opensuse page linked above
Using Compiz with the KDE desktop

First, make sure you are logged into KDE just like normal. Go into "Personal Settings", then "Desktop", then "Taskbar". Make sure "Show windows from all desktops" is checked. (Currently this is required for proper functioning of the taskbar under Compiz.)

Now you need to create two files that will let KDE know that you want another window manager (compiz) instead of the default kwin. Open the kate editor as root: KDE Launch (green SUSE logo), Run Command: kdesu kate (you will be prompted for the root password). Copy and paste the following into a new text document:

/usr/bin/compiz gconf & /usr/bin/gnome-window-decorator &

Save it to /usr/local/bin with the name compiz.sh This file needs to be given execute permissions. That can be done this way: KDE Launch, System, File Manager, File Manager - Super User Mode (you will be promted for the root password). Go to /usr/local/bin, right-click on compiz.sh, choose Properties, Permissions tab, check [x] Is Executable.

One more file is needed: create it following the same procedure as for compiz.sh , but save this one in /opt/kde3/env with the name kdewm.sh and copy and paste this line in it:

export KDEWM=/usr/local/bin/compiz.sh

You also need to make this file executable, in the same way as for compiz.sh. This will instruct KDE to run compiz.sh instead of kwin. Once this is done, log out of KDE and log back in. You should have functioning Xgl on your shiny new K Desktop Environment.

See also the section on KDE on the Xgl troubleshooting page.

Last edited by dasbooter; 07-24-2006 at 03:20 PM.
 
Old 07-26-2006, 06:13 PM   #7
ku4tp
LQ Newbie
 
Registered: Aug 2004
Distribution: SuSE
Posts: 24

Rep: Reputation: 15
Add another thanks to all for more XGL info - I can't use it yet, but plan too. I'm sure I'll be back to this thread.

Oh - and the Tom Cruise comment is a reference to "Days of Thunder", another NASCAR movie (that - BTW - did not go down so well with fans) Looking forward to "Talledega Nights"

And another NASCAR / Linux tie in - I'm told the Fanscan (or whatever they call it) - the little yellow scanner/monitor/data reader that you can rent at races - is Linux based! Cool!

Last edited by ku4tp; 07-26-2006 at 06:15 PM.
 
Old 07-26-2006, 09:53 PM   #8
dasbooter
Member
 
Registered: Mar 2005
Posts: 122

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ku4tp
Oh - and the Tom Cruise comment is a reference to "Days of Thunder", another NASCAR movie (that - BTW - did not go down so well with fans) Looking forward to "Talledega Nights"
Oh ya ,heh, I forgot about "Days of Thunder" I havent seen the flick myself(Talledega Nights) is it rated PG. I am not sure my soul would tolerate me seeing anything more than G rated or I may go straight to h e double hockey sticks


Quote:
Originally Posted by ku4tp
And another NASCAR / Linux tie in - I'm told the Fanscan (or whatever they call it) - the little yellow scanner/monitor/data reader that you can rent at races - is Linux based! Cool!
Makes sense a fast simple system to cover fast cars.

In any case I have sort of adopted a sloppy work around to my problem.

Putting a few scripts in the kde/autostart directory seems to have helped:

Code:
/usr/bin/compiz gconf --replace &
/usr/bin/gnome-window-decorator &
and

Code:
export KDEWM=/home/dasbooter/.kde/Autostart/compiz.sh
With this setup it takes longer to log in(as the scripts run) but all the settings I have for compiz via gset compiz are working more or less with the exception of the scale plugin sort of acting up. Remoting from a windows based cliet downstairs now works as it should. Still waiting on a better suggestion as this set up is sort of hacky. Wondered if adding the lines above to Xsession in XDM would be better?
 
Old 09-07-2006, 02:40 PM   #9
joegilmore
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
The power of Christ compells you! The power of Christ compells you! Out you Talledega Nights! Out you Tom Cruise!

WTF???? <GRIN>

Anywho, enough with the exorcisim, back to Linux stuff.

What I've done in the past with mostly java programs (LimeWire, etc) is a startup script.

##############
#! /bin/sh
metacity --replace
limewire
compiz gconf --replace
##############

Seemed to work well during the XGL pre-alpha days

Go in peace my child,

Father Guido

(Joe Gilmore)

PS If you're wondering if God has a sense of humor, all you have to do is look at the world around you!
 
Old 09-07-2006, 03:53 PM   #10
dasbooter
Member
 
Registered: Mar 2005
Posts: 122

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by joegilmore
The power of Christ compells you! The power of Christ compells you! Out you Talledega Nights! Out you Tom Cruise!

WTF???? <GRIN>

Anywho, enough with the exorcisim, back to Linux stuff.

What I've done in the past with mostly java programs (LimeWire, etc) is a startup script.

##############
#! /bin/sh
metacity --replace
limewire
compiz gconf --replace
##############

Seemed to work well during the XGL pre-alpha days

Go in peace my child,

Father Guido

(Joe Gilmore)

PS If you're wondering if God has a sense of humor, all you have to do is look at the world around you!
Well it has been awhile since this thread was started and for some reason God still has not singed my underwear with lightning(as so far as I know )

Anyways I have switched to a script calling compiz-start.py which works with the exception that after a remote session is started I have to manually restart the window manager compiz as when I return to the host system there are no window decorations.I wish there was a way to have nx restart the window manager as you were logging off from the remote session but so far have not been able to(or maybe I meant Abel). Cain (I mean Can ) anybody help me out
 
Old 09-08-2006, 10:56 AM   #11
SkippyBoy
Member
 
Registered: Oct 2005
Distribution: Suse10.2
Posts: 65

Rep: Reputation: 15
Here is a silly question - do you do your remote login with the same user name as you use on the host?

If I understand correctly - Suse remembers which desktop/window manager you used on your last login - and starts it back up automatically. That would mean - if you log in remotely with NX using KDE - then come back to sit in front of the machine and just login - it would put you back into KDE.

Am I totally off base here?
 
Old 09-09-2006, 09:16 PM   #12
joegilmore
LQ Newbie
 
Registered: Sep 2006
Posts: 2

Rep: Reputation: 0
Hey Skippyboy!

There are no silly questions..just silly people who ask questions

I'm not sure I understand the first Q (but I'll answer anyway

When you're using NX you need to log in to the remote as a user on the remote machine that nxserver on the remote machine knows.



Anywho, the answer is, that depends on how you have your X setup. From the 2 biggies (KDE/Gnome), it depends on the settings you choose from gdm, twm, or kdm. But as far as XORG and XGL, that's a bit more tricky. As for my last post, if you use the script I posted, it will substitute metacity for compiz for the lifetime of whatever app you put where limewire is. On exit of the app, it resets back to compiz. It worked WONDERFULLY during the early days of XGL when java was having redraw issues with XGL.

Hope this helps!
Joe
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse10 w/FreeNX 1.4.0-44 & WinXP w/NX Client 1.5.0-138 knu2xs Linux - Networking 3 01-06-2006 04:00 PM
Linux == Jesus? SystemDownfall Linux - General 22 08-25-2005 07:11 PM
cruise control " Warning: -configfile=/cruisecontrol.xml not understood. Ignoring." emailssent Linux - Networking 0 02-28-2005 03:11 AM
JESUS! HELP! BELKIN V3 wireless andredoria Linux - Wireless Networking 2 05-12-2004 03:29 PM
Specific Tom Waits Picture dushkinup General 1 04-03-2004 08:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 12:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration