LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-21-2004, 03:20 PM   #1
hindenbergbaby
Member
 
Registered: Sep 2003
Location: Boston
Distribution: Gentoo, Slack, SuSE, Ubuntu... Flavor of the week
Posts: 134

Rep: Reputation: 15
.xinitrc question. Just trying to get one program to run


I posted a related (but not the same) question a few days ago, bumped and got no answer. This is not (intentionally, anyway) a double post, just an attempt at a different angle of the problem... Please forgive me. I've googled extensively and think I might have discovered sort of what my problem is...

I am trying to get Opera to run as sort of a kiosk mode at a public library. I am using SuSE 9 as the Linux base. I've got .xinitrc reading exec opera, and opera works just dandy for HTML and such, but I can't seem to get any of my plugins to work. I have read opera's documentation, and read their support files (and have Flash and PDF working just fine on SuSE at home), and I've come to the conclusion TODAY that perhaps it's something in my .xinitrc file. Opera isn't executing entirely or something, or a needs a reference to a folder or something.

I am a total newb, and this is my first attempt at anything like this, so be easy.

File begins...

exec opera

...xinitrc file ends...

I am assuming that this is where my error is. Do I need to add any text to get the plugins to work?

Any hints. Pleeeeeeaaase?

one really confused linux chick
shoe
 
Old 02-21-2004, 04:34 PM   #2
quatsch
LQ Addict
 
Registered: Aug 2003
Location: New York, NY
Distribution: gentoo, gentooPPC
Posts: 1,661

Rep: Reputation: 48
I tried it with mozilla-firebird0.7. Here is something I noticed:

1. all plugins work when I have another X-session running with KDE (e.g. KDE on ctrl-alt-f7, just mozilla on ctrl-alt-f8)
2. java works even when mozilla is running by itself, but others like flash seem not to work without a fullblown kde session running somewhere

which makes me think that the problem is not how the browser is started but that these plugins need something that doesn't get started when you just start the browser.

you could rename the xinitrc to something like .xinint-opera and then start a full blown desktop environment with

startx

and then move to another virtual console with ctrl-alt-f2 and start another X session with just the browser with

startx ~/.xinit-opera -- :1

the browser will be on ctrl-alt-f8, the other one on ctrl-alt-f7. There is a way to prevent people from switching using the ctrl-alt key combination. I don't remember what it was but it is somewhere in the documentation for XF86Config.
 
Old 02-21-2004, 06:06 PM   #3
hindenbergbaby
Member
 
Registered: Sep 2003
Location: Boston
Distribution: Gentoo, Slack, SuSE, Ubuntu... Flavor of the week
Posts: 134

Original Poster
Rep: Reputation: 15
That's heartening, that it's not just me, or Opera, or SuSE, for that matter. I was beginning to think I was losing my mind, because I have the EXACT same set up at home, just running Windowmaker, and it was all working flawlessly. I will try your suggestion and see if it's something the staff can live with (the problem being, they know computers less than I do, and because the computer will be shut on and off regularly, I need something they feel comfortable with).

shoe

BRAINSTORM:

Think it might have something to do with operamotifwrapper-2...? It is a helper application running off (I guess) libXm.so.2 that is called on, as Opera says, as needed... and is housed in the plugins folder. I would have thought Opera would call on it on its own if started by exec opera, but perhaps not, since it is a separate executable not in the usr/bin/opera class or even the usr/lib/opera-7.50 folder.

I will give that a try on Monday. Would I start it the same way?
exec opera
exec operamotifwrapper-2

Or do you think I am off? I'd try it at home, but lacking an "always on" connection here...

thanks again

Last edited by hindenbergbaby; 02-21-2004 at 06:18 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Am i supposed to edit xinitrc to run a command at startup? Tyir Linux - General 36 12-05-2007 12:57 PM
Make KDM run .xinitrc or .xsession asrisk Linux - Newbie 7 08-01-2005 06:20 AM
setuid question, or how to run a program with different ID linuxfond Linux - Newbie 3 07-09-2004 04:27 AM
.xinitrc doesn't seem to run Imek Linux - General 7 03-14-2004 04:07 AM
drakboot's settings don't stick, can't get .xinitrc to run kalvnhobbz Mandriva 3 12-05-2003 12:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:27 AM.

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
Open Source Consulting | Domain Registration