SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-12-2007, 08:59 PM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Starting Studio on Linux?

Ok, I followed the instructions on the Linux FAQ here:

1. I'm running a GUI window manager (Gnome under Ubuntu 7.04) and logged in via the GUI.
2. I removed "-Djava.awt.headless=true" from the startsage script
3. I added the "force_headless_mode=true" to Sage.properties
4. /opt/sagetv/server/EULAstudio.txt exists

when I do "startsage" from a shell (in the GUI), the SageTV server process starts as normal, but I never see any EULA window or Studio window on the server.

What am I doing wrong?

Side note: I'd really love to be able to just use Studio directly on my Mac (server is Linux in the basement, but the main daily use machine is a Mac), but I suspect that would require a new server license for my Mac. Any chance of that changing? The files generated by Studio are only useful to a licensed server instance, right? So why does using Studio itself require a server license on the same machine? Is it simply that the server process and Studio are too tightly integrated? Just curious...

Thanks,

John
Reply With Quote
  #2  
Old 06-13-2007, 07:42 AM
_Demo_ _Demo_ is offline
Moderator
 
Join Date: Mar 2003
Posts: 863
Send a message via ICQ to _Demo_
Did you run the sageclient.sh and tried pressing ctrl-shift-F12?

_Demo_
Reply With Quote
  #3  
Old 06-13-2007, 09:49 AM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Actually, no. Forgive my newbie-ness - the FAQ entry didn't mention that you need to run the "client". (Isn't the "client" on Linux just Placeshifter?) From the wording of the FAQ I assumed that Studio was somehow spawned via the server startup script. I hadn't even installed the Linux client on that Linux box, since I normally don't use it as a Linux desktop or a Sage client.

When I get home tonight I will try again.

So if the Linux client is really Placeshifter, and I can spawn Studio from Placeshifter, I should be able to spawn Studio from the Placeshifter running on my Mac, right? That would be perfect.

Thanks for the clarification!

John
Reply With Quote
  #4  
Old 06-13-2007, 10:27 AM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by jpwegas View Post
So if the Linux client is really Placeshifter, and I can spawn Studio from Placeshifter, I should be able to spawn Studio from the Placeshifter running on my Mac, right? That would be perfect.
In case you didn't know this: note that since Placeshifter is a remote client, it actually runs as part of the server application. When you open Studio in Placeshifter or in a media extender, Studio will actually open on the server.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #5  
Old 06-13-2007, 10:50 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
So if you wanted ps to run local on a client, can you connect an x-windows session to your Mac and have it pop there?

B
Reply With Quote
  #6  
Old 06-13-2007, 11:13 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Quote:
Originally Posted by jpwegas View Post
So if the Linux client is really Placeshifter, and I can spawn Studio from Placeshifter, I should be able to spawn Studio from the Placeshifter running on my Mac, right?
yes, but note that Studio will be running on the Linux server...

Quote:
So why does using Studio itself require a server license on the same machine? Is it simply that the server process and Studio are too tightly integrated
Yes -- studio is part of the server.
__________________
Check out my enhancements for Sage in the Sage Customisations and Sageplugins Wiki
Reply With Quote
  #7  
Old 06-13-2007, 11:26 AM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Quote:
Originally Posted by Opus4 View Post
In case you didn't know this: note that since Placeshifter is a remote client, it actually runs as part of the server application. When you open Studio in Placeshifter or in a media extender, Studio will actually open on the server.

- Andy
I understand that the Placeshifter is basically a "thin" client, so that most of the work is really being done on the server box by the SageTV server process.

But just to be clear, when you say "open on the server", you mean that the Studio will open a new window on the X11 display on the server, after I trigger it to start from a remote Placeshifter client?

That's even more confusing than I previously thought.

Thanks for the clarification.

John
Reply With Quote
  #8  
Old 06-13-2007, 11:33 AM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Quote:
Originally Posted by bcjenkins View Post
So if you wanted ps to run local on a client, can you connect an x-windows session to your Mac and have it pop there?

B
Probably.

If I understand things correctly now, I can use PS to trigger Studio to start on the X11 display of the server box.

Whether I can use the X11 remote display to display the Studio window back on my Mac probably depends which X11 display the server process thinks it's attached to when it starts.

I will be playing around with this evening to see what the possibilities are.

Thanks,

John
Reply With Quote
  #9  
Old 06-13-2007, 12:27 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Quote:
Originally Posted by jpwegas View Post
But just to be clear, when you say "open on the server", you mean that the Studio will open a new window on the X11 display on the server, after I trigger it to start from a remote Placeshifter client?
I know next to nothing about "X11" other than that it is an X followed by two 1s. Anyway...

I believe you know this already, but: yes, Studio will certainly open on the server, if it is able to, instead of on a remote system where Placeshifter is running, as mentioned at the ends of Appendices M and N in the SageTV manual. The caveats there about how using service mode on Windows could affect whether it can open a Studio window would be similar to the fact that you had to take extra steps to enable the Linux server app to open Studio.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
  #10  
Old 06-13-2007, 08:27 PM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
So I installed Placeshifter on the Linux box and was able to start Studio. Thanks all for the clarifications on this matter!

I also tried connecting from my Mac (using X11 tunneling over ssh) to start the server and then trigger the Studio to start using the Placeshifter on the Mac.

It almost worked. The Studio window opens on the Mac, but it doesn't get any focus or allow any interactions. Picture attached below. The window is partly drawn but mostly blank. If I expand the window, the "drawn" portion gets bigger, but it's never more than 10% or so of the window.

I'm no X11 guru so I don't know what might be causing the problem. I can run other X11 programs over the same ssh tunnel and they appear fine on my Mac - I can interact with them as normal.

Has anyone else successfully displayed the Studio UI remotely over an ssh tunnel (on Mac or Linux)?

Thanks,

John
Attached Images
File Type: jpg studio.example.jpg (128.8 KB, 288 views)
Reply With Quote
  #11  
Old 06-20-2007, 10:23 PM
ecoolman ecoolman is offline
Sage User
 
Join Date: Mar 2005
Posts: 38
jpwegas, try exporting the following on your server box before starting sage placeshifter:

export AWT_TOOLKIT=MToolkit



Quote:
Originally Posted by jpwegas View Post
So I installed Placeshifter on the Linux box and was able to start Studio. Thanks all for the clarifications on this matter!

I also tried connecting from my Mac (using X11 tunneling over ssh) to start the server and then trigger the Studio to start using the Placeshifter on the Mac.

It almost worked. The Studio window opens on the Mac, but it doesn't get any focus or allow any interactions. Picture attached below. The window is partly drawn but mostly blank. If I expand the window, the "drawn" portion gets bigger, but it's never more than 10% or so of the window.

I'm no X11 guru so I don't know what might be causing the problem. I can run other X11 programs over the same ssh tunnel and they appear fine on my Mac - I can interact with them as normal.

Has anyone else successfully displayed the Studio UI remotely over an ssh tunnel (on Mac or Linux)?

Thanks,

John
Reply With Quote
  #12  
Old 06-21-2007, 10:40 PM
jpwegas jpwegas is offline
Sage Expert
 
Join Date: May 2007
Posts: 502
Quote:
Originally Posted by ecoolman View Post
jpwegas, try exporting the following on your server box before starting sage placeshifter:

export AWT_TOOLKIT=MToolkit
Thanks, I'll try that this weekend.

John
Reply With Quote
  #13  
Old 01-13-2011, 08:14 PM
jreichen's Avatar
jreichen jreichen is offline
Sage Icon
 
Join Date: Jul 2004
Posts: 1,192
I'm digging up a very old thread here. Andy, I'm running 7.0.23 and the FAQ instructions don't work for me. I seem to remember this being an issue before v7 as well. It says to create an empty EULAstudio.txt file but it should already be there. The file is not already there, and creating an empty file doesn't work. Once I copied EULA.txt to EULAstudio.txt then it worked.

Also, java.awt.headless doesn't need to be removed from startsage (now startsagecore) anymore. The user can create a sagesettings file to control that. This will survive updates and upgrades.

Code:
HEADLESS=false
Thanks,
Jason
__________________
Server: Intel Core i5 760 Quad, Gigabyte GA-H57M-USB3, 4GB RAM, Gigabyte GeForce 210, 120GB SSD (OS), 1TB SATA, HD HomeRun.
Extender: STP-HD300, Harmony 550 Remote,
Netgear MCA1001 Ethernet over Coax.
SageTV: SageTV Server 7.1.8 on Ubuntu Linux 11.04, SageTV Placeshifter for Mac 6.6.2, SageTV Client 7.0.15 for Windows, Linux Placeshifter 7.1.8 on Server and Client
, Java 1.6.
Plugins: Jetty, Nielm's Web Server, Mobile Web Interface.

Reply With Quote
  #14  
Old 01-17-2011, 01:29 PM
Opus4's Avatar
Opus4 Opus4 is offline
Administrator
 
Join Date: Sep 2003
Location: NJ
Posts: 19,624
Thanks -- that FAQ has been updated; let me know if there are any further issues with the instructions.

- Andy
__________________
SageTV Open Source v9 is available.
- Read the SageTV FAQ. Older PDF User's Guides mostly still apply: SageTV V7.0 & SageTV Studio v7.1.
- Hauppauge remote help: 1) Basics/Extending it 2) Replace it 3) Use it w/o needing focus
- HD Extenders: A) FAQs B) URC MX-700 remote setup
Note: This is a users' forum; see the Rules. For official tech support fill out a Support Request.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SageTV V5.0.5 Release Candidate for Linux Narflex SageTV Linux 4 06-30-2006 12:22 PM
Q: Studio in Linux? laurenglenn SageTV Linux 0 01-28-2006 01:53 PM


All times are GMT -6. The time now is 05:11 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.