Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    can't log in due to DISPLAY variable issues

    can't log in due to DISPLAY variable issues
    yesterday, I used vpn in a laptop to connect my computer A
    I wanted to open firefox on computer A through shell but it prompted "“Error: no display specified"
    then I used
    export DISPLAY=":0.0"

    and it was fine then

    later I wanted to use VNC for connection, and I used display 3 for the VNC server.

    anyway, the remote operation is OK

    today I come to the computer A, and I noticed that I can't open firefox
    it prompts
    "“Error: no display specified"

    I tried to export DISPLAY to different values, it doesn't work

    then I reboot the computer, then there is the login interface which requires me to input my username and password. I input the correct username/password, but I can't log in

    how can I deal with this? thanks!

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    What distribution+version of Linux are you running? Also, which version of Xorg? I have never seen this problem before, so more information would be helpful in sorting this out.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts