LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   question about evince error from the official redhat certification (https://www.linuxquestions.org/questions/linux-newbie-8/question-about-evince-error-from-the-official-redhat-certification-4175637157/)

fick_manning 08-26-2018 08:47 AM

question about evince error from the official redhat certification
 
hi guys.
so i am a newbi ..:)
i have a question regardin an error the i get when i whant to run evince command in centos.
i am doing this for a homework from the certification course
so i created a file like this:
Code:

man -t passwd > passwd.ps
so i run evince and i am getting this error:
Code:

evince
or
Code:

evince file.ps
Code:

cannot parse arguments : cannot open display
i tried from verious of location and i still get this error
i should mantion that the file is opend via the gui interface.
evince is installed and up to date.
i am using the lateset cenots and when i installed it it was with all of the featuers.
i am using it on virtualbox on windows 10.
everything else is working find in the linux machine.
anyone know how i can run evince wiithout getting this error?

timl 08-27-2018 03:23 AM

I recreated this error after using ssh to access a computer running Fedora. If I look at my Centos release running as a Virtual Machine there is no such error. Let us know if you are using SSH and there is a simple solution.

fick_manning 08-27-2018 08:28 AM

run in virtualbox on my pc i am using bash centos

michaelk 08-27-2018 11:43 AM

To elaborate on timl's post

If you are connecting to your CentOS guest using ssh the error is caused by not enabling X11 forwarding. However, if you connecting from a windows machine you need a running X server. If you are connecting to your CentOS guest directly do you have a desktop installed?


All times are GMT -5. The time now is 01:35 PM.