[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

startx as user



Im having some trouble with kde, but still depend on my sup as a daily
work environment.  So I'd like to be able to ru kde on one display
(:0) and afterstep on a second (1).  

I tried this:

startx /usr/bin/afterstep -- :1
and got the message "can't open .Xauthority"
so I tried writing a tiny script:


#!/bin/bash

X -auth .Xauthority1 :1
/usr/bin/afterstep

and got the message: 
X: user not authorized to run the X server, aborting.
AfterStep: can't open display

as root or with sudo either method works.  
Any advice on a safer way to start a second x session?

thanks as usual,
matt



Reply to: