Author Topic: Set up normal user, startx says it cannot run.  (Read 2575 times)

diesel1

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.diesel1.demon.co.uk
Set up normal user, startx says it cannot run.
« on: August 13, 2004, 02:17:14 pm »
Hello,

I added a normal user, logged in as user, then did startx which said it couldn't run without root permissions.
Do I need to do something special to add a user, with gui access etc?

Thanks in advance,

Simon.
C860-Zubuntu
DLinkAir660WCF-1Gb/256Mb/64MbIntegralSD-256Mb/64MbIntegralCF

SL5500-OZ3.5.2/OPIE1.1.7

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Set up normal user, startx says it cannot run.
« Reply #1 on: August 14, 2004, 03:26:23 am »
Quote
I added a normal user, logged in as user, then did startx which said it couldn't run without root permissions.
At the moment I believe PDAXROM will only run when logged in as root.

You may see a few threads if you look around asking for the next release to be less root centric but I really don't know if this is the case. I would wait for 1.1.0 and see if it will run X as a 'normal user' before wasting a lot of time modding permissions across various parts of the ROM to see if you can get it going.
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

Zumi

  • Sr. Member
  • ****
  • Posts: 257
    • View Profile
    • http://
Set up normal user, startx says it cannot run.
« Reply #2 on: August 14, 2004, 05:56:04 am »
I used my system as a normal user. I don't think it became much more secure, because the method was to set everything setuid that said it hasn't got permission to something.

It was, however more convenient with ssh and it wasn't so terrible to see that I use a Linux as root everytime. If I wanted to see that, I wouldn't buy a Zaurus...

Ping works only as root, but it's a busybox feature and I didn't bother myself with it.
I can't say specific things, because now I have a-not-workink-dev-version-of-the-ROM on my Zaurus. (Laze, pleeeease release the RC ROM! )

So, I think to use X with a normal user, try to find the X executable (which is somewhere in the /etc/X11/ or somewhere in the /usr/) and make it setuid. (# chmod +s /dir/filename -- or use mc )

Zumi
SL-C860: pdaXrom 1.1.0beta1
SD: 1GB A-data, GPS: Haicom HI-303S, Bluetooth: Nokia DTL-1 CF, CF WiFi: ASUS SpaceLink WL-110
Browse user contributed packages for pdaXrom!