Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-08-2014, 12:21 PM
|
#1
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
|
Terminal Emulator Opens in Root (Slackware 14.1 stable, Xfce)
So, for some strange reason, logged in as "me," startx, open Terminal Emulator and it opens as me in root (not in /home/me) -- the log in opens in my home directory.
Huh.
Deleted the launcher, created a new one, same thing.
Huh.
Go on a bug hunt, can't find anything (obvious) in either ~/.cache or ~/.config. Tried other log ins, no problem.
Huh.
OK, past experience with Xfce, delete ~/.cache, stop X, log out, log back in, startx, problem gone.
Huh.
Question is, how the heck does this happen -- Xfce glitch? Me fumble-fingering something? Magic? Only thing I've done different or new is the past 24 hours is use growisofs to burn a couple of DVDs and I can't imagine that caused any problem (never knew there was such a thing as growisofs until yesterday, found out about it after problems with K3b -- don't burn many DVDs as a rule -- thanks to Didier Spaier).
How the heck did this happen?
|
|
|
02-08-2014, 02:17 PM
|
#2
|
Senior Member
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
|
this happen to me a long time ago when I did a mirror of one of my slackware systems and moved it was also strange never figured it out either still scratching my head.
|
|
|
02-09-2014, 07:39 AM
|
#3
|
Member
Registered: Sep 2012
Posts: 451
Rep:
|
If you go into "Preferences" for the terminal app and check "Run Command as Login Shell" does the problem go away? If it does it might be something in your xintric or xfce's session manager is changing the current working directory.
|
|
|
02-09-2014, 10:02 AM
|
#4
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
|
I always run the terminal emulator as a login shell, I do a lot of command line and text work and a login shell guarantees my desired environment settings. So, given that, I suppose a login shell didn't make any difference. Too, I don't have ~/.xinitrc files in any of the accounts on the system; I use KornShell exclusively and there is a ~/.kshrc file (that sets a couple of aliases, a ~/.exrc that set modes for vi and a ~/.profile that sets a couple of paths and the like (these files have been in use for at least 15 years with virtually no change made to them from System 3 to System V to Solaris to Slackware).
I did "fix" the problem by blowing away the ~/.cache directory (not much of a fix but prior experience with Xfce taught that removing the cache cleaned up various problems. Quickly. I'm just wondering what the heck caused it in the first place (I have never, ever seen that behavior on any Unix or Linux system since, oh, the early 1980's). It's a concern when I can't figure out how it happened (I looked though the entire shell history of every login account I've used over the past week for some hint and there's nothing there that looks remotely responsible -- and I can't duplicate it either).
Tiz a puzzlement.
|
|
|
04-27-2014, 09:06 AM
|
#5
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
|
As of today, 27 Apr, this has happened again. Open a terminal, I'm in root (the actual root, not root's home). I can cd and I'm in my actual home directory:
Code:
fubar-trona-/: cd
fubar-trona-/home/trona:
Seems like something, somewhere is doing this (no idea what) and I don't want to blow away the ~/.cache directory -- which has been the "fix" -- without chasing down what's causing it.
Looking at /home/trona/.cache/sessions/xfce4-session-fubar:0 I see:
Code:
Client3_RestartCommand=xfdesktop,--display,:0.0,--sm-client-id,28e5fb353-d897-45d3-a898-1f1bfc79b404
Client3_CurrentDirectory=/home/trona
Client3_Program=xfdesktop
Client3_UserId=trona
Client3_Priority=35
Client3_RestartStyleHint=2
Client4_ClientId=2e503dc1b-25a6-40d1-a319-a0b535e77052
Client4_Hostname=local/fubar
Client4_CloneCommand=xfce4-power-manager
Client4_RestartCommand=xfce4-power-manager,--restart,--sm-client-id,2e503dc1b-25a6-40d1-a319-a0b535e
77052
Client4_CurrentDirectory=/
Client4_DesktopFile=/etc/xdg/autostart/xfce4-power-manager.desktop
Client4_Program=xfce4-power-manager
Client4_UserId=trona
Client4_Priority=50
Client4_RestartStyleHint=0
Client5_ClientId=22f9c4fce-f1c6-4db0-b759-59fdb237c2b4
Client5_Hostname=local/fubar
Client5_CloneCommand=/usr/bin/gkrellm
Client5_RestartCommand=/usr/bin/gkrellm,--sm-client-id,22f9c4fce-f1c6-4db0-b759-59fdb237c2b4
Client5_Program=/usr/bin/gkrellm
Client5_UserId=trona
Client5_Priority=50
Client5_RestartStyleHint=0
Client6_ClientId=22f037889-4325-4bda-81dc-bef10796e3d3
Client6_Hostname=local/fubar
Client6_RestartCommand=/usr/bin/kactivitymanagerd,-session,22f037889-4325-4bda-81dc-bef10796e3d3_139
8516307_933134
Client6_Program=/usr/bin/kactivitymanagerd
Client6_UserId=trona
Client6_Priority=50
Client6_RestartStyleHint=0
Client7_ClientId=220f3f7f6-0585-4847-a6ec-6aecd3bce29d
Client7_Hostname=local/fubar
Client7_RestartCommand=/usr/bin/hp-systray,-session,220f3f7f6-0585-4847-a6ec-6aecd3bce29d_1398516307
_934181
Client7_Program=/usr/bin/hp-systray
Client7_UserId=trona
Client7_RestartStyleHint=0
Count=8
LegacyCount=0
Screen0_ActiveWorkspace=0
LastAccess=1398516307
Which makes no sense whatsoever.
Anybody have any ideas (other than blow away ~/.cache)?
|
|
|
04-28-2014, 11:32 AM
|
#6
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
|
Well, I've dug around all over the place trying to identify the cause and have come up empty.
Easy solution: rm -r ~/.cache.
Phooey.
|
|
|
04-28-2014, 01:25 PM
|
#7
|
LQ Veteran
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Rep:
|
Quote:
Originally Posted by tronayne
Well, I've dug around all over the place trying to identify the cause and have come up empty.
Easy solution: rm -r ~/.cache.
Phooey.
|
Surprising how often that "fixes" stuff.
|
|
|
04-28-2014, 05:56 PM
|
#8
|
LQ Veteran
Registered: May 2008
Posts: 7,105
|
Random and unpredictable behaviour/breakage used to be the province of MS Windows. This used to happen to me with KDE apps and the ~/.kde directory, but it's sad to see it spreading to other linux desktop environments as well.
There's something to be said for sticking with a basic window-manager and 'xterm'. You'll probably get labelled a 'Luddite' by the unenlightened, but you never have to deal with nonsense like this.
|
|
1 members found this post helpful.
|
04-28-2014, 06:17 PM
|
#9
|
Senior Member
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Original Poster
|
Quote:
Originally Posted by GazL
Random and unpredictable behaviour/breakage used to be the province of MS Windows.
|
Ah, but it still is.
Quote:
Originally Posted by GazL
This used to happen to me with KDE apps and the ~/.kde directory, but it's sad to see it spreading to other linux desktop environments as well.
|
Uh, yeah. That's why I abandoned KDE two release or so ago.
Quote:
Originally Posted by GazL
There's something to be said for sticking with a basic window-manager and 'xterm'. You'll probably get labelled a 'Luddite' by the unenlightened, but you never have to deal with nonsense like this.
|
Naw. Wouldn't go quite that far. Plain ol' xterm? No, thanks, I'll put up with the random breakage, methinks.
Still, gotta wonder what and why, eh?
|
|
|
All times are GMT -5. The time now is 10:15 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|