- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gvim not running in X
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 06:02 PM
тАО11-10-2003 06:02 PM
gvim not running in X
I was wondering if anyone could offer advice on running gvim under HP-UX. I have tried to install it, along with the associated libraries, but have not had luck getting gvim to work (ie the graphical component). Regular vim works within the console, but I can't get the graphical version to start in my X windows session.
I have installed the binary and libraries from the HP-UX porting and archiving centre. I have also tried compiling myself, which ended up having the same effect.
One strange thing: when I run a "gvim -V2", the very last lines show this:
sourcing "$HOME/.gvimrc"
finished sourcing $HOME/.gvimrc
Opening the X display took 73 msec
Why would it say it opened the X display in 73 msec when it clearly didn't do anything at all, and merely loads the text version of vim.
Also, after it says this, it replaces the last line with:
Testing the X display failed
and the proceeds to run the text version.
Any ideas on how to get this working would be appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 11:49 PM
тАО11-10-2003 11:49 PM
Re: gvim not running in X
atk-1.2.4-sd-11.00.depot.gz
gettext-0.12-sd-11.00.depot.gz
glib-1.2.10-sd-11.00.depot.gz
glib2-2.2.2-sd-11.00.depot.gz
gtk+-1.2.10-sd-11.00.depot.gz
gtk+2-2.2.2-sd-11.00.depot.gz
guile-1.6.0-sd-11.00.depot.gz
libiconv-1.9-sd-11.00.depot.gz
ncurses-5.3-sd-11.00.depot.gz
pango-1.2.3-sd-11.00.depot.gz
vim-6.2-sd-11.00.depot.gz
Hope this helps.
--Jim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-10-2003 11:55 PM
тАО11-10-2003 11:55 PM
Re: gvim not running in X
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 12:01 AM
тАО11-11-2003 12:01 AM
Re: gvim not running in X
1) your DISPLAY environment variable is wrong or your X server doesn't allow connections. To test this, try running another X-windows program, like xterm or xclock to make sure this is working correctly.
2) your X-windows environment doesn't support some features needed by gvim. I have no experience with gvim, but this happens with some X windows environment. Try oclock instead of xclock to test if shaped-windows work, for instance.
3) some shared library is missing, though this should be reported when starting, before it starts the text variant.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-11-2003 11:17 AM
тАО11-11-2003 11:17 AM
Re: gvim not running in X
I don't think it's an X server problem on my end, because I can run gvim from other linux boxes and display it on my screen (I compiled the executables on these linux boxes). Yes, My display is set correctly, as I can run any other X command, such as xterm, and it will come up on my display. oclock also displays correctly. (my display system is a linux box running mandrake 9.1)
I also had to install a heap of libraries. here is a list of the libraries etc I installed:
atk
libiconv
guile
ncurses
gettext
glib2
gtk+2
pango
I also have installed:
glib
gtk+
xpm
But as I say, it still doesn't work properly.
And as I said before, I have compiled it under linux and it worked fine, but if I compile it under HP-UX, only the text version workes (normal vim), and if I install the binary from the HP-UX Software porting and archiving centre, then it still doesn't work.
Any other ideas people?
Thanks! :-)
- Andrew Gray
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-13-2003 10:47 AM
тАО11-13-2003 10:47 AM
Re: gvim not running in X
I've managed to get gvim working on all my HP-UX boxes. However, I don't know why it is working. You see, gvim refuses to work (as described previously) if I install the libraries, and then after they are installed, install gvim. gvim also refuses to work if I re-install the libraries on top of the ones already there, and then (re-)install gvim. But if I remove the libraries and then remove gvim, and THEN do the install of the libraries and gvim together, it works. But then if I re-install gvim, it stops working once more. So the only way to get it working is to uninstall the libraries, and gvim, then re-install from scratch those libraries and gvim, and then it works! How strange is that?! As it has been said, it's probably a hp-ux specific problem, or with the libraries, but it is strange.
Also, I'm not sure, but I am led to believe that gtk2 is not the right library to use with gvim. just plain old gtk is the right one to use.
Anyway, thank you for your help, folks. And gvim really is a great little tool! Makes editing script sooooo much easier! I highly regard this product. Try it!
- Andrew Gray