LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Xming, startx as root: Server already active for display 0 (https://www.linuxquestions.org/questions/linux-newbie-8/xming-startx-as-root-server-already-active-for-display-0-a-831616/)

rptk 09-11-2010 06:00 PM

Xming, startx as root: Server already active for display 0
 
Running Debian Lenny, using Xming as my remote X client for display 10. Under an normal user I can launch gui apps, like xeyes, firefox, etc. However, I would like to launch a windows manager.

When trying this as root i get:

debian-host:~# startx
X: warning; process set to priority -2 instead of requested priority 0

Fatal server error:
Server is already active for display 0
If this server is no longer running, remove /tmp/.X0-lock
and start again.


Invalid MIT-MAGIC-COOKIE-1 keygiving up.
xinit: Interrupted system call (errno 4): unable to connect to X server
xinit: No such process (errno 3): Server error.

Is there a way to remotely start a gui? Thank you for you time.

gdejonge 09-12-2010 11:20 AM

Try to start a second X session with
Code:

startx -- :1
_______________
Gerrard


All times are GMT -5. The time now is 04:10 PM.