General :: Set Up Remote Environment After SSH?

May 16, 2010

I would like to set up the shell env that i get after SSH to a remote host.

I am using a color screen in my terminal, having cusomtized LS_COLORS environment variable. Problem is, every time i log in to a remote host using SSH, i have to manually export LS_COLORS. You can say put that in ever .bashrc file in every host, but that is not very helpful because the remote host are lab servers that keep getting new OS very often(testing stuff), and the team and I usually log in there with root user.

Is there a way to do that?

View 3 Replies


ADVERTISEMENT

Ubuntu :: Remote Login In Desktop Environment?

Apr 6, 2011

I have my work PC in the office, and time to time I access it via TeamViewer from home. I have access to it also via ssh, over the VPN connection. I have problems with this setup, when for some reason the work PC must be rebooted (or it just happened by itself - power failure). The Ubuntu gets to the login screen and that's it. I can not access it remotely because the TeamViewer application is not started on that PC yet. I'd like to know, if there is a way how I can access my work PC over the VPN connection - open SSH session, and write some commands, to log in that desktop environment user, and launch the TeamViewer application. Ie, if someone would be looking on the screen at that moment, she would see that login screen disappears, desktop environment is loaded, and the TeamViewer app is started.

If that's not possible, then, I guess, I'll have resort to some alternative remote access tool (ie, VNC) what could be loaded before the Ubuntu login screen is shown. Then I could access it over the VPN connection, using appropriate client.

View 1 Replies View Related

General :: Best Looking Desktop Environment?

Mar 13, 2010

I heard Enlightenment is one of the best looking desktop envioronments.

And KDE can be very amazing if you install a rendering engine on it.

View 5 Replies View Related

General :: Set Up The JAVA_HOME Environment?

May 13, 2010

I tried to install the nutchwax and hadoop as a prequisite for the wera.

Problem:

localhost:

Error: JAVA_HOME is not set.

source code:

View 2 Replies View Related

General :: Any Other Ways To Set Environment Variables

May 20, 2010

I am running Red Hat Linux Enterprise 5; I am always using the export command to set environment variables.Are there any other ways to set environment variables and what are the advantages/disadvantages of them?

View 4 Replies View Related

General :: Where Is The $HOME Environment Variable Set

Apr 17, 2011

I'm looking for the place where $HOME environment variable set. It is after login, to my mind.

I'm using Linux debian 2.6.32-5-686.

View 3 Replies View Related

General :: Use Different Profiles For Different Console Environment?

Jul 9, 2011

Can I use two or more different profiles used in my console as the same time? Since, I always ssh to the other machines ,e.g. servers. in my console. Somehow, I always mix it up with my current PC.

I want to use 2 different profiles for different environments. Say, in server console, I use red background color. in my pc console, I use green background color such that i can easily distinguish out.or can i set the background color in .bashrc?

View 1 Replies View Related

General :: Start X Without A Desktop Environment

Aug 10, 2010

How can i start X without desktop environment?

My needs: Boot and load a notepad and when i close the notepad the PC turn off. Is it possible?

View 11 Replies View Related

General :: Environment Variables Not Being Set Correctly?

Jun 21, 2010

he $g09root is picked up ( in both the csh and the bash), but not the $GV_DIR or the $GAUSS_SCRDIR. I guess it's some stupid error, but it is highly frustrating.Here is the .profile file:Quote:

# To make use of this feature, simply uncomment one of the lines below or
# add your own one (see /usr/share/locale/locale.alias for more codes)
#

[code]...

View 9 Replies View Related

General :: Set Environment Variable With A Given Script?

Nov 23, 2009

i have to set environment variables , after the installation of intel(R)MKL for linux OS given in intel mkl user guide, which are INCLUDE, LD_LIBRARY_PATH, MANPATH,LIBRARY_PATH, CPATH, FPATH, NLSPATH using the script file which, in my case,is "mklvarsem64t.sh"How can i set these environment variables?Do i need to set all these variables?

View 2 Replies View Related

General :: Set The PATH Environment Variable?

Apr 25, 2011

set the PATH environment variable?

View 4 Replies View Related

General :: Is NIS Okay For A Centralized Working Environment

Jan 18, 2010

I am working for a web hosting company. We work in red hat linux environment and the employees at present are having their data stored in individual systems. We wish to have a centralized environment, so that users can log in to a server with their user names irrespective of the systems they will set. Also, this could facilitate easy backup. we have about 70 systems, 90% linux machines. The number will grow in future. I am good in NIS, but not at all with LDAP. Is it okay if I suggest NIS?

View 2 Replies View Related

General :: How To Setup A PXE Boot Environment

Feb 12, 2010

I'm trying to setup a PXE boot environment.Now the diskless machine reads in vmlinuz and initrd.lz from the /tftpboot directory of the dhcp server machine (host name: antilop, runing slackware 11.0).There is a NFS export named /usr/data/ubuntu on antilop (which can be mounted from the client when runing mandriva mcnlive Toronto)When I'm trying to boot with PXE, the kernel and initrd starts, eth0 gets a valid ip address.Then a lot of error messages appear saying: NFS over TCP not available from 192.168.1.48 <- this is antilop, my DHCP server and NFS server too.

Here is the content of the /tftpboot directory:

-rw-r--r-- 1 root root 34 2010-02-11 20:49 boot.txt
-rwxr--r-- 1 tjp users 75564 2009-10-05 16:08 gpxelinux.0*
-r--r--r-- 1 root root 5755032 2009-10-28 00:00 initrd.lz
drwxr-xr-x 2 root root 2592 2010-02-12 12:59 pxelinux.cfg/
-r--r--r-- 1 root root 3890400 2009-10-16 00:00 vmlinuz

Here is the contents of my /pxelinux.cfg/default:

default aaaa
label aaaa
kernel vmlinuz
append boot=casper netboot=nfs nfsroot=192.168.1.48:/usr/data/ubuntu initrd=initrd.lz

There is no process listening on tcp port 2049 (on antilop)I asked my friend google but it didn't give a satisfying answer so far.Some said that no nfs-over-tcp exists on slackware, some said nfs clients trying over tcp must fallback to udp.

View 3 Replies View Related

General :: How To Work In Scientific Environment

Apr 27, 2011

I am new user for linux. i need to know, how to work in scientific linux environment.

View 8 Replies View Related

General :: Set VI Environment - Color And Format ?

Jan 31, 2010

I need to do to make my VI scripts better formatted. The colorized commands, etc.., and the indents where necessary. Hope this question makes sense. I am running Fedora and Redhate Ent 5.

View 6 Replies View Related

General :: Why Can't Set Environment Value In My BASH Script

Jun 20, 2010

For example

Code:

I run "echo $PATH" after this script. The "/opt/bin" don't append to "PATH".

View 4 Replies View Related

General :: Multiple Java Environment On The Same Machine?

Apr 28, 2010

What's is the most efficient way to install multiple concurrent Java JDK versions on the same Linux machine?

I need Java5 whilst my current Ubuntu 9.10 Karmic comes loaded with Java6.

I know I could setup a VM for this but I am looking for alternatives.

View 1 Replies View Related

General :: Exporting Environment Variables In Ubuntu?

Jun 2, 2010

I know many people have asked about environment variables before, but I am having a hard time dealing with these paths while ensuring I don't mess around with the original settings. How would you go about executing these commands in Ubuntu in terms of environment variables?

put /home/stanley/Downloads/ns-allinone-2.34/bin:/home/stanley/Downloads ns-allinone-2.34/tcl8.4.18/unix:/home/stanley/Downloads/ns-allinone-2.34/tk8.4.18/unixinto your PATH environment; so that you'll be able to run itm/tclsh wish/xgraph.

IMPORTANT NOTICES:

(1) You MUST put
/home/stanley/Downloads/ns-allinone-2.34/otcl-1.13,
/home/stanley/Downloads/ns-allinone-2.34/lib,
into your LD_LIBRARY_PATH environment variable.

[Code]....

View 1 Replies View Related

General :: Lightweight Desktop Environment For Netbook?

Aug 2, 2010

I'm currently installing Arch Linux on my old netbook. What desktop environment should I use? GNOME and KDE both seem way too big and unnecessarily fancy for what I want to do with my basic netbook. I just want internet, read pdfs, run emacs. no fancy stuff. What should I use? xfce? lxde? and why?

View 4 Replies View Related

General :: Setting (permenant) Environment Variables In 10.0.4

Sep 4, 2010

I am running an application which requires setting environment variables to be set.At the moment, the way I am achieving this is by exporting the EV at the command line, and then running the app from the command line.I want to be able to run the app from my menu (it is already a menu item after I installed it).How may I set the env var so that it is always available, so I can just run the app from the menu instead of from the CLI?

View 1 Replies View Related

General :: File Association For Desktop Environment

Mar 9, 2011

With a desktop environment, there are file associations that goes with it. I'm a minimalistic user, who doesn't use any of such, but still want some kind of file associations to ease my burden. So I'm searching for a program that does something like the following. open file.pdf this will look at the extension, and translate to okular file.pdf. Of course one can always write a bash script to do this. I wonder if there is something existing, so I don't reinvent the wheel.

View 2 Replies View Related

General :: How To Save Environment Variable From Terminal

May 14, 2011

I am trying to save the PATH environment variable from the Terminal running on a Ubuntu system.I typed in the following however it does not get saved.

export PATH=/home/david/Komodo-Edit-6/bin/:$PATH

View 1 Replies View Related

General :: Ping Not Working In Chroot Environment

May 16, 2011

How can I use the ping command in a chroot environment?
$ ping 8.8.8.8
ping: icmp open socket: Operation not permitted
Currently I am using CentOs, but ideally there must be a solution that works in all chrooted environments.

View 2 Replies View Related

General :: Loading A New Kernel In A Chrooted Environment

Aug 30, 2011

Is it possible to load a new kernel while in a chrooted environment. Say I have one linux distro and want to chroot into another and load its kernel

View 1 Replies View Related

General :: Identifying The Desktop Environment And Distro?

Jul 18, 2010

I'm looking for the best way to identify what distro the user is running and what the desktop environment is running. I'm building some pipeline tools for a visual effects studio and need some generic commands for passing paths to the user's file manager from within Maya and Nuke. The workstations I have access to are FC12 with xfce4 so for that I'd pass a system command :

Code: ("thunar "+$path)I've been identifying Fedora workstations with:

Code: # cat /etc/issue

Is there a command to identify what the current window manager is? Preferably something generic that'll work on the other distros as well.

View 4 Replies View Related

General :: Change Group In Working Environment

Sep 8, 2010

I have files that are sourced when users are working on a project. The files set environment variables and cd to the correct working directory and automate a few other things for the end users.

One thing I have not been able to figure out is how to change the user to a different group. Files created in a project context should have the project GID instead of the users default GID. I tried the newgroup command but it starts a new shell and breaks the other automation.

Any ideas on how this can be setup?

View 2 Replies View Related

General :: Desktop Environment - Where To Start Troubleshooting?

Oct 31, 2010

My problem started only after I upgraded my hardware. I'll describe the problem and the changes that led to it.

Problem: I have to restart my computer a second time before my icon set and controls are shown properly. The first time I boot up, I get an ancient looking set of controls. (By controls, I mean buttons, window splitters, etc.). My custom icon set is replaced by an ancient looking icon set I've never seen in Ubuntu before. (Maybe it is a Debian default? It certainly isn't stock Ubuntu). The Gnome panels are completely different from normal too. I simply reboot again and everything comes up the way it should. Every time I start my computer, I have to restart a second time. After that, no problems until I need to shut it down and start again.

I'm running a relatively new installation of Ubuntu 10.10. I changed the theme to a bisigi theme [url] and everything was fine. No problems at all until...

Changes: Then I upgraded my video card from an older nVidia to a GT430. I had to change a couple things in xorg.conf. For that, I just used the suggestions made by the nVidia settings utility. I also upgraded my mobo and RAM (from 4GB to 16).

These problems started only after I upgraded my hardware. Of course, the hardware upgrade involved the above noted software configuration changes. (xorg.conf was the only required change.)

I'm looking for ideas on how to troubleshoot this? I don't even know the first step. For example, what logs should I check? Should I suspect a hardware problem (e.g., bad video card) or is this software/configuration related?

View 2 Replies View Related

General :: Create A Desktop Environment Theme?

Apr 28, 2011

I have a tried looking at google up, no luck, but maybe i am blind, anyway. I want to looking for, I want to create a theme and icons, too.

View 3 Replies View Related

General :: Permanently Saving The Environment Varibles

Jul 8, 2010

Every time when i want to set an environment variable i need to export it and when i close the terminal and again open it the variables are lost. Is there a way to permanently save the environment variables?

View 4 Replies View Related

General :: Favorite Lightweight Desktop Environment?

Jul 22, 2011

For a while I have been searching for a new desktop environment to use on my netbook, since gnome 3 is too heavy for it. Currently it is running ubuntu because unity is lighter than gnome 3, but I am planning to go back to fedora at some point in time. So far I found LXDE to be my favorite, after trying XFCE and Enlightenment.I'm not looking for a solution here, just opinions, what is your favorite lightweight desktop environment (and with which WM if you wish) and why?

View 14 Replies View Related







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