Another reason to prefer a real root over sudo
Chris Jones
christopher.rob.jones at cern.ch
Mon Feb 2 17:55:02 UTC 2009
>>
Hi,
>>
>> su - me
>> sudo startx -- :1
>>
>>
>> (I think this will give you a root X session, but I only have one
>> user
>> on this box so I'm not 100% that it still works)
>>
> But doesn't that zap the current X session?
I'm slightly surprised someone who has "been using and
administering Unix boxes for much longer than Ubuntu has existed" had
to ask this ...
No, it starts a second X session on DISPLAY :1 (Basically exactly what
my suggestion of user switching does at a lower level).
Chris
More information about the ubuntu-users
mailing list