LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-08-2004, 05:42 PM   #1
Alinuxnoob
Member
 
Registered: Feb 2002
Location: Van city
Distribution: Ubuntu
Posts: 204

Rep: Reputation: 30
Tight VNC Slackware can only login as root


OK my PC is on @ home login as root, but I was wondering why I can't login as a user.....
I ssh into my linux box as the user
and then I start vncserver :2
and then I enter the ip address and said "failed to connect to server"

Is that because my PC is login in as user @ home or it doesn't make a difference?

and each time I start vncserver I get this
"Couldn't start Xvnc; trying default font path.
Please set correct fontPath in the vncserver script."

"New 'X' desktop is OnlySecure:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/OnlySecure:1.log"

and this is my my script....
#!/bin/sh

unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startkde &



Last edited by Alinuxnoob; 09-08-2004 at 05:45 PM.
 
Old 09-10-2004, 03:25 PM   #2
Alinuxnoob
Member
 
Registered: Feb 2002
Location: Van city
Distribution: Ubuntu
Posts: 204

Original Poster
Rep: Reputation: 30
Bump BUMP

Bump
 
Old 09-10-2004, 05:57 PM   #3
Alinuxnoob
Member
 
Registered: Feb 2002
Location: Van city
Distribution: Ubuntu
Posts: 204

Original Poster
Rep: Reputation: 30
Ok I got more info now

I login as a user and then I startup vncserver using this user and then I get this error

couldn't find "xauth" on your PATH


need help don't know what to do
 
Old 09-10-2004, 06:07 PM   #4
Alinuxnoob
Member
 
Registered: Feb 2002
Location: Van city
Distribution: Ubuntu
Posts: 204

Original Poster
Rep: Reputation: 30
Fixed it just had to run xauth
 
Old 01-09-2005, 01:18 AM   #5
loadedmind
Member
 
Registered: Sep 2003
Location: South
Distribution: Red Hat/CentOS
Posts: 218
Blog Entries: 1

Rep: Reputation: 16
RE: xauth

Hi. I have the exact same problem, but when you stated that you fixed the problem with xauth, you didn't state what arguments you used with it to get it to work. I'd appreciate it greatly if you would please give the steps/switches you used with xauth to get it to work.



Thanks,
loadedmind
 
Old 01-09-2005, 02:24 PM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
add these lines in the script :

Code:
if ! which xauth > /dev/null 2>&1; then
    export PATH="$PATH:/usr/X11R6/bin"
fi

Last edited by Cedrik; 01-09-2005 at 02:26 PM.
 
Old 01-09-2005, 06:01 PM   #7
loadedmind
Member
 
Registered: Sep 2003
Location: South
Distribution: Red Hat/CentOS
Posts: 218
Blog Entries: 1

Rep: Reputation: 16
RE: Script

Which script to I add those lines to and anywhere in that script will do? I tried adding it to the end of the vncserver script, but it had no effect on the error message. Thanks ahead of time.








~LoadedMind
 
Old 04-05-2005, 03:37 PM   #8
loadedmind
Member
 
Registered: Sep 2003
Location: South
Distribution: Red Hat/CentOS
Posts: 218
Blog Entries: 1

Rep: Reputation: 16
RE

?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Tight VNC issue excidy Linux - General 2 04-02-2005 09:40 PM
Tight VNC password? Maver Linux - Software 2 08-29-2004 05:11 PM
Same session in Tight VNC? fiacobelli Linux - Networking 1 08-07-2004 10:03 AM
Using Tight VNC hornet74 Linux - Networking 4 11-14-2003 10:00 AM
tight vnc question infected Linux - Software 1 07-18-2003 10:39 AM


All times are GMT -5. The time now is 05:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration