LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2009, 02:54 AM   #1
waters33637
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Rep: Reputation: 0
Dual Monitor ..To Headless ... VNC Remote Desk Top ... Geforce2 mx420 ... TV out


Hi .. I have the above video card on a computer running ubuntu 9.04.
I have dual monitors hooked up to this computer. One is on the VGA port, and the other is on the TV-Out. I connect to this computer with VNC over SSH. I want to be able to remove the VGA monitor, making this headless, and play movies on the Tv-Out. I also still need to connect to a desktop other than the one that is playing the movies with the VNC.

I have the nvidia tools installed, and they work fine to make things do as i want as long as i have a monitor hooked up to the VGA port.

Main Goal.
Have the ubuntu box play movies from the tv-out to my little video network of tv's. Also, as the videos are playing (24/7). I need to connect to a remote VNC desktop to work. All WITHOUT showing up on the video network.
 
Old 10-19-2009, 03:42 PM   #2
waters33637
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Original Poster
Rep: Reputation: 0
Anyone? Please help?!?
 
Old 10-20-2009, 04:37 AM   #3
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
1/ Use nvidia-settings to setup your tv-out, save to Xorg.conf
2/ Use Xvnc on Ubuntu or XMing on Windows
 
Old 10-20-2009, 06:01 AM   #4
waters33637
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Original Poster
Rep: Reputation: 0
yeah ...done that .. and it has both monitors in the Xorg.conf file, but once i unplug the VGA monitor, and reboot. It only shows the TV-Display.

Wouldn't it something like i need to add something in the rc boot scrtipt? Like ... rc.3 ?

I dont know .. Pipe device1 to /dev/vga ?
I dont know .. im still to much of a newbie to know.
or couldn't i just use a command to play a move on the tv-out?>

mplayer > /dev/vga1 ?

I dont know .. Im lost .. HELP!



Thanks
 
Old 10-20-2009, 09:17 AM   #5
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
You want to play the movie on the TV-out, right? TV-Display is plugged to the TV-out, right? Then you only need the TV-Display, no? Why do you need the VGA display at all? If there is no monitor plugged to the VGA output then it's useless, right? Playing a movie on the VGA display is like playing a movie on the void, no?

I thought you wanted to play the movie to the TV-out, then there is no problem, is there?
You don't need the VGA display at all.
Or are you afraid that you can't connect to VNC if the VGA display is not active? You can!

If you are connected with VNC and want to play a movie on the TV monitor, you need to use the DISPLAY environment variable to tell mplayer where to play the movie.
Code:
DISPLAY=:0 mplayer mymovie.mpg
The DISPLAY environment variable works with any X program. You could open firefox on display 0 like that:
Code:
DISPLAY=:0 firefox
X11 is a very powerful network application. It is a lot more powerful than VNC, this is why I advise against using VNC but using XMing instead. Using XMing, you could just open a terminal from Windows and you would not have to launch the whole desktop, since you already have a Windows desktop. It integrates beautifully in your Windows desktop, doesn't waste server and client memory like VNC, it starts instatly and is a lot more flexible. VNC is a hack for Windows to Windows networking, because Windows lacks a network graphical interface natively.

Last edited by Agrouf; 10-20-2009 at 09:32 AM.
 
Old 10-20-2009, 02:07 PM   #6
waters33637
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Original Poster
Rep: Reputation: 0
You want to play the movie on the TV-out, right? TV-Display is plugged to the TV-out, right? Then you only need the TV-Display, no? Why do you need the VGA display at all? If there is no monitor plugged to the VGA output then it's useless, right? Playing a movie on the VGA display is like playing a movie on the void, no?

I thought you wanted to play the movie to the TV-out, then there is no problem, is there?
You don't need the VGA display at all.
Or are you afraid that you can't connect to VNC if the VGA display is not active? You can..


Yes, you are kinda right. I can connect yes, and i can play a movie on the TV-Out of the video card. However, if i do things like this. I also display the the mouse, and the whole VNC desktop on the tv-out. So i cant just play a movie on the tv-out and still connect to the desktop. I can use ssh, yes ... but i want a desktop, so everythime i connect remove the VGA monitor and connect, it connects everything to the same display as the tv-out. I end up with m desktop showing on the tv's if i make the movie full screen, sure it works, but i can't really do much with the remote desktop, being it is all behind the full screen movie
 
Old 10-20-2009, 02:54 PM   #7
Agrouf
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,591

Rep: Reputation: 79
Well, you don't have to display your VNC session on the TV if you use Xvnc or XMing.
You can have the whole desktop with XMing. Just start the program 'gnome-session'.
If you want to use VNC, then you should use a VNC server with a fake X11, like x11vnc. It won't display your session at all on the server.
 
Old 10-20-2009, 03:26 PM   #8
waters33637
LQ Newbie
 
Registered: Oct 2009
Posts: 8

Original Poster
Rep: Reputation: 0
OK .. IM going to try XMing. I'll see if that works... Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Desk Top Panels tommytomato Ubuntu 2 10-26-2008 09:26 PM
Help with Desk top _me_ Linux - General 1 04-17-2004 11:32 PM
changeing desk top bentbike1 Linux - Software 0 02-23-2004 05:42 AM
Desk top theme Help queenB_74 General 3 09-02-2003 11:14 PM
how to create shortcuts in desk top shanmugapriyan Linux - Software 3 08-30-2003 03:37 AM


All times are GMT -5. The time now is 04:13 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration