Server :: SSH Into Particular Directory - Locale Set Back To Default

Jul 20, 2011

So, I wanted to give myself a short cut to not just login to a remote server, but also change into a particular directory once I got there. This was harder than I expected, but this finally worked when I wrapped this up into a shortcut:
ssh -t user@example.com 'cd /var/www/mydir; bash'
And I just alter the directory path to make another shortcut to a different place on the same server. This does work, however, it seems when I log in this way, some of my environment is lost, and my locale is set back to the default "POSIX". That's not good. I'm running Gentoo Linux (amd64).

View 3 Replies


ADVERTISEMENT

Ubuntu :: Wrong Locale \ Go Back To English, The Locale Doesn't Change Back, Only The Menus Are In English?

Mar 5, 2011

I recently installed language packs for Japanese and changed my system language to it, too. The problem is, now that I try to go back to English, the locale doesn't change back, only the menus are in english. "Apply system wide" in the Language Support didn't do anything; Firefox is in japanese too. Here is my locale output:

LANG=ja_JP.utf8
LANGUAGE=en_US:en
LC_CTYPE="ja_JP.utf8"

[code]....

View 1 Replies View Related

Ubuntu Installation :: Can't Create Japanese Locale: Get A Segmentation Fault On Generating Locale?

Oct 13, 2010

Maverick 10.10 is unable to create Japanese locales on my wife's laptop (Acer Aspire 3000). This machine previously had no such problem. The install is a fresh install, since the machine froze during the upgrade (no fault of Ubuntu's). A possible complication is that it froze several times more during the install, and I have gone through many recovery boots and iterations of dpkg configure. All relevant packages are installed, I believe. Everything else works. Through System, Administration, Language Support, I have installed all components of English and Japanese. Currently English is selected. Japanese should appear in the list but does not. Japanese text appears properly, and I can write in Japanese,But all the menus are in English. Fine by me, but my wife will want Japanese when she uses the computer again (not soon).This mostly likely is a glibc/libc6 problem, as far as I can tell. I can't find any other Ubuntu user with this problem recently.And now, some outputs:1. dpkg-reconfigure locales

sudo dpkg-reconfigure locales
Generating locales...
en_AG.UTF-8... done

[code].....

View 1 Replies View Related

Server :: Can Change Default Ftp Session Directory

Apr 9, 2010

i have created a wordpress user with a symbolic link from his home (/home/wordpress) to /usr/share/wordpress but when wordpress ftps to wordpress home dir it does not follow the sym-link. is there a way to set default ftp dir for the wordpress user to /usr/share/wordpress rather than /home/wordpress?

View 7 Replies View Related

Server :: Apache - A Default Index.cgi When Directory Is Browsed ?

May 20, 2010

I've set up Apache once or twice in the past, but my memory is escaping me on something simple. This time the OS is Cent5 with Apache/2.2.3

When a user browses to: [url] <nothing else> I get as expected, a '403 'You don't have permission to access' because directory browsing is off for obvious reasons :-) If I enter the full URL to the script: [url]it works as expected. No issues there.

What I would *like* to do (and I'm sure I've done this before) is to set the cgi-bin up so if someone leaves off the script name: http://host.name/cgi-bin/ it serves "index.cgi" pretty much in the same way that if you browse to the root http directory, you index.html||php would normally serve. I just can't remember how to achieve this simple thing and I'm starting to wonder 'am I mad? - Did I do this before?'.

Sanity check - index.cgi exists and runs if you call it directly thus:

Code:

I have added:

Code:

That made no difference.

Tried:

Code:

For good measure, but that made no difference - and even

Code:

and no amount of playing with 'Options Indexes || -Indexes || +Indexes' helped me.

Like I say, I'm sure I've done it before (on Debian/Ubuntu) without the need to start playing with redirects or .htaccess - but I'll be blowed if I can remember how.

View 2 Replies View Related

Ubuntu Networking :: FTP Server - Setting Default Directory Per User

Jun 21, 2010

I am using VSFTPD as my FTP daemon. I want it to be set up so that my user (cj) will have a default directory of / when I log on to the FTP server and I want the secondary account (guest) to have it's home directory as the default location without any access to the root of the drive.

I need my account to have the default as / because the FTP client that I use in Windows won't go up to the parent directory of the default. Therefore, I cannot access the rest of my drive.

When I set "local_root" to "/" , it brings both users to the / directory when they sign in, even though the guest account is set to open the home directory with the "chroot_list_enable". It seems like the local_root option overrides the chroot_list_enable option.

Is there any way to set the default directory for each local user separately?

Also, Let me know if this is impossible with this FTP daemon

View 2 Replies View Related

Debian :: Set Xdm Back To Default?

Aug 1, 2010

I recently installed SLiM and wanted to give it a try. I found out that XDM actually loads a bit faster on my machine, so I'm going to stick with it. I uninstalled SLiM, leaving XDM the only login manager on my system, but how can I change it back to the default? When my system boots up, I get the default console login.

View 5 Replies View Related

Fedora :: How To Reset KDE Back To Default

Jun 21, 2009

my question is simple and yet in true linux fashion the answer eludes my best google searches.

i accidentally removed my taskbar from the bottom of my Fedora 11 KDE desktop. after messing around with it i was able to get a working panel using the add panel feature, but i dont like it.

how do i restore my KDE desktop to the Leonidas default that it installs with?

View 4 Replies View Related

Fedora :: Setting GDM Back To Default?

Jan 20, 2010

I tried changing my Theme via MAC4LIN and it didnt work i get an error messege that shows:

cp: cannot stat `/etc/gdm/gdm.conf': No such file or directory
sed: can't read /etc/gdm/gdm.conf: No such file or directory
sed: can't read /etc/gdm/gdm.conf: No such file or directory

Previous to this i had tried installing KDM but it didnt appear to do anything (as in change any of the display management settings) The guide that i was reading to install MAC4LIN just uses GDM so i decided not to pursue KDM anymore. I Get the following read out:

[Jason@Echo ~]$ yum info gdm
Loaded plugins: presto, refresh-packagekit
Installed Packages
Name : gdm
Arch : i686

[Code].....

The goal is to set all my GDM settings back to normal so i can have that gdm.conf file. Anyone know a way to set the GDM back and repair any damage ive done?

View 2 Replies View Related

OpenSUSE Multimedia :: How Can I Set Default Back To VLC

May 24, 2011

Just upgraded to 11.4 and am at bottom of learning curve again. With previous system (11.2) vlc was default application for videos.Now it is Kaffeine.How can I set default back to VLC please?

View 9 Replies View Related

Ubuntu :: Get Back Default Panel?

Mar 9, 2010

Very n00b question. Am running lucid alpha 3 and while just checking it out i deleted the group icon which looks like a msg on the top right bar (the one that grouped the empathy and gwiber account)

Have tried multiple ways but its getting to the older setting

do i have to reset the panels to their defaults to get it corrected or is there any other way

View 4 Replies View Related

CentOS 5 :: Where Can I Change It Back To Default 15?

Mar 12, 2009

I've noticed that on one of our servers apache is running on nice 19.Any idea where can I change it back to the default 15?I know I can change it on the apache startup script, but I thought it's probably better to change the default value that was probably changed somewhere.It is running as a service on startup.

View 1 Replies View Related

Ubuntu :: Kubuntu Kde 4.3 How To Get Back Default Panel

Jan 4, 2010

I messed up with panel on kde 4.3 I lost wifi knetwork manager and some other stuff I want to reset to factory default kde 4.3 panel I googled it but found solutions for kde3.5 which are not working with kde 4.3please let me know how can I get back panel

View 7 Replies View Related

Ubuntu :: Put An Environment Variable Back To Its Default?

Mar 2, 2010

I am happy to say that after almost a week of wandering around the INTERNET and posting desperate questions to our Ubuntu forums on how to set paths etc., I have finally begun to understand just how environment variables and path setting works. I must say, it wasn't all reading this or that, but rather making changes to my paths that helped me to understand. Anyway, if anyone who does not understand environment variables is reading this, then I recommend reading this

HTML Code:
http://java.sun.com/docs/books/tutorial/essential/environment/paths.html
and this
HTML Code:
http://www.belugalake.com/java/pathsetting.html

OK- I have 1 last question for my fellow linux users. Lets say I opened up $HOME /.profile and did some editing, and later decided to undo all of my changes but I forgot exactly what changes I made so now I want to set the default in there. How would I accomplish this? How do I set the defaults for any ~/.bashrc or ~/.cshrc type of files that I change.

View 1 Replies View Related

Ubuntu Installation :: Downgrading Back To Default?

Aug 21, 2010

I upgraded my Lucid Lynx with some PPAs and found some bugs. Now I removed the PPAs and want to downgrade my system according to default repositories. What is the best way to do that?

View 3 Replies View Related

Ubuntu :: Set Toolbar Back To Its Default Settings?

Apr 24, 2011

I accidentally screwed it up.

View 6 Replies View Related

Debian :: Restore Back To Default Starting Up In Gdm?

Mar 7, 2011

somehow in the process of trying to get wireless connection, gdm on start-up now fails. i'm stuck in commandline and i have to manually specify startx everytime.

how to i restore debian back to default starting up in gdm?

i've lost my shutdown button, it just disappeared!

how do i restore it?

View 9 Replies View Related

General :: Get The Default Configuration Smb.conf Back?

Sep 6, 2010

The issue is I screw up my smb.conf by SWAT and I want now the default configuration with all comments back. I try:apt-get remove --purge samba > it leaves the default configuration in samba/ directorythe other way is to download source package....apt-get source sambaIs there some other quicker way how to get the default smb.conf file back?Yes but on Debian 5.0:I uninstall samba.Remove samba/ dir.Install samba.I'm unable to bring up nmbd daemon UP - missing samba/ dir with smb.conf. I create samba/ dir with smb.conf and nmbd is fine!

View 2 Replies View Related

CentOS 5 :: Switching Back To Default Repository

Mar 26, 2009

I just installed PHP 5.2 using this guide [url]

The install did work without errors and is listed correctly on yum but isn't working when I test a php script.

So now I need to downgrade back to the php 5.1 but yum is now stuck on this atomic repository, how do I get back to the Centos repository and downgrade PHP to 5.1?

View 17 Replies View Related

OpenSUSE :: 11.3 LXDE Keeps Changing Wallpaper Back To Default?

Dec 27, 2010

I can set it but when I reboot it goes back to default

View 6 Replies View Related

General :: Swap Partition To The Back Of The Disk By Default?

Sep 8, 2011

As far as I know hard drives are faster at the beginning of the disk. If this is true, why does Ubuntu put the swap partition to the back of the disk by default?

View 1 Replies View Related

Ubuntu :: Keyserver Page Just Brings Back Default One

May 6, 2010

Ubuntu's keyserver page just brings back a default it works page. Is there a way to manually search or enter keys here, since this page seems to not have been completed? Doesn't look like this page will be completed either last edit date on this page is Tue 06 Oct 2009 05:49:36 AM CDT

View 1 Replies View Related

Ubuntu :: Change Back To Default Plymouth Theme?

May 19, 2010

I remove nouveau to install the nvidia 195.xxx driver. When I boot back, the plymouth was the ubuntu 10.04 theme. How do I change it back to xubuntu 10.04?

View 9 Replies View Related

Ubuntu :: Change Emerald Theme Back To Default?

Jun 5, 2010

Have recently installed emerald and downloaded and imported a new theme, however I know want to go back to the default theme (I believe it is called Beryl Red).

View 6 Replies View Related

Ubuntu :: Changing Login Screen Back To Default?

Aug 15, 2010

First of all not sure if this is the correct forum but anyway.Ok well i installed this theme because i liked the look of windows 7 (http://gnome-look.org/content/show.p...content=113264).So i ran the GUIUninstall.sh and it seemed to work but the login screen still has the theme i was wondering how i could change it back to the defualt one.

View 2 Replies View Related

Ubuntu :: Reset Fonts Back To The Lucid Default?

Aug 20, 2010

I accidentally deleted my /etc/fonts/font-config file and now my fonts are all terribly out of whack in several applications including Synaptic, Chromium, Firefox, etc. How do I reset my fonts back to the Lucid Lynx default?

View 4 Replies View Related

Ubuntu :: Change Driectory In The The Terminal Back To Default?

Aug 29, 2010

I was trying to install google earth. This is what I did:1. Open a terminal and change to the directory where the installer downloaded to. (on desktop) :cd ~/Desktop2. Change the permissions on the installer so you can run it:chmod +x GoogleEarthLinux.bin3. Run the installer as the root user:sudo ./GoogleEarthLinux.bin4. The installer dialog will open. The default install paths work fine. Click Begin Install.Once the installation is finished you can click Start to launch Google Earth.HOW DO I CHANGE BACK TO THE CORRECT DIRECTORY IN THE TERMINAL

View 5 Replies View Related

Ubuntu :: Firefox Setting Keep Changing Back To Default?

Sep 30, 2010

I'm not sure exactly what happened, but starting a few hours ago, every time i open firefox,the settings have all reverted to the default. I change them back to what i prefer, then when i open it again they are back to the default.

View 4 Replies View Related

Ubuntu :: Set Grub Menu Settings Back To Default?

Jan 5, 2011

I have got ubuntu netbook edition installed alongside windows xp and after some custimising i can now only chose the ubuntu option and no others. Can i set settings back to default settings?and how? I guess it would be via terminal commands

View 9 Replies View Related

Ubuntu :: How To Change Back To Save By Default To / Username

Jan 30, 2011

Not sure how this happened, but my Print-to-file always automatically displays "File System" as the default save location.Does anybody know how to change this back to save by default to ~/username

View 9 Replies View Related







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