Re: So here is my problem...
Re: So here is my problem...
- Subject: Re: So here is my problem...
- From: David Barto <email@hidden>
- Date: Sat, 08 Jun 2013 08:13:03 -0700
Doesn't look like there is any users that are disabled from have X start for them.
David
barto-macbook:~ Admin$ launchctl list org.macosforge.xquartz.startx
{
"Label" = "org.macosforge.xquartz.startx";
"LimitLoadToSessionType" = "Aqua";
"OnDemand" = true;
"LastExitStatus" = 0;
"TimeOut" = 30;
"ProgramArguments" = (
"/opt/X11/lib/X11/xinit/launchd_startx";
"/opt/X11/bin/startx";
"--";
"/opt/X11/bin/Xquartz";
);
"EnableTransactions" = true;
"Sockets" = {
"org.macosforge.xquartz:0" = (
file-descriptor-object;
);
};
};
On Jun 7, 2013, at 3:25 PM, Jeremy Huddleston Sequoia <email@hidden> wrote:
> Is the startx job disabled for that other UID? launchd stores per-uid overrides.
>
> launchctl list org.macosforge.xquartz.startx
>
>
> On Jun 7, 2013, at 2:44 PM, David Barto <email@hidden> wrote:
>
>> I've just upgraded to Mt. Lion and have the following problem:
>>
>> The user that under Lion worked with X auto starting properly no longer has X auto starting. The DISPLAY environment variable no longer appears in that users environment. This user has a custom UID of 20000 to match the Linux environment that is present at work. Lets call this user linuxid.
>>
>> I create a new user (me, UID 504) copy all the work files (and Unix environment files, .bashrc, etc) from the broken linuxid account.
>>
>> Logout, login as the new 'me' and this new user sees the DISPLAY in its environment. Cool I think, I'll just clone (ditto) this new 'me' user to the older linuxid user and chown the files to be owned by that older user and life is good.
>>
>> not so much
>>
>> So I backup and try it the long way verifying everything along the way:
>>
>> Login to the Admin account (Admin) and clone 'me' to a new user
>> ditto . /Users/clone
>> move my current home directory to the side
>> move /Users/me /Users/me.orig
>> and then move the clone to be me
>> mv /Users/clone /Users/me
>> and then login as 'me' to verify that the 'ditto' operation isn't breaking anything.
>>
>> Everything is fine.
>>
>> Good, logout, login as Admin
>> Move the unixid user out of the way
>> mv /Users/linuxid /Users/Unixid.orig
>> Convert my current login (which works) to the linuxid name
>> mv /Users/me /Users/linuxid
>> Restore my original working login
>> mv /Users/me.orig /Users/me
>>
>> Logout, login as 'me' to verify that everything is working.
>>
>> It is.
>>
>> Logout, Login as Admin
>> Change the ownership of the files in the linuxid account
>> sudo chown -R linuxid /Users/linuxid
>> Logout
>> Login as linuxid
>> Bummer, no DISPLAY in the environment.
>>
>> What am I missing?
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> X11-users mailing list (email@hidden)
>>
>> This email sent to email@hidden
>>
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden