[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Ny session/skift bruger



Michael Nørgaard Steen wrote:
Den Sat, 11 Mar 2006 12:49:58 +0100. skrev Anders Ossowicki:

[ ... ]

Kender du kommandoen, der ligger bag? Jeg har forsøgt med
'startx login -- :1', og det ser ud til, at den starter en ny x-session,
men den lukker straks ned med advarslen '(WW) NV(0): Failed to set up write-combining range (0xe8000000,
0x2000000)', og det er det samme som almindelig bruger og som root.
Det er det samme om jeg erstatter login med kdm.


Måske skal man ned på et lavere niveau end en almindelig brugers
bash-shell for at kunne logge på som en anden bruger?

Brugeren skal logge på først og så køre 'startx -- :1', X har ikke login-prompt. Hvis man i en X-termial skriver 'startx -- :1', startes der en ny X under samme bruger.
Derfor må det skulle gøres sådan:
su - <user>
startx -- :1
Men der er et problem: brugeren skal være autoriseret til at starte X, hvordan det gøres ved jeg ikke. Måske brugeren første gang han skal starte X logge på efter en boot i runlevel 3 ?.


Output fra forsøget:

sslug@sslug jph]$ su - jphx
Password:
sslug@sslug jphx]$ startx -- :1
Using authority file /home/jphx/.xauthIIzy12
Writing authority file /home/jphx/.xauthIIzy12
Using authority file /home/jphx/.xauthIIzy12
Writing authority file /home/jphx/.xauthIIzy12

Authentication failed - cannot start X server.
Perhaps you do not have console ownership?giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
Couldnt get a file descriptor referring to the console
sslug@sslug jphx]$


-- Med venlig hilsen

Jørgen Heesche
mailto:sslug@sslug
Registered Linux User #401007


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2006-04-01, 02:02 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *