You are not logged in.

#1 2009-11-29 12:29:08

felonwan
Member
Registered: 2009-05-29
Posts: 5

Can't see GUI unless switch to ttyn then back to tty7

I didn't install gdm or kdm, just write

exec startxfce4

in "/root/.xinitrc", and use

startx

to start xfce4.  But after this command was executed, the screen was alway black, can't see the X window until I use

Ctrl+Alt+Fn

to switch to ttyn and then switch back to tty7.

My fellow also encountered this problem in Ubuntu several days ago, and still can't solve it.

Seems the problem of Xorg?

Last edited by felonwan (2009-11-29 12:30:23)

Offline

#2 2009-11-29 15:02:35

pseup
Member
Registered: 2008-06-06
Posts: 103

Re: Can't see GUI unless switch to ttyn then back to tty7

For starters, you really shouldn't be launching X as root. Create an .xinitrc in your users home directory and `startx` as your user, not root.

As for the issue of needing to swap to a TTY and back, well I'm not sure. See if the problem persists when launching via user and go from there.

Offline

Board footer

Powered by FluxBB