LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-16-2008, 11:56 AM   #1
trox
Member
 
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83

Rep: Reputation: 15
VLC remote access with SSH and command line


Hi all,

Ok, here is my problem in a nutshell. I am using my Nokia N800 as a remote control over wifi in my home network. I am using ssh to tunnel into my ubuntu box and start up music and movies. The command i use to do this is "ssh -X user@192.168.1.1"

I know that the -X option brings X to my N800. This is ok for music, but I want the movies to play on my desktop X screen and not my N800. Remember, I want to use the N800 as a remote control over wifi. What commands should I be using for vlc from the command line to do this? I want to be able to start, pause, fast-forward, and rewind movies from the command line just like you can with mplayer.

Any ideas?

Thanks,

tsai
 
Old 10-16-2008, 12:13 PM   #2
trox
Member
 
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83

Original Poster
Rep: Reputation: 15
VLC remote access with SSH and command line

Ok, so after yet more searching, I find out that to start the movie file on my desktop from the N800, I do: export DISPLAY=:0 after logging in.

I still need to be able to maximize the player remotely if possible and stop/pause the movie. I figure I'll just use aumix for my volume controller.

Any clues?


Thanks,

tsai
 
Old 10-16-2008, 01:00 PM   #3
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 42
check out vlc -help

-f, --fullscreen,


so:

vlc -f filename.wmv
 
Old 10-16-2008, 01:07 PM   #4
trox
Member
 
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83

Original Poster
Rep: Reputation: 15
Yep, I found the -f option right after my last post. I also figured that to pause a movie, I just ctrl-Z and to resume it I can do fg (foreground). Now, I just need to figure how to fast-forward and rewind. Then, I'll be good to go with-out getting off the couch!

I know that you can restart the movie with vlc --starttime option, but it would be nice to ff or rw in realtime without ever stopping the movie.
 
Old 10-17-2008, 04:23 PM   #5
trox
Member
 
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83

Original Poster
Rep: Reputation: 15
VLC remote access with SSH and command line

Hello all,

This has turned into a tutorial in which, after two days of research and trial and error, I figured it all out! So after you have sshd to the machine from your Nokia n800/810 and started the movie in -f (full mode), you just use the power of Linux to pause the movie playing in VLC by:

1. ps aux to find the process id for vlc
2. kill -STOP xxxx the pid (process id) to pause the process id
3. kill -CONT xxxx the pid to continue the process id

Still need to figure fast forward and rewind.

The beauty of this is that wifi goes thru walls and has incredible range! You can control your system while cooking barbeque!

Hope this excites and helps anyone else who doesn't want to configure a remote control but wants to use their Nokia n800/810 as a remote control without leaving bed or the couch! Works great for audio as well!


Rock on Linux/Unix!


tsai
 
Old 08-30-2014, 08:18 AM   #6
talamascool
LQ Newbie
 
Registered: Aug 2014
Posts: 1

Rep: Reputation: Disabled
vlc not showing in the systme menu on Fedora 20

This is an old old thread but is the closest that i could find about my situation. which is this.
on Fedora 20 each time that i use vlc a small media player set of buttons will appear at the system menu. It doesn't matter if i ran vlc or vlc -d the miniplayer will appear. This miniplayer also allows me to use my keyboard hotkeys such as next or previous or pause. So far so good. The problem that i have is that if i run the command vlc or vlc -d through SSH the miniplayer doesn't appear and therefore i can't use my remote keyboard hotkeys...

So im thinkin that the ssh is missing something when loading vlc... any suggestions?

Thanks all
 
  


Reply

Tags
commandline, n800, ssh, vlc


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
test a remote proxy from the command line cccc Linux - Networking 1 06-06-2008 01:05 PM
How do I remote access 'command line' on linux server? KDE? Bash? edzillion Linux - Newbie 7 05-23-2008 11:12 AM
remote with command line macjunior Debian 4 09-15-2007 11:52 AM
Command line 'dictionary' access command. swiadek Linux - Software 3 02-23-2006 08:53 AM
VLC Streaming And The Command Line fortezza Linux - Software 1 06-30-2005 11:15 PM


All times are GMT -5. The time now is 01:14 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration