Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2012
    Posts
    85

    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
    Code:
    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
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    11,159
    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
  •