Ubuntu :: Script To Open Pseudo-terminal At User Login To GUI: (kiwi) 10.04?

Nov 26, 2010

I've been able to write a basic script that opens a terminal a lil messagemy issue, i want it to open its pseudoterminal as soon as i log into GUIthe script:

Code:
#!/bin/bash
if [ $1 = "start" ]

[code]...

View 1 Replies


ADVERTISEMENT

General :: Install Logitech C100 Webcam Drivers In Kiwi 10.08 Using Terminal Window?

Apr 1, 2011

Is it possible for me to use a command in terminal window to Download and Install drivers for Logitech C100 webcam. If so can I copy and paste because I`m Dsylexic.

View 7 Replies View Related

General :: Red Hat 5 - Login - Asking Me For A User Name At The Terminal

Oct 28, 2010

I am using red hat 5. It is asking me for a user name at the terminal. I do not understand what it is asking of me. A user name was never established during installation of the program. it did ask for a root password during installation which i provided. At the terminal i did try typing "root" for the log in and the actual root password for the password. It gave me administrative access.

However, i don't know the correct command that will take me to the desktop. For windows i simply typed in win or exit to go to the main windows desktop. Linux is foreign to me... can anyone help? I would be greatful for the advice. I am a windows junky from way back.

View 6 Replies View Related

Ubuntu Security :: How To Lock Terminal On Login For User

Apr 22, 2010

I recently set up a family computer for a friend, and now his son is "experimenting" with the terminal (randomly entering commands). since he could accidentally do something bad, I am supposed to prevent him from using terminals, but only as hi user. I tried vlock and away, but with vlock it says 'this terminal is not a virtual console', and away can't seem to lock all consoles.

View 9 Replies View Related

Ubuntu :: Force The User To Login From The Terminal Before The Can See The Desktop?

Oct 2, 2010

I want to force the user to login from the Terminal before the can see the desktop

View 9 Replies View Related

Ubuntu :: Open A New Window But Login Into A Different User

May 30, 2011

I don't know it's so difficult to make it work. I'm in natty and can't find anyway to make it work. I tried all options posted in this forum but nothing. I only want to open a new window but login into a different user. It is easy and ready under Linux Mint Debian, but I use Ubuntu.

View 2 Replies View Related

General :: Automatically Open Terminal At Login Time?

Jun 7, 2011

I am using red hat .I want that when ever the user login in GUI interface the terminal windows automatically open and then the user want to logout it 1st close the terminal and then login. There is a file in #ls -a i.e .bashrc and .bash_logout

View 13 Replies View Related

Fedora :: Terminal Now Opens As -bash-4.0$ And Will Not Let Login As Any User?

Dec 3, 2009

For some reason my terminal now opens as -bash-4.0$ and will not let me login as any user.Is there anyway to fix this? It's very annoying and I've never came across it before.

View 4 Replies View Related

OpenSUSE :: Require A User To Enter Password To Open Terminal?

Sep 21, 2010

I'm in the process of configuring a "guest" account for houseguests tose my computer. I've got the file permissions set, but I'd also like to restrict their access to the terminal. It seems to me that most of the damage that can be done to a computer goes through the terminal.I downloaded Pessulus (I use Gnome)but it doesn't require a password. the profiled user can just open Pessulus and alter their profile -- what's the point?Is there a way I can require a user to enter a password, either for any terminal or Pessulus?I like Pessulus -- it's concise and easy to use. But it doesn't seem very secure as I understand it.

View 5 Replies View Related

General :: Send Commands To Another "pseudo Terminal"?

May 8, 2010

Is there some way to send commands to another "pseudo terminal" or otherwise access one when the desktop environment has frozen to get a program there to save its data? (i.e. after logging in remotely) I tried "echoing" to "/dev/pts/X" (X = number) but that doesn't seem to work. It just displays whatever is echoed there -- it is not accepted as input.

View 3 Replies View Related

General :: Open Browse For File Window And Save User Choice In Terminal?

May 30, 2010

is there a Terminal command to open a Target file (same as the one opens when you want to upload a file), let user choose the file and when he clicks open, be able to save his choice?for example:echo "Choose source file"--> command needed to browseand then open or save path to that file

View 1 Replies View Related

General :: Difference Between A Login Terminal & Non-login Terminal?

Jan 17, 2011

difference b/w a login shell and a non-login shell ?

I know that when we use su - <username> we are getting a login shell & when we use su <user-name> we are getting a non-login shell.

Do we get any additional privileges when we have a login shell compared to a non-login shell ?

View 6 Replies View Related

Ubuntu :: Command For "Open A Terminal Window And Run Application In This Terminal ?

Aug 8, 2010

What is the command for "Open a terminal window and run application in this terminal

View 4 Replies View Related

Ubuntu :: How To Change Terminal App For Nautilus-open-terminal

Dec 1, 2010

I've fallen in love with Terminator as a replacement for the standard gnome-terminal app.

However, I'm also very much in the habit of using the nautilus-open-terminal extension for launching new terminal sessions.

I'd like nautilus-open-terminal to launch Terminator rather than gnome-terminal.

A quick search of my system and the web didn't reveal anything. i didn't find a gconf setting to control this. A quick look at the source code didn't help much either.

View 5 Replies View Related

Ubuntu :: Create A Command That Will Open Terminal And Keep It Open?

Jul 30, 2010

I have a problem that I can't seem to figure out. I can easily create a .sh file that will execute a command in Terminal, but as soon as it executes the terminal disappears. How do I get it to stay? My idea is to have the keyboard shortcut "ctrl+alt+del" open a .sh file with the contents "ps ax". Then it would be just like having a task manager; the terminal would open with "ps ax" already executed, and all I would have to do is kill the process number.

View 5 Replies View Related

OpenSUSE :: Add Some Localapps Into Kiwi Image

Apr 22, 2010

I just started experimenting with LTSP-KIWI. Setting the system up by quick start guide worked flawlessly. Now I'm trying to add some localapps into kiwi image (using guidelines of wikipage LTSP/Localapps). I changed this line in /etc/sysconfig/kiwi-ltsp:

[code]...

Do I need to change the config.xml or do I have to build the image some other way?

View 2 Replies View Related

General :: System-auth Configuration \ Can't Login And/or Can't Login In The GUI Interface And A Terminal?

Apr 20, 2010

I'm hoping someone can help me out.I made configurations changes to/etc/pam.d/system-auth and /etc/pam.d/login. When these files are configured the way they are, I can't login and/or I can't login in the GUI interface and a terminal. Contents of /etc/pam.d/login

Code:
#%PAM-1.0
#line added per security guide

[code]....

View 2 Replies View Related

OpenSUSE Install :: Kiwi LiveCD Not Booting?

Aug 17, 2011

I have been trying to create a live CD or DVD with kiwi, and following the instructions from Portal:KIWI - openSUSE All went well with the building and creation of the ISO image, but when I try to boot it I get:

Failed to mount ext3 clic container Failed to mount root filesystem if I press Alt-F3 (suggested in the terminal)the top most error is tune2fs: Attempt to read block from filesystem resulted in short read while trying to open /read-only/fsdata.ext3 Couldn't find valid filesystem superblock. Something I did find was that it may not have permission to use tune2fs.I haven't done any fiddling with the template supplied with kiwi.

View 1 Replies View Related

Ubuntu :: Splash To Terminal Login To GUI Login

Jan 10, 2011

I recently did a fresh install of Ubuntu 10.10 64-bit. After installing the ATI drivers, I had to tweak GRUB to get the nice splash screen back during boot. Then, I installed drivers for my TV Tuner (Hauppauge 2250). The card works fine. However, my boot now goes splash screen to a terminal login for around 10 sec where system messages also show up to the GUI Login screen. I was wondering if there was anyway to return to a normal boot.

View 3 Replies View Related

Ubuntu Security :: Bad Login Protocols - Graphical Login For Gnome Sizes Itself To Accommodate A User's Exact Password Length

Dec 14, 2010

I'm seeing really bad user login format under a standard installation and am wondering why ubuntu does this as default. I have noticed that the graphical login for gnome sizes itself to accommodate a user's exact password length. This indicates to me that somewhere on the unencrypted part of a standard installation with user encryption contains at least some indication of the content of the password length which seems a security flaw even if not a complete hole, it majorly reduces the number of attempts a cracker would have to cycle through.

And that's assuming that *only* the length is contained. Furthermore it seems that it would be MUCH better to simply display the number of characters entered into the pw field and allowing the gui to expand itself from an fixed size as the field is filled out so the the user still receives visual feedback for entering characters. Either a simple character count display should be entered into the field or a 10 dot to new line so that one can visually quickly count the number enter by multiplying from a 10base graphical observation.

View 9 Replies View Related

General :: Login As Other User Using Shell Doesn't Load The Profile For That User?

Dec 11, 2009

I am using the sudo command to log on locally as another user by the following command:

sudo -u theotheruser -s
or
sudo -u theotheruser sh

As I see it, this initiates a new shell with the mentioned other user.However, this doesn't load that users profile from his home directory.Is there a way to automatically read the users profile when login in with selected command? I am mostely interested in getting a working prompt when logged in.

View 11 Replies View Related

OpenSUSE Install :: Hiding Grub In A Kiwi Live Boot

Jan 13, 2011

Naturally, hiding the graphical grub screen on a regular installation is easy, by adding either "timeout 0" or "hiddenmenu" to menu.lst. But on a live boot, there seems to be no menu.lst - at least no accessible one.

Although, in some kiwi image types, you can specify boottimeout="n" in the image description's type element, it does not have the intended effect. Here is an example. The following type element's boottimeout attribute will invoke the first grub menu item instantly. Changing the value to zero, not only does not hide the grub screen, but seems to restore the default 10 second time out.

<type image="iso" primary="true" boot="isoboot/suse-11.3" boottimeout="1" hybrid="true" flags="clic"/>

Is there any way to hide the graphical grub screen in a kiwi live boot?

View 1 Replies View Related

OpenSUSE Install :: Installing Repository Using Kiwi-ltsp-setup?

Mar 9, 2011

When I run the command << kiwi-ltsp-setup -n >> the process gets to the point where it starts "Retrieving repository 'http:__download.opensuse.org_update_11.3' metadata" What do I change so that it will read from my local update repository. The local update repository is already listed in my yast repositories while the ttp:__download.opensuse.org_update_11.3 is not.

View 1 Replies View Related

Fedora Installation :: F13 To F14 No Shell At Login / After Upgrading Cant Login On User?

Jun 3, 2011

yesterday I updated my fedora 13 to fedora 14 (on laptop) and today i cannot log in on user. It just go blank for a sec and is back to login.

At text console (alt+ctr+f2/f3) i enter my username and pass it give this for a sec and resets (clean) console
username: Name
password:
last used: [date]
login: no shell permission denied

i used unetbootin (fedora 14 netinstall to update) and later i updated 1,5G before reboot (did update that fix, forgot its name tho :s)

I would most likely reinstall everything, but i have some work at laptop and as death-line is near, i would prefer to fix it if possible.

edited:
i have installed F13 on unused space, is there a way for me to access and fix it? or at least get some files from there?

View 1 Replies View Related

General :: Random Keyboard Pseudo-failure?

Jan 9, 2011

Occasionally when I start typing into a text box, it will not enter text until I go to another window or text box and click back in. This seems to happen at random without any pattern or to any specific applications more than others. I can still use alt-tab and similar commands, so I know it's not the hardware. I am running Ubuntu 10.04 Lucid Lynx using a Microsoft Multimedia keyboard and I am running SCIM for Japanese input, but I almost always have it set to English, and it can be set t

View 12 Replies View Related

General :: What Is Short Cut Key To Toggle Between Pseudo Terminals In Red Hat?

Apr 21, 2011

what is short cut key to toggle between pseudo terminals in red hat? how can i create customized short cut keys in red hat?

View 2 Replies View Related

Red Hat / Fedora :: Pseudo-ttys - Both BSD And SVR5 Versions Seem To Be Incomplete

May 21, 2010

I'm trying to complete the porting to RHEL 5 of a commercial application that we've had running on AIX and SCO for decades. It originally ran on dumb-terminals, and even now runs on dumb-terminal emulators that run on Windows. We have thousands of customers, many of whom we'd like to migrate to Linux. We're pretty much done with the port, with the exception of this little glitch we're having with pseudo-ttys...

Our app utilizes pseudo-ttys, such that sub-portions of the application run under a screen manager that provides for screen-switching of multiple instances of the sub-apps on non-GUI terminals, some of which are still running serial. In this regard, it is not unlike the GNU "screen" program. However, it also supports file transfers over serial links using zmodem, and requires the ability to switch in and out of a fully 8-bit transparent mode where the screen switching keyboard commands must be ignored.

On AIX, we're using the BSD TIOCUCNTL (UIOCCMD) capability to send commands from the sub-app to the screen manager. TIOCUCNTL provides custom user ioctls and is an ideal way to solve the problem. It is not implemented on Linux, and the "alternative" of TIOCPKT does not provide arbitrary ioctls so at best we'd have to commandeer some of the existing TIOCPKT ioctls for our own use if that's even possible. TIOCPKT seems like a hack, it apparently was implemented not as a general mechanism but to solve problems specific to rlogin/rlogind.

SCO didn't support TIOCUCNTL either, so years ago we used the SVR5 alternative of putmsg/getmsg. This is a streams-based mechanism of sending control information over streams separate from the data. While RHEL 5 seems to have man pages indicating these commands exist, and in fact you can link programs using them to libc without errors, they are apparently stubbed out and return "function not implemented." This seems to be, according to this Wiki, due to certain Linux factions deeming that streams are "technically inadequate":

Certainly, I would agree that a streams implementation that is incomplete is undoubtedly "technically inadequate."

At the same time, it would appear that the SVR5 method of pseudo-tty is now the recommended implementation, the BSD one being "deprecated" (not to mention, also incomplete on Linux, given TIOCUCNTL is missing):

So here I am trying to figure out how to solve the problem. I have found a library that apparently implements the getmsg/putmsg commands for Linux, called libLiS. However, according to IBM, it has a problem with SELinux:

We've had to disable SELinux for other reasons anyway, so this is not a show stopper for us, and I am actively exploring using it as our solution. However, I've never been exactly crazy about the idea of depending on disabling security features to make something work. But, there's something to be said for the compatibility it would offer for our apps.

However, it occured ot me that we are probably not the first to have this problem, and was wondering if perhaps there is another solution that we should consider.

It has occured to me to use named pipes, but this would be rather ugly--we'd have to maintain a directory full of hundreds of named pipes, probably named after the associated ptys that the sub-apps could use to issue control commands to their screen manager, and the manager would have to monitor these pipes for commands, etc.-- certainly possible, but it seems like it might be re-inventing the wheel a bit, or at the very least, is a somewhat kludgy work-around to the apparent lack of any user-customizable control mechanisms in the pseudo-ttys. And we'd have to support it in addition to the code for the other methods since those platforms aren't going away anytime soon (SCO death-throes notwithstanding).

View 1 Replies View Related

Server :: Parallel Multiple Ssh Tool Pseudo Tty Support

Jan 24, 2011

I use mpssh or pssh to issue commands to multiple servers. Problem is that some of the commands require pseudo terminal and won't work with these tools. This will work just fine: "ssh -t user@server command" as stated under SSH man: -t = Force pseudo-tty allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g., when implementing menu services.

Multiple -t options force tty allocation, even if ssh has no local tty. So, is there a workaround for the above tools? Or is there any other tool for multi server administration that will work? If you are not sure what I am talking about just try executing "ssh user@server top" and "ssh -t user@server top" to know exactly the difference.

View 13 Replies View Related

Programming :: Pseudo Virtual Files In Shell Script?

Jan 30, 2010

Perl has the concept of pseudo virtual files where data can be appended to the end of the script, & Perl will treat it as a legitimate source of data:

Code:
$ cat pseudo_file.pl
#!/usr/bin/env perl
use strict;
while (<DATA>) {
print; }

__DATA__
1
2
3
$ perl pseudo_file.pl
1
2
3
$ _

I would really like to be able to do something similar in a Bourne shell script where I don't have to manage a collateral text file which is prone to getting lost. Does anyone know if there is a similar construct in shell programming? I would have thought this feature was a remnant that Perl inherited from its shell programming roots, but searching on the Web has revealed nothing of consequence.

View 11 Replies View Related

Ubuntu :: One User Cannot Login Via GDM - "reset" All (X, GDM Related) Permissions/settings Of One User?

Dec 11, 2010

Is it possible "reset" all (X, GDM related) permissions/settings of one user? What would cause one specific user not to be able to log into anything via gdm/the login screen? After providing the proper password, the screen goes black and then jumps back to the login screen. No session alternative works, not even xterm or gnome failsafe. I can however log in via the console (Ctrl+Alt+F6, recovery etc). With another user I can log in via GDM just fine, and deleting and re-adding the "broken" user doesn't make any difference.

Some (maybe) relevent logs:

part of syslog:

Quote:

Dec 12 01:20:58 <specific user> pulseaudio[1358]: core-util.c: Home directory /etc/timidity not ours.
Dec 12 01:20:58 <specific user> pulseaudio[1358]: lock-autospawn.c: Cannot access autospawn lock.

[code]....

View 2 Replies View Related







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