Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-16-2008, 11:56 AM
|
#1
|
Member
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83
Rep:
|
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
|
|
|
10-16-2008, 12:13 PM
|
#2
|
Member
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83
Original Poster
Rep:
|
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
|
|
|
10-16-2008, 01:00 PM
|
#3
|
Member
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770
Rep:
|
check out vlc -help
-f, --fullscreen,
so:
vlc -f filename.wmv
|
|
|
10-16-2008, 01:07 PM
|
#4
|
Member
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83
Original Poster
Rep:
|
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.
|
|
|
10-17-2008, 04:23 PM
|
#5
|
Member
Registered: Jan 2006
Distribution: Linux Mint 12, FreeBSD, Ubuntu 12.10, Mac OS X
Posts: 83
Original Poster
Rep:
|
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
|
|
|
08-30-2014, 08:18 AM
|
#6
|
LQ Newbie
Registered: Aug 2014
Posts: 1
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 09:02 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|