LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-25-2012, 09:49 PM   #1
originalhandy
LQ Newbie
 
Registered: Jan 2006
Posts: 8

Rep: Reputation: 0
VNC quits at login - suse 11.4


Its a fresh install of Suse 11.4
I connect to domain.com:5901 and it takes me to the logon screen. As soon as I put in the usrname and pass the window closes.
I tested with a bad username and pass and it just said the bad username etc, I wanted to rule out the actual logon action.

Any ideas ? I am totally lost here :|
 
Old 05-30-2012, 10:03 PM   #2
routers
Member
 
Registered: Aug 2005
Location: Malaysia - KULMY / CNXTH
Distribution: Slackware, Fedora, FreeBSD, Sun O/S 5.10, CentOS
Posts: 787
Blog Entries: 6

Rep: Reputation: 75
my suggestion.

1) kill all the vncserver process as root
2) login ssh as user or su - user then proceed as below example

Code:
[user@idcserver ~]$ vncserver -nohttpd
then make connection with the port given

if NOT work then please paste here the contain of $user .vnc/xstartup

if work then you can start use ssh vnc tunneling for more security in mind

cheers
 
Old 05-31-2012, 01:25 AM   #3
Refractor
Member
 
Registered: Oct 2008
Location: Rousse, Bulgaria
Distribution: Debian
Posts: 91

Rep: Reputation: 25
Perhaps the problem is vncserver shows the login program (kdm/gdm/xdm/whatever) and when you type user and password, X stops and starts again a session for the supplied user.
You could try x11vnc program, something like
Code:
x11vnc -auth guess -display :0 -rfbport <custom port number here if you need one> -rfbversion 3.6 -forever -passwd <your secret password here>
-auth guess is to look at standard places for the Xauth file, some login managers change the name of the file so it may not work 100%
-display :0 is self-explanatory
-rfbport allows custom port for the vnc connection
-rfbversion 3.6 is to enable filetransfer if you connect with ultravnc client
-forever is preventing VNC server shutdown after client disconnect, the default is shut down x11vnc after client disconnect
-passwd is, well, password
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Boot quits before start of X. Console login as root is okay. JZL240I-U Linux - Laptop and Netbook 4 05-02-2012 06:50 AM
SSH quits immediately after login BrandonChristel Linux - Software 6 02-28-2008 06:38 PM
VNC connection to SUSE Linux 10 from a Windows XP VNC Viewer determin2excel Linux - Software 13 10-03-2007 09:38 AM
mouse quits at login screen lord_darkhelmet Linux - Hardware 1 10-14-2006 08:09 AM
x quits but i cant see the login prompt from boot murrowman789 Slackware 5 06-17-2006 11:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration