Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-22-2008, 01:43 PM   #1
Registered: Jul 2003
Location: Chicagoland
Distribution: ArchLinux
Posts: 261

Rep: Reputation: 32
terminal (xterm) opens in /root directory?

When I open xterm from user "bob" with home directory of /home/bob, the xterm opens with user bob in directory /root.

How do I set xterm to open in the users home directory?
Old 09-23-2008, 06:48 AM   #2
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 39
Check the output of 'id -a' to confirm that you are indeed logged in as bob. Also, what is the output of 'cat /etc/passwd | grep bob' ? That should show your default home directory.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
making a script that opens terminal and enter commands into that terminal Cinematography Linux - General 8 12-16-2008 11:34 AM
xterm - howto lauch an xterm into a specific directory jobano Linux - Software 8 02-26-2008 04:18 PM
Terminal opens to ~/Desktop General Linux - Software 1 11-05-2005 06:00 PM
terminal no longer opens in FC3 hywaydave Linux - Software 1 01-11-2005 05:30 PM
Xterm does not start in root directory mystique98ls Linux - Newbie 2 12-14-2004 06:45 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration