- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: can only run X as user system
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
тАО03-02-2009 07:23 AM
тАО03-02-2009 07:23 AM
can only run X as user system
I wonder if anyone have any ideas on this one.
I login on a 8.3 AXP/OpenVMS machine running TCPIP Services 5.6 as user system via Reflection and SSH with Xtunneling enabled.
I set up the display with
$ SET DISPLAY/CREATE/NODE=myclient-/TRANSPORT=TCPIP and $ RUN SYS$SYSTEM:DECW$STARTLOGIN.EXE, works fine, I get the cde login and I'm able to login.
I have tried the same with different users, but the only user that works is SYSTEM. Cant figure out why, so I hope that anyone can give me a clue, not even sure how one should trace this. Regards /Arne Korpas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2009 07:33 AM
тАО03-02-2009 07:33 AM
Re: can only run X as user system
this could be a privilege issue.
You could enable Opcom with
$ Reply /Enable
and then look at the messages during start of X.
Give all privilegies to another account than system and retry to start X.
If that works, how does the logical LNM$TEMPORARY_MAILBOX looks ?
Regards
Geni
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2009 08:08 AM
тАО03-02-2009 08:08 AM
Re: can only run X as user system
For remote X sessions there is XDM, but unfortunately the present VMS version delivered with TCPIP services does no secure connections.
Since You are logging in through SSH with X11 forwarding, why do You create the X display using tcpip transport ?
This defeats the SSH tunnel (and consequently requires X11 access security set to off on the X11 server side).
(do a SHOW DISPLAY after SSH login, You will
see a display already).
Why not simply login using SSH with Your userid, then start the session by
@cde$path:xsession.com
?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2009 02:59 PM
тАО03-02-2009 02:59 PM
Re: can only run X as user system
Engineering never intended for the Decw$startlogin program to be run interactively by users to get logged into a session.
You can certainly have all sorts of problems when running Decw$startlogin.exe interactively, and you are running into one of the problems now.
The best way to do this so that all users can get a session is to create a DCL script and place it in SYS$MANAGER so that user's can execute it interactively, or call it from a application launcher like in eXcursion, or ReflectionX:
Example:
$!***************************************
$!START_CDE.COM *
$!***************************************
$ define sys$output sys$login:startcde.log
$ set noverify
$ SPAWN/NOWAIT MCR CDE$SYSTEM_DEFAULTS:[BIN]DTHELLO
$ @CDE$SYSTEM_DEFAULTS:[BIN]XSESSION.COM
$ LOGOUT
Once you copy this file into SYS$MANAGER, you will want to make the DCL script (W:RE).
If you use this script with eXcursion and PCX$SERVER.COM, you do not have to worry about setting the DISPLAY environment variable.
Same thing with ReflectionsX, as you can use PCX$SERVER.COM and this command-line in ReflectionX's application launcher:
"@sys$system:pcx$server.com 4,%#%,0,tcpip,%IP% @sys$manager:start_cde.com"
In the start_cde.com file, DTHello, holds open a channel so that properties can be set on the root window that CDE will require, and until the DTWM and Session manager get started. This will permit you to save your settings when you logout and ensures that your settings will be read in when you login.
When the session is ended, the logout is completed, and the session ends cleanly.
I hope this helps you.
Cheers,
Rick Retterer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-02-2009 11:35 PM
тАО03-02-2009 11:35 PM
Re: can only run X as user system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 12:03 AM
тАО03-03-2009 12:03 AM
Re: can only run X as user system
Best regards, /Arne Korpas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 12:20 AM
тАО03-03-2009 12:20 AM
Re: can only run X as user system
do You see a file TCPIP$SSH_RCMD.LOG for the reflection login ?
If not, then be aware that the X session is not (SSH-)encrypted !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 12:30 AM
тАО03-03-2009 12:30 AM
Re: can only run X as user system
NO I cant find the file, should it show up in the users default dir ?
Regards /Arne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 01:19 AM
тАО03-03-2009 01:19 AM
Re: can only run X as user system
Could of course be that refection is doing something I don't know to suppress logging, but I doubt it.
So I presume the session is not SSH tunneled.
I don't have reflection to find a way to force SSH or some other encryption scheme.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-03-2009 01:23 AM
тАО03-03-2009 01:23 AM
Re: can only run X as user system
Cheers, /Arne