Software :: Launch Script To Be Interpreted On Screen Session?

Jan 27, 2010

I am on an xubuntu live cd setting up gentoo linux. I use screen to make sure that all my compiling and whatnot runs in the background and I won't accidently exit it. I have a script that I have written that autoruns starting my screen session, whenever I insert my thumbdrive. A seprete script should be passed along to screen telling it to chroot into my gentoo setup. However, whenever I use screen -X ./myscript.sh it says that it is an unknown command. How can I pass it along to screen?

View 1 Replies


ADVERTISEMENT

Ubuntu :: Launch Guest Session From Login Screen?

Jun 21, 2011

i am wondering if it is possible to do this all i can find with google is idea proposals and brainstorms i know i could make a separate account and call it guest user bu that user would get to keep data/settings where as a guest session places a temporary account in the /tmp folder which combined with a ram disk for /tmp would result in some really fast performance since i use a ssd for / which would make the traditional hdd only used for /var also since /tmp would be a ram disk it would be like the guest is using a live cd with security restrictions and performance enhancements on top of this there would be no trace of the guest on my computer after shutdown

View 4 Replies View Related

Ubuntu :: Guest Session At Login Screen - Fails To Launch GDM

Aug 2, 2011

Basically, the problem is, we have a bunch of computers in a computer lab, that we want to students to access, but not modify in ANY way. That includes backgrounds or whatnot. And after restart, any changes they may have made, change back. Also, they can't have read access to the administrator account on the computer.

This needs to give a permission denied, or something:
Code:
cd /home/(admin account username)
ls

The Guest Session is exactly what we are looking for, but try as I might, I can't get it to work. Because, we don't want to have to login as administrators, then activate guest session, just for our students to use the computers. The idea being, we can leave the computers in there, and not worry about the students breaking anything.

One thread I tried was: [URL]. However, using his method, will log the student into the account, and after about 5 seconds, log them back out.
The other method listed lower in the thread,
Code:
/usr/bin/guest-session
Seems to work, but upon logging out, fails to launch the gdm

Only way to restore is restarting the computer.

View 9 Replies View Related

Fedora :: Launch X Apps On A Remote Ssh Session?

Mar 5, 2010

Desktop computer (AMD64) running F12. Nothing unusual about it, stock install. Thinkpad laptop running Windows XP. Putty is installed, I can SSH to Fedora.

If I'm at the laptop, in a Putty session, how can I (for example) type "firefox" and have the resultant Firefox window appear on-the-laptop?

I generally have X running all the time on the desktop because I can't get the wireless network connection to function without NetworkManger (not that I really care because I'm rarely at a console screen and need net access).

View 2 Replies View Related

General :: Launch An Application In Another X-session As Non-root?

Jan 5, 2011

How to start an X server as root with a session of non-root application?Should be something like xinit 'su -c openbox user

View 2 Replies View Related

General :: How To Launch Clean Bash Session

Apr 25, 2011

how to launch a non-login bash session that doesn't inherit its parents environmental variables, and doesn't source /etc/bashrc?

View 2 Replies View Related

CentOS 5 :: Automaticaly Launch Tomboy When The User Open Session?

Aug 5, 2010

I would love to auto-start tomboy at startup. How can I do this ? [Moderator edit: fixed Subject so nobody would expect an automatic Lunch. Is that the same as a free one? ]

View 2 Replies View Related

Fedora :: Launch A Program From Screen 0 And Have It Open On Screen 1

Jan 22, 2010

How an I tell gnome (using a script or setting in compiz settings)to only open application X on screen 1 and have it work from screen 0? example: I have nvidia dual/seperate screens runnig so I have screen 0 and screen 1 I cannot drag a window from one screen to the other I want to launch a program from screen 0 and have it open on screen 1

View 4 Replies View Related

Ubuntu :: Xsession: Unable To Launch "/usr/bin/startlubuntu" X Session

Jan 7, 2011

I'm building my own lightweight desktop with LXDE. After installing minimal Ubuntu (command line mode) from alternative CD, I installed xorg, x11 and lxde-core. After restarting I got this error when starting graphical interface:

Quote:

Xsession: unable to launch "/usr/bin/startlubuntu" X session ---
"/usr/bin/startlubuntu" not found; falling back to default session.

After clicking "Okay" button I could see LXDE interface as normal.

This is my /etc/lxdm/lxdm.conf:

Code:

[base]
# autologin=dgod
# session=/usr/bin/startlxde
# numlock=0

[code]....

View 2 Replies View Related

Ubuntu Servers :: PHP Pages Downloaded Instead Of Interpreted

May 1, 2011

I'm trying to configure Apache2 with mod_fcgid and PHP5.

I wrote the wrapper scripts according to the following how-to: [url]

However, I'm stuck with my browser trying to download the PHP pages when I go to my website.

View 9 Replies View Related

Programming :: Embed Variable Definitions Within Constants So They Can Be Interpreted?

Jun 30, 2011

Say I have arrays of constants code...

Is it possible to induce bash to interpret the ${tbl[1]} part to its actual value (1-6) when I reference those particular entries in the arrays?
Using this instruction to do so code...

View 9 Replies View Related

Ubuntu :: Launch A Program Onto Another X Screen?

May 11, 2011

This is for a live performance type of setup. I have 2 graphics cards. One is attached to 2 projectors, which are what the audience sees. The other has a single monitor, which is backstage. The 'front' graphics card is configured in Twinview, and the 'backstage' one is configured as a second X screen by the nvidia settings control panel.

What I'd like to do is launch my show program from a terminal on my backstage screen, but have it show up on the other X screen, the 'front' one. X is amazing so I'm sure it can be done, but I'm having a hard time figuring out exactly how.

Personal Best for self-solving my own thread question:

Code:
DISPLAY=:0.0; xclock
launches on display 0
Code:
DISPLAY=:0.1; xclock
launches on display 1

[Code]....

View 3 Replies View Related

Debian :: Could Not Launch 'Login Screen'

May 23, 2011

If I try to start System-->Administration--> Login Screen on my squeeze, I get this message:

Code:
Failed to execute child process "gdmsetup" (No such file or directory)

View 1 Replies View Related

Software :: Launch A Batch File With Screen?

Jun 27, 2011

I understand SOME of how to use screen; attaching and detaching screens, etc.

for example:
screen -d -m links cnn.com

Then I can type
screen -ls
or
screen -r
and re-attach to that session.

But what launching a batch file? Said batch file contains 2 commands; a CD command, and a command to launch Python to run a certain Python script.

Whenever I use the batch file as the command for Screen, it always exits and terminates the screen session -- there are always "0 sockets". Even though the Python script in question is very persistent, and runs indefinitely.

View 8 Replies View Related

Ubuntu Installation :: White Screen On Start Up - Won't Launch

Dec 15, 2010

I have been running Ubuntu 10.04 Lucid not on a separate disc partition but installed right on my Windows (7) partition. Everything was working fine until yesterday. I restarted my computer and then the system was scanning the disc then suddenly after the disc check, the computer restarted and when it was supposed to launch Ubuntu, the screen went completely white. I tried restarting again, I manage to get to where I choose to boot with Windows 7 or Ubuntu. I choose Ubuntu and the same happens again: white screen. It doesn't go any further than this and the only thing the computer can do is boot with Windows 7. Has anyone had the same problem? Also, is there a way I can access my files (saved in Ubunutu) from Windows? If I can manage to copy these files then I don't mind reformatting the whole disc.

View 5 Replies View Related

General :: Launch Screen As First Program When Opening Terminal?

Jun 14, 2011

I want to launch the screen program by default and automatically every time that I open the bash terminal. How can I set this in terminal? I'm using lxterminal - terminal for lxde desktop environment.

View 2 Replies View Related

Ubuntu :: Launch Scripts When VBOX Screen Is Resized?

Jul 6, 2010

Why why why did virtualbox devs remove the VBoxRandR.sh script??

[URL]

How can I now run scripts when a screen is resized? Is there another way? I'm currently running a striped down ubuntu 10.04 x86 with fluxbox and we need to do a release ASAP!

View 1 Replies View Related

Ubuntu Installation :: When Launch Firefox / It Takes Over All Screen / Desktop

May 1, 2011

Wen I am on the desktop I have to put the mouse on the top bar in order to see File, Edit,View, Places, Help.when I launch firefox it takes over all the screen/desktop.Is this the way unity supposed to be ?

View 2 Replies View Related

Ubuntu Installation :: Application Launch Full Screen - Natty 11.04

Aug 20, 2011

I just installed Natty, its ok so far. How can I keep applications from launching full screen? I know if I resize the window below 75% or some thing like that it does not start full screen however I need the window to launch at like 85% and not full screen. This is the most frustrating thing I don't know what Canonical was thinking. I put it in if you have to however make it easy to undo..

View 2 Replies View Related

General :: Run A Second Command In Same Screen Session?

May 5, 2011

I'm starting the first command in screen like this: screen -d -m -S testen -t lalala watch df -h Now I have a screen session running in background and I can reconnect at a later time. But how can I run a second command (in a new window) in the same screen session?

View 1 Replies View Related

Software :: Using 'at' To Open A 'screen' Session?

Mar 8, 2011

when I type:

Code:

After the command has run (verified with atq) I cannot attach to screen using "screen -r" and ps shows screen is not running:

Code:

why the 'at' command can't start screen in the background for me to attach to later?

Noticed screen is actually returning "Must be connected to a terminal." to logs. Does 'at' not provide a terminal?

View 5 Replies View Related

Fedora :: Launch Compiz Fusion Icon The Screen Just Goes White And Nothing Appears

Oct 24, 2009

I wanted to have some cool effects in my desktop and have just installed compiz fusion in fedora 11 (kde) but when i launch compiz fusion icon the screen just goes white and nothing appears.

My laptop is dell xps m1330.

View 5 Replies View Related

OpenSUSE Install :: Boots To Blank Screen - Byobu Launch Missing

Jun 15, 2011

I've just done a clean install of 11.4 from a Net install CD. I left it unattended while it installed, and came back to find a blank screen with just an xterm. I've rebooted it, and tried both the normal and the failsafe modes, but I just get the same result. The terminal contains the following:

[code]...

View 6 Replies View Related

General :: Launch Multiple Screen Sessions From A Single Bash Script?

Jul 11, 2011

I've written a script (that doesn't work) that looks something like this:

#!/bin/sh
screen -dmS "somename" somecommand
for i in {0..5}; do
screen -dmS "name$i" anothercommand $i
done

For some reason, if I copy and paste this into a terminal, it creates 7 detached screen sessions as I expect. If I run it from within a script, however, I get only the first session, "somename," when I run screen -ls.

Edit: If the same can be accomplished another way (e.g. with multiple screen windows instead of sessions), I would be open those solutions as well.

View 3 Replies View Related

General :: Way To Automatically Unlock Screen For VNC Session

Sep 17, 2010

I'm connecting via ssh to an Ubuntu server that has a physical display attached.I'd like the physical display of the server to remain locked while I'm connected remotely.Is this possible? How? Also, is there a way to automatically unlock the screen for the VNC session, which is made from localhost via an ssh tunnel?

View 1 Replies View Related

Programming :: Screen Listing Of Windows In A Session?

May 21, 2011

I need a way to have screen (or dbus, whatever) to spit out a list of windows (title and number) that are active in a screen session.I'm writing a wrapper for common work tasks. Part of the functionality will check if a certain window exists, and if so let me know. The idea here is to prevent accessing the same machine twice. (although, and override option would probably be needed, just in case, but I digress...) I've searched through the screen man page and don't see anything that'll work. I'm not beyond forking screen and ending up with a custom version. However, I'd like to avoid that if I can.

Edit: I'd like to see something like "screen -S screen_name -window-list" or similar.

View 6 Replies View Related

Software :: Set Xterm Title To Gnu Screen Session Name?

May 5, 2009

I usually have several xterms open, with each one running a different gnu screen session. It would be useful if--at a glance--I could see the session name in the xterm title bar. That way I would be able to quickly tell which screen sessions are running in which xterms. This would be very useful when alt-tabbing.

I know that there are termcap, terminfo, and termcapinfo commands available, but I don't know how to use these. I also know that there's an $STY environment variable that stores the session name. Also, I do not want to lose my current "hardstatus alwayslastline" bar. It seems like this should be independent from the xterm title, anyways.

View 5 Replies View Related

Software :: Use 'screen' To Restore A Gnome-session?

Oct 24, 2010

This is regarding the 'screen' utility. I use an utility called 'HummingBird Exceed' to get the XSession of a linux client on my windows desktop (basically it uses XDMCP). But the pain is that at the end of the day, when I close Exceed, the session gets destroyed. I did lot of searching on the web to know how the save and restore session in Exceed, but failed. However, I found that 'screen' is the utility which keeps the session intact even when you logout. So, I did the following:

a. Logged into the machine using Putty (terminal emulator).

b. Started 'screen'.

c. Issued the command: /usr/bin/gnome-session

I got the XSession on the Exceed and started working. I opened three or four gnome-terminals. But when I logout of exceed(and detach from the screen), the screen displayed a message saying that 'Connection to XServer was lost". Hence I could not restore to this session when I reattached to the screen. how do I use 'screen' so that when I attach to the screen on which I had started gnome-session, it attempts to connect to the Xserver and open the session as it was before detaching?

View 1 Replies View Related

Software :: Sending Commands To A Screen Session?

Aug 7, 2010

I have several screen sessions running, one of them named 'test'. I want to send a simple command to there without attaching the screen, so I do:

screen -S test -X ls

But when I attach the screen to see if it has done something, nothing is different... How can I send commands then? Of course the 'ls' command is not what I want to do, but it's just an example in how this is not working.

View 6 Replies View Related

CentOS 5 :: Blank Screen With VNC Over SSH, And Lock Ssh Session?

Sep 2, 2010

I have 2 servers, I set the first one up so that I can remote to it and connect with VNC over ssh by following:[URL]ServerThe 2nd server I did the same, but I cannot connect! When I do, vncviewer prompts for a password and then opens a window of the correct size, but it is all white and then my ssh session is locked! I can't enter any more commands, I have to kill the session.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved