You are not logged in.
A friend of mine, who has NO access to the internet has a problem with his X install. It starts up, but only shows a black screen. Going to an alternate TTY DOES work, and killing and restarting X produces the same results. We've killed X, removed the lock file (which isn't there after we removed it the first time), we've removed .XAuthority...
xrandr continues to tell us "Cannot open display" both with and without sudo, and gives us no explanation, or any other errors. I will have him attempt to get me any and all log files that will seem appropriate.
EDIT: We unplugged the monitor and plugged it back in... and now it works.
Last edited by Xlaits (2016-12-05 07:21:26)
Offline
@Xlaits, hi I understand this is tagged as solved but just for information...
After installing X a blank screen would not necessarily indicate anything wrong. If X is configured correctly it would suggest that twm,xterm,xclock are not installed.
If you use the default xinitrc config file (/etc/X11/xinit/xinitrc) or a copy of this in your /home folder (.xinitrc), the twm window manager and other apps are started by default and gives you some examples to run on a fresh install of X. Indeed this is a good example of how to correctly start X with the startx command.
You would go on from this to install a desktop environment and comment out these programs from starting, and finally add an appropriate command to start your desktop environment of choice (exec startkde).
Offline