I am trying to set up a remote VPS with a standard Debian 5 install. I know nothing about window managers etc and some users on that VPS need to use "Gedit".
When as root I try the following line on the VPS:
myvps:~#
I get:
Code:
cannot open display:
Run 'gedit --help' to see a full list of available command line options.
I get the same result as a normal user:
user0001@myvps:~$
Code:
gedit progr.htm
cannot open display:
Run 'gedit --help' to see a full list of available command line options.
The solution seems to be: "xhost +",
:myvps~#
this gives:
Code:
-bash: xhost: command not found
I then type: myvps:~#
Code:
find / -name xhost
myvps:~#
It looks like "xhost" is not installed
So I type the following line:
myvps:~#
Code:
apt-get install xhost
which gives the following result:
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package xhost is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
x11-xserver-utils
E: Package xhost has no installation candidate
I understand I should use another window manager but, if so, I do not know what I should do to have "gedit" working.
Can someone help?
Thank you for your assistance.