WoodworkersZone.com


Go Back   WoodworkersZone - Woodworking Forums > The Outer Zone > Geek Stuff

Geek Stuff Got a computer question? Want to talk about technology? This is the place.

Reply
 
Thread Tools Display Modes
  #1  
Old Posted 07-25-2008, 11:08 PM
spokeshave's Avatar
spokeshave spokeshave is offline
 
Join Date: Oct 2007
Posts: 487
Default 'nother linux geek question

I'm still new at this crap, so don't go all tattoomike on me...

I have a (almost) headless box in the closet hooked up to TV. This way I can switch the TV input and see my security cameras. The problem is that whenever I have to restart the box (which I do from time to time via a ssh login from my laptop), I have to get out the keyboard and mouse to relaunch firefox (the security system displays in a browser).

I want to be able to launch GDE, or better yet, launch firefox directly from a remote login prompt. Problem is, X will only launch from a console login. So, how do I launch firefox from a ssh remote login?

Please?

Tim
Reply With Quote
  #2  
Old Posted 07-25-2008, 11:15 PM in reply to spokeshave's post "'nother linux geek question"
Boxman's Avatar
Boxman Boxman is offline
Site Admin
 
Join Date: Oct 2007
Location: North Bend, WA
Posts: 12,474
Blog Entries: 3
Default

What distro?
Do you have an xterm app for your PC that you wish to admin from?
__________________
For six bucks I could have been insignificant on a popular forum. ---
Reply With Quote
  #3  
Old Posted 07-25-2008, 11:19 PM in reply to Boxman's post starting "What distro? Do you have an xterm app..."
spokeshave's Avatar
spokeshave spokeshave is offline
 
Join Date: Oct 2007
Posts: 487
Default

Quote:
Originally Posted by Boxman View Post
What distro?
Do you have an xterm app for your PC that you wish to admin from?
Sorry...FC8.

I do all my admin stuff from the command prompt via ssh. All I want to be able to do is start firefox remotely and have it display on the TV.

Tim
Reply With Quote
  #4  
Old Posted 07-25-2008, 11:38 PM in reply to spokeshave's post starting "Sorry...FC8. I do all my admin..."
Boxman's Avatar
Boxman Boxman is offline
Site Admin
 
Join Date: Oct 2007
Location: North Bend, WA
Posts: 12,474
Blog Entries: 3
Default

Sounds like you want it to autologin a user and launch firefox. Doable but I don't remember how. The other alternative is to use VNC or better yet xvnc as a remote desktop display. You'll be able to login to a graphical UI remotely without needing a KB or mouse attached to your headless box.

http://linuxreviews.org/howtos/xvnc/
__________________
For six bucks I could have been insignificant on a popular forum. ---
Reply With Quote
  #5  
Old Posted 07-28-2008, 04:27 AM in reply to spokeshave's post "'nother linux geek question"
pconroy's Avatar
pconroy pconroy is offline
 
Join Date: Oct 2007
Location: Denver, Colorado
Posts: 4,606
Default

Did you get this figgered out? Not sure how to auto-login a user; all my startup scripts run from rc.d.

I have the free X server Xming on my laptop - so I just ssh into my headless box, tunnel X11 over SSH, make sure the display variable is set and then I can start any X app from the command line and see it on the PC.
__________________
The noblest pleasure is the joy of understanding. Leonardo daVinci
Reply With Quote
  #6  
Old Posted 07-29-2008, 04:45 AM in reply to pconroy's post starting "Did you get this figgered out? Not..."
mike mike is offline
 
Join Date: Oct 2007
Posts: 1,907
Default

1. Edit ~/.vnc/xstartup
2. For KDE, replace "twm &" with "startkde &"
3. For Gnome, replace "twm &" with "exec gnome-session &"
4. Kill any existing VNC servers with "vncserver -kill :xxx" where xxx is the display number.
5. Start a new server.
Reply With Quote
  #7  
Old Posted 07-29-2008, 04:34 PM in reply to mike's post starting "1. Edit ~/.vnc/xstartup 2. For KDE,..."
pconroy's Avatar
pconroy pconroy is offline
 
Join Date: Oct 2007
Location: Denver, Colorado
Posts: 4,606
Default

Mike- still needs to login, rite?
__________________
The noblest pleasure is the joy of understanding. Leonardo daVinci
Reply With Quote
  #8  
Old Posted 07-29-2008, 11:14 PM in reply to pconroy's post starting "Mike- still needs to login, rite?"
mike mike is offline
 
Join Date: Oct 2007
Posts: 1,907
Default

Yes, but that will start the correct windows manager.
Reply With Quote
  #9  
Old Posted 07-30-2008, 12:30 AM in reply to pconroy's post starting "Mike- still needs to login, rite?"
Dave Arbuckle's Avatar
Dave Arbuckle Dave Arbuckle is offline
Evil Overlord and Mentor
 
Join Date: Oct 2007
Location: Plano, TX
Posts: 2,219
Default

Quote:
Originally Posted by pconroy View Post
Mike- still needs to login, rite?
Doesn't have to log in local, though. A PuTTY login will work great, that's exactly how I run X/KDE on my headless* Debian machine here at the Castle.

*it does have a neck stump, there's a video adapter that nothing's connected to.
__________________
That boy is energetically stupid.
- Boxman
Reply With Quote
  #10  
Old Posted 07-30-2008, 03:21 PM in reply to Dave Arbuckle's post starting "Doesn't have to log in local, though. A..."
pconroy's Avatar
pconroy pconroy is offline
 
Join Date: Oct 2007
Location: Denver, Colorado
Posts: 4,606
Default

ditto. PuTTY is great. Tunnels VNC, tunnels X. Amazing.
__________________
The noblest pleasure is the joy of understanding. Leonardo daVinci
Reply With Quote
Reply

Thread Tools
Display Modes

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


All times are GMT. The time now is 06:50 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Ad Management by RedTyger